3 ms·
I always assumed Python could scale because of Reddit: https://github.com/reddit-archive/reddit https://github.com/reddit-archive/reddit Not quite sure if thei
by hendry 6y ago
I always assumed Python could scale because of Reddit: https://github.com/reddit-archive/reddit https://github.com/reddit-archive/reddit
Not quite sure if their current site's code is opensource... anyone know?
- andsko 6y agoAnd because of Instagram: https://instagram-engineering.com/python-at-scale-strict-modules-c0bb9245c834 https://instagram-engineering.com/python-at-scale-strict-mod...
- segmondy 6y agoAny language can scale. Pretty much most languages there can handle scale. It's usually bad algorithms or external services be it API & DB used poorly that impacts performance.
- pas 6y agoFacebook uses/used PHP, that scales too. If you make it stateless and use it only as a glue. Dropbox uses Python too. Eve Online used Stackless Python. Of course Reddit/FB/EVE/Dropbox shards everything, there's no global state to manage via Python. The state lives in the data store layer. And for that there are these monstrous/elegant things like Vitess, that YouTube used (uses?): https://vitess.io/docs/overview/architecture/ https://vitess.io/docs/overview/architecture/ which is basically a sharding/routing layer on top of independent MySQL instances.