Microservices architecture for E-commerce
The client is a large online store, with about 25000 unique visitors per day and more visitors on promotional days. For the efficient customer service, it was necessary to have a live chat for the website: the company tried various popular online consultants, but all of them could not keep up with the high load. Softvoya team suggested the client to use a ready-made chat module based on Upservice platform, which works perfectly with high traffic and has a great performance due to the microservice architecture on which it is designed.
Team: Product Owner 1, Business Analyst 1, Frontend Developer 3, Backend Developer 2, Designer 1, Scrum Master 1, QA Engineer 1.
Language: Python, JS
Frameworks: Django, FastApi, Sanic, ReactJS
Database: PostgreSQL, Redis
Message broker: RabbitMQ
Duration: 1 month
The client (a large online store from a retail chain) needed a convenient chat for communicating with site visitors.
- The chat should cope with high load (25000+ users per day), work quickly and without interruptions.
- The design of the chat should match the company’s corporate style.
Our team streamlined the development process by selecting the most relevant technologies and choosing the best development practices:
- Widget is developed on microservice architecture: monolithic architecture does not allow scaling parts of the system, so Softvoya team decided to break monolith (application built as a whole) into microservices (small components).
- Development on microservices architecture allowed a separate module of the complex system (chat) to scale and thus to cope with large loads – to better support a large number of sites with high user traffic daily.
- The design of the chat is fully consistent with the corporate identity of the company.
How it works
The customer was already a user of the Upservice platform, so our team suggested to take advantage of using the Upservice widget and installing it on their website to communicate with users:
- Customer creates a channel in Upservice
- Specifies the site where he wants to attach the widget
- Selects the widget interface and adjusts it to the design of the website
- Installs the script through the admin panel
- Widget appears on the site
- Site users can write in a chat: ask questions, send comments and suggestions
Channel operators work in the Upservice system and receive messages online (and reply in the Upservice interface), while users receive a reply in the chat on the website.
Widget installation and configuration takes a few minutes, while the chat works quickly and without interruptions, coping with high loads.