3 ms·
Your talking about the multitudes of architectures that stem from the core model. I'm talking about the core model. Which is crud. The core model of a typical
by corethree 3y ago
Your talking about the multitudes of architectures that stem from the core model.
I'm talking about the core model. Which is crud.
The core model of a typical website is mainly updates to central state with little compute. Think nodejs server paired with a typical SQL database. The very reason nodejs exists is based on this core assumption of web: low compute and non blocking high io workflows.
You're talking about heavy compute... then that deviates from the core model. With heavy compute it turns more into a queue with workers. That is not the core architecture of the web. It's more of popular and important system that exists in conjunction with the core.
That is what your statistical function implies. If your stats function is simple and trivial, then you can indeed possibly achieve orders of magnitude of speed up if you offload that trivial calculation to the database.