We are building a web platform where user can see live forex prices for many ccy pair on the UI. Each user can see about 50 diff ccy pair prices which changes every seconds. We are hoping to get large number of users (around 1000) on this web UI.
Backend is run on java, and UI is developed using React, typescript, rxjs. To transfer data between backend and UI we are using protobuf sent to websockets. The current limitation is that with these many users, and every user seeing 50+ price feeds, there would be lot of load on backend (currently tomcat), so we are looking for a messaging framework which would be fast/realtime to avoid duplicacy of data.
What do you expert suggest we should use the messaging platform between backend and UI which would be suitable for this implementation.
For now we are using protobuf and every user is getting its own prices so alreay there is lot of messages sent to UI. This model is not suitable for large number of users.
user25287413 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.