Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is Blaze vs React really the issue?

Try running a Meteor app with >500 concurrent connections.



Let's say hypothetically I have 600 concurrent users, what steps can a Meteor dev take to increase performance?


Most meteor apps are stateless on the server so you can safely scale by adding more servers (and more server to Mongo if that's the bottleneck). This can be easily done with Cluster package (https://github.com/meteorhacks/cluster). It's so easy you don't even need to configure anything.


I'll think it's easier (maybe more expensive) to just use Galaxy, and scale. Then host your Mongo database on Compose.io that also scales.


As the sibling comment said, you do the same way you scale anything else: add more servers that replicate the same data. As it becomes to large, shard your publications depending on type. Meteor's livequery works better serving a lot of similar subscriptions, so at some point you can have multiple server types each taking care of one scope.


Can you elaborate?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: