3 ms·
It's really weird to me trying to do a lot of data handling on the front-end side rather than using server-side.
by peterchon 12y ago
It's really weird to me trying to do a lot of data handling on the front-end side rather than using server-side.
- Bahamut 12y agoI spoke to one acquaintance about this after he told me that for his team, they are doing the calculations on the frontend mostly - his explanation was that it turned out to be too unperformant to cache precomputed values in a remote database (and even in IndexedDB) and pull them out (his company does a lot of work involving heavy data analytics & visualizations).
- michaelchisari 12y agoEspecially considering how fast even the slowest computers of today are, the client-server architecture gives us the option to immediately decentralize calculations across all clients as needed. It's an easy optimization that's hard to give up, but does present it's own challenges.
- mambodog 12y agoYou should usually be doing 'data handling' wherever results in the best user experience. Persistence and calculations which are essential to the integrity of your application's data obviously need to be done (or at least validated) on the server, but if the application has any kind of complex workflow then constantly going back to the server to generate new application states is likely to severely bog down that workflow.