RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.22k stars 10.42k forks source link

Is the concurrency under this architecture subject to molecular rather than meteor? #28269

Open dzmazhuo opened 1 year ago

dzmazhuo commented 1 year ago

microservice

The picture above shows the architecture of Microservices in RocketChat. I know what the services(DDP streamer, account, Authorization, Presence, Stream hub) means that they the microservices of molecular. My question is :

seconp commented 1 year ago

No, I assume that ws connection is under molecularjs while http connection is under meteor. Hign concurrency of http is easy to resolve, but high concurrency of ws is difficult. I suggest u build your own middleware with C languge. Then with load balancing, you can achieve hign concurrency.