| ▲ | 63stack 7 hours ago | ||||||||||||||||
I don't see how anyone would design a system that executes 200 queries per page. I understand having a system that is ín use for many many years and accumulates a lot of legacy code eventually ends up there, but designing? Never. That's not design, that's doing a bad job at design. | |||||||||||||||||
| ▲ | ctxc 7 hours ago | parent | next [-] | ||||||||||||||||
Sounds a bit like me, reading the comments before the article! | |||||||||||||||||
| ▲ | 9rx 5 hours ago | parent | prev | next [-] | ||||||||||||||||
> I don't see how anyone would design a system that executes 200 queries per page. They call it the n+1 problem. 200 queries is the theoretically correct approach, but due to high network latency of networked DMBSes you have to hack around it. But if the overhead is low, like when using SQLite, then you would not introduce hacks in the first place. The parent is saying that if you correctly design your application, but then move to system that requires hacks to deal with its real-world shortcomings, that you won't be prepared. Although I think that's a major overstatement. If you have correctly designed the rest of your application too, introducing the necessary hacks into a couple of isolated places is really not a big deal at all. | |||||||||||||||||
| |||||||||||||||||
| ▲ | anamexis 7 hours ago | parent | prev [-] | ||||||||||||||||
Did you read the OP? | |||||||||||||||||