Rxdb: A reactive database where you can subscribe to the result of a query
1–10 of 126 posts
Re: Rxdb: A reactive database where you can subscribe to the result of a query
#2Are there triggers that run on every update on the dataset?
Re: Rxdb: A reactive database where you can subscribe to the result of a query
#3Instead we have a bajillion layers of CRUD all in slightly different protocols just to do the same read or write to the database.
Re: Rxdb: A reactive database where you can subscribe to the result of a query
#4Having client state just be a replica of server state solves so many problems I don't understand why the concept never caught on. Pouchdb/couchdb are still the only ones doing it afaik. Instead we have a bajillion layers of CRUD all in slightly different protocols just to do the same read or write to the database.
I mean, that's why it didn't catch on right :-) It's hard :-)
Re: Rxdb: A reactive database where you can subscribe to the result of a query
#5Having client state just be a replica of server state solves so many problems I don't understand why the concept never caught on. Pouchdb/couchdb are still the only ones doing it afaik. Instead we have a bajillion layers of CRUD all in slightly different protocols just to do the same read or write to the database.
Re: Rxdb: A reactive database where you can subscribe to the result of a query
#6Having client state just be a replica of server state solves so many problems I don't understand why the concept never caught on. Pouchdb/couchdb are still the only ones doing it afaik. Instead we have a bajillion layers of CRUD all in slightly different protocols just to do the same read or write to the database.
How would that work, with, say Twitter? Copy all tweets ever to each browser? I mean, that's why it didn't catch on right :-) It's hard :-)
The "shard" could just be that users own feed in this case. Then you get offline for free where user adds a tweet and it appears immediately, replicating back to server when he goes back online. The server replica side will need to be a lot more complicated to deal with broadcasting but I don't see why it won't work.
Re: Rxdb: A reactive database where you can subscribe to the result of a query
#7Re: Rxdb: A reactive database where you can subscribe to the result of a query
#8I'm not sure why you would use this over something more battle-tested like RethinkDB which was also built with this use-case in mind.
Is there still maintenance?
Re: Rxdb: A reactive database where you can subscribe to the result of a query
#9I'm not sure why you would use this over something more battle-tested like RethinkDB which was also built with this use-case in mind.
Re: Rxdb: A reactive database where you can subscribe to the result of a query
#10Having client state just be a replica of server state solves so many problems I don't understand why the concept never caught on. Pouchdb/couchdb are still the only ones doing it afaik. Instead we have a bajillion layers of CRUD all in slightly different protocols just to do the same read or write to the database.
This breaks down quickly once you have data that could become private or mutate rather than append.