5 ms·
That's the genius behind parse (from the perspective of their creators): they don't have to run your code, so they don't even have to think about all the issues
by amelius 11y ago
That's the genius behind parse (from the perspective of their creators): they don't have to run your code, so they don't even have to think about all the issues that come with that (security, CPU usage, etcetera). Firebase used the same trick.
- csmajorfive 11y agoThat's just not true. Most reasonably mature apps were running code on our servers via Cloud Code. And it's hardly genius or a trick to have thick client SDKs.
- campers 11y agoThey do have think about some of those issues more, especially security if the client contains all the of application logic, hence the row level access control. And when you charge per API call CPU usage matters, a database update is significantly more expensive than a cached get. It's genius to get started quickly, but quickly becomes an architectural nightmare. If you need to change a query and the logic is in the mobile app then its going to be days before Apple approves a new build, and even longer before the user updates to the latest version. If your logic is on the server side then you roll out the new code and you're done.