Most of the examples we saw are Client server interaction in sync or async way so that each request will be processed and result displayed . UI or stored to DB. When client requests are high volume and need more processing time we need to design few systems where requests can be queued and processed. Which can handle scalability interms of software scalability not hardware scalability.
- Here is my first demo component diagram which can introduce queue system and can buffer requests bfeore they can be further processed. Not very accurate interms of component representation but ideas is add requests to service bus and then save to Mongo db and also if required inform clients for real time notifications.
- requests are quees and processed based on priority.
- No request will be lost even if the hardware wont support the huge number of incoming requests.
- So data integrity maintained.


No comments:
Post a Comment