https://nickcraver.com/blog/2016/02/17/stack-overflow-the-ar...
Lots of caching (redis, CloudFlare) and trying not to use the database unless absolutely necessary, I would expect.
How do you resist those crazy unrelated questions in the sidebar? Currently shown for me:
Did Shadowfax go to Valinor?
Is it legal for company to use my work email to pretend I still work there?
Why can't we play rap on piano?
Can a virus destroy the BIOS of a modern computer?I bet gwaihir carried shadowfax to valinor.
Lots of caching, lots of RAM, SSD storage, and a low-level ORM for SQL.
but consider their stack there are better "starting" alternatives (they also used them before dapper), like Linq2Sql, EF Core, etc...
Also compared to other languages Linq and EF Core are way better than most alternatives (besides that some things are just not working, like lateral joins)
How much do you think stack overflow is reading vs writing? How often do you even click a link from a stack overflow page once there?
They probably also save a lot on ops team - running a single sql server with a failover is well-understood, error-resistant and covered in vendor's guides/best practices.
https://www.ageofascent.com/2019/02/04/asp-net-core-saturati...
hipness has increased
By the way, 200M is less than 2500 requests/second which is not much at all. In terms of actual throughput, they are not that big.
They are probably not spready uniformly throughout the day...
This was the most enlightening piece of the article for me. Their alexa rank today is 48 (globally, 38 in U.S.), so whatever your site is, you are probably not dealing with as heavy a load as them. What techniques do you have to employ to serve this many requests from a single database server?