1) OpenSooq transitioned from a monolithic architecture to microservices to address scaling challenges from exponential growth. This improved scalability, allowed workload partitioning, and enabled automated operations.
2) They experienced performance issues with MySQL, Solr, and Redis as single points of failure in their first two chat architectures. Their third generation architecture using MongoDB addressed these issues.
3) OpenSooq advocates for stateless microservice design to allow elastic scaling, consistency across services, and reduced memory usage. Through right-sizing and elasticity, they achieved over 60% cost reduction while improving performance.
2. OpenSooq Technology
Ramzi Alqrainy
● Chief Technology Officer – OpenSooq
● MSc. In Artificial intelligence and
Information Retrieval, University of Jordan
● Contributor in Apache Solr
● Contributor in Slack
● Technical Reviewer for “Scaling Apache
Solr” , “Scaling Big Data with Hadoop
and Solr” and “Apache Solr Search
Patterns” (Books)
2
3. Consumer Platforms: Buying & Selling
3
OpenSooq is available on all platforms. We ensure compatibility on all browsers, device types
and network speeds
19. OpenSooq Technology
OpenSooq Chat Architecture – 1st Generation
19
● MySQL Performance
● MySQL doesn’t scale well with many application servers
● Difficulties to build a real-time application.
20. OpenSooq Technology
OpenSooq Chat Architecture – 2nd Generation
● Apache Solr Performance
● Single point of failure for Redis
● Scaling issue
20
21. OpenSooq Technology
OpenSooq Chat Architecture – 3rd Generation
● Got us this far
● Never lost data from MongoDB
● Redis Performance
21
25. OpenSooq Technology
Why Stateless Services Matters?
○ New instances of an application added/removed on
demand.
○ It allows consistency across various applications.
○ Statelessness makes an application more comfortable to
work with and maintainable.
○ Reduces memory usage at the server-side.
25
27. OpenSooq Technology
OpenSooq with Right Sizing and Elasticity to Lower Cost
60%+ Cost Reduction while improving the
performance and increasing KPIs
27