5 ms·
>In essence, I am building a DIY database such that people connect directly to the database and get that sweet giant JSON object along with a stream of updates
by jayd16 6y ago
>In essence, I am building a DIY database such that people connect directly to the database and get that sweet giant JSON object along with a stream of updates
Isn't that Firebase DB?
- mathgladiator 6y agoIt could be, but I own it and the roadmap. The key thing that I can do is await on players decision, so I can block the entire process for multiple people to do things.
- hn_throwaway_99 6y agoYeah, that was my reaction to a lot of the discussion on this article. Firebase Realtime DB has been one of the most amazing pieces of software I've used. I don't have to worry about the connection details at all, I just have this data store that feels like a local DB except it's "magically" synced with the server, and any other users of the DB "magically" get updates when I change it.
- thu2111 6y agoHow do you implement ACLs and other privacy-related transformations in that model?
- hn_throwaway_99 6y agoYou write Firebase Security Rules [1] that restrict access to paths within your database, it's quite awesome. Those rules can be used to implement ACLs and object ownership, and also role-based access according to claims that exist on the JWT of the authenticated user. [1] https://firebase.google.com/docs/rules https://firebase.google.com/docs/rules
- JamesSwift 6y agoAnd Realm, and couch/pouch