4 ms·
(deepstream employee here) despite its flaws, Firebase has some great ideas, e.g. its permission language that strongly inspired us when building https://deepst
by wolframhempel 9y ago
(deepstream employee here) despite its flaws, Firebase has some great ideas, e.g. its permission language that strongly inspired us when building https://deepstreamhub.com/ https://deepstreamhub.com/. But there are some aspects, many mentioned by the OP that send us down a different route:
- Serverless is a great goal, but only works for low complexity apps. We've designed deepstream explicitly not to take the server away, but as a layer that sits in between backend and frontend and allows servers and clients to connect and exchange data.
- The same is true for auth. DeepstreamHub comes with similar built in auth and usermanagement functions as Firebase, but more importantly comes with a Webhook auth strategy that forwards any login data and associated connection info (IP, Cookies etc) to a HTTPS endpoint of the users choosing. Depending on the returned status code the connection is either granted or denied. In addition the auth server can also return client specific metadata that's either forwarded to the client upon login or used within permission rules to determine access rights
- Querying. This has so far not been a strongpoint of deepstream either, but we'll soon be releasing a blazingly fast realtime graphql implementation to address this. More details here: https://deepstreamhub.com/blog/deepstream-3.0-release/ https://deepstreamhub.com/blog/deepstream-3.0-release/
- asadlionpk 9y agoAs a firebase user, what would be the easiest path to map my multi-nested firebase DB (like 'chatrooms/room1/msgs/msg1`) structure to deepstream? Since I think DS doesn't support more than one level of nested data. Is there an easy way?
- wolframhempel 9y agodeepstream has a concepts of records, similar to individual documents within an object oriented database. Each record can contain any arbitrarily nested datastructure
- asadlionpk 9y agoYes but can I subscribe to a nested datastructure (say room1/messages) like in firebase. Not the whole record (room1)? Also, if I want to maintain a list of records (say list of chatrooms). I see that I will have to use the "Lists". But I think I read somewhere that the size of that list cannot exceed some limit. Is that true? Thanks!
- stemuk 9y agoAs far as scalability goes the open-source solution doesn't seem too promising. Beeing capped at 10.000 connections seems like a very low limit to me, especially considering that the blog post complained about 100.000 connections not beeing enough.
- dsun176 9y agoI never heard of deepstream. But now I hate if for spamming the product camouflaged as opinion. Both on the medium article and here.
- DigitalSea 9y agoI tried to move away from Firebase to Deepstream a little while ago and sadly, Deepstream lacks the polish that Firebase has. It seems that Firebase is definitely the best solution out there if you truly want to avoid configuring your own servers, scaling and worrying about infrastructure related aspects. I think as long as developers inform themselves of the limitations of Firebase, it's a great product.