Live data from Hacker News

Stack Overflow is a cacheless, 9-server on-prem monolith

twitter.com

11–20 of 120 posts

Re: Stack Overflow is a cacheless, 9-server on-prem monolith

#11

In the diagram [1], I can see why you might design it that way if starting from scratch but it works as is so why change it. Is there a particular reason to suggest a change to the architecture? [1] https://twitter.com/sahnlam/status/1629713954225405952/photo...

The word "should" might be confusing here. I didn't read it as the author recommending a change; rather the author first proposes "Given what I know about Stack Overflow, they must be doing something like this, right?" Then boom comes the surprising revelation.

Re: Stack Overflow is a cacheless, 9-server on-prem monolith

#12

In the diagram [1], I can see why you might design it that way if starting from scratch but it works as is so why change it. Is there a particular reason to suggest a change to the architecture? [1] https://twitter.com/sahnlam/status/1629713954225405952/photo...

Diagram 1 has the comment "What I think it should be".

It's easy to interpret that as "stackoverflow should change to be like this", but I think it was meant to be more like "If I had to guess how stackoverflow works, this is what I think it would look like".

It's amazing how much performance and scalability you can get out of computers, if you don't burden them with 100x overhead caused by shoveling data between microservices all the time :-)

Re: Stack Overflow is a cacheless, 9-server on-prem monolith

#14
Even though I love their simplicity as an example of how to be pragmatic and not over-engineer, do remember that they’ve tuned their code to the point that they built an ORM that is one of the fastest in the NET world. I used it and it was awesomely lightweight.

It’s as much an example of how far world class talent can go, as it is about doing more with less.

Re: Stack Overflow is a cacheless, 9-server on-prem monolith

#17
post #14

Even though I love their simplicity as an example of how to be pragmatic and not over-engineer, do remember that they’ve tuned their code to the point that they built an ORM that is one of the fastest in the NET world. I used it and it was awesomely lightweight. It’s as much an example of how far world class talent can go, as it is about doing more with less.

Dapper! I used it a while back and it was a single class that bundled query results straight into a list of objects by emitting low level CLR bytecode

Looks like its expanded a little since then

https://github.com/DapperLib/Dapper

Re: Stack Overflow is a cacheless, 9-server on-prem monolith

#18
post #4

It is ironic that many questions on Stack Overflow are about various cloud services, hyped-up technologies, and problems caused by over-engineering.

various cloud services This question does not appear to be about programming, Closed. hyped-up technologies subjective, Closed problems caused by over-engineering Opinion-based, Closed.

I know you were joking but I am so glad stuff like that is not on SO. It would look like Quora which is the scourge of the internet.
Post reply on HN