3 ms·
It’s not the same as the microservicesageddon (and yeah we were part of that too). What I’ve been noticing is backend becoming incredibly slow and kludgy and t
by dclowd9901 3y ago
It’s not the same as the microservicesageddon (and yeah we were part of that too).
What I’ve been noticing is backend becoming incredibly slow and kludgy and there’s a want for FE for work around it. Since you can’t bleed a rock, we’re creating these incredible and evil machinations across everything but the server->db layer in order to get the page to load as quickly and efficiently as possible.
Frankly, we should just dump the servers and let the FE query the db directly. We’d probably do it fucking better anyway.
- rezonant 3y agoFrontend only devs who know the first thing about efficient queries are exceedingly rare. Solutions like Firebase that do exactly what you are describing are extremely expensive and just as limited in terms of functionality, and properly designing security for them is quite difficult. For quite awhile I was on that train until I just couldn't justify the price and limitations, and my frontend stack to deal with those problems became excessively complex.
- dunk010 3y agoIf you could pre-sign the queries to prevent abuse (user edits to queries making them potentially slow) then IMHO it would be a nice idea in a load of cases. Datasette actually does this, though that’s aimed at a very specific subset of cases.