I'm very excited about this! Without reading too much into this, is it safe to say it's like a self-hosted firebase? "Due to the way deepstream structures its data (JSON blobs, identified by a primary key) it is recommendable to use an Object oriented or schema-less database (e.g. MongoDB or RethinkDB), rather than a relational database like MySQL." Is there a way to run complex queries against the data or it designe…
Similarly (without reading too much about it) can I use InfluxDb instead of RethinkDb? (Disclaimer: I'm a RethinkDB fanboy, but I'd like to know my options.)
Show HN: Deepstream.io – A scalable server for realtime webapps
11–20 of 42 posts
Re: Show HN: Deepstream.io – A scalable server for realtime webapps
#12Re: Show HN: Deepstream.io – A scalable server for realtime webapps
#13Very necessary. A few questions: - How big can records be? Are they stored as a single object in the persistence layer or using something like materialized paths. The firebase data model is one huge JSON structure, so this looks different. - How are conflicts handled? Last writer on server wins or last writer anywhere? Do you ensure eventual consistency of all the clients even when you apply optimistic writes on the…
- Records already have a version that's incremented with every change and also persisted as part of the record's meta-data. Currently deepstream uses a simple first-wins strategy and subsequent updates for the same version number get rejected. However configurable merge strategies are in planning as part of a "record-options" setting.
- Currently data has to be explicitly deleted from the cache.
Re: Show HN: Deepstream.io – A scalable server for realtime webapps
#14Very nice self-explaining landing page! Although the bulleted list webfont renders rather poorly in Win7 Chrome: http://i.imgur.com/j0a0rAQ.png
Re: Show HN: Deepstream.io – A scalable server for realtime webapps
#15(fyi: bad link at the bottom of this page http://deepstream.io/tutorials/simple-app-using-react.html it links to the ko demo, not the react's)
Re: Show HN: Deepstream.io – A scalable server for realtime webapps
#16Re: Show HN: Deepstream.io – A scalable server for realtime webapps
#17I'm very excited about this! Without reading too much into this, is it safe to say it's like a self-hosted firebase? "Due to the way deepstream structures its data (JSON blobs, identified by a primary key) it is recommendable to use an Object oriented or schema-less database (e.g. MongoDB or RethinkDB), rather than a relational database like MySQL." Is there a way to run complex queries against the data or it designe…
Basically, yes. see the subscribe() function.
Re: Show HN: Deepstream.io – A scalable server for realtime webapps
#18Is there a documentation of transport protocol? i.e http sse, websocket? ...peeking the source code a little bit - tcp-socket?
A (rudimentary) overview of the message structure can be found here: http://deepstream.io/tutorials/message-structure.html