6 ms·
This is awesome. I've been dabbling in a similar concept using CouchDB. Have you thought about using something like CouchDB to enable easy master-master replica
by pokstad 10y ago
This is awesome. I've been dabbling in a similar concept using CouchDB. Have you thought about using something like CouchDB to enable easy master-master replication of data between users? Also, is any part of this open source? Thanks!
- gliechtenstein 10y agoCan you elaborate on what you mean by master-master replication between users? As for open source it's not open source at the moment but it's one of the options I'm considering. I just wanted to get it in front of more people as quickly as possible so I can make better decisions based on reaction. If you're interested in how this will progress, please join the slack channel to stay in touch http://textethan.us8.list-manage.com/subscribe?u=54e23b3fe61843c19c384fc05&id=c6e08abd5c http://textethan.us8.list-manage.com/subscribe?u=54e23b3fe61... or you can also follow me www.twitter.com/gliechtenstein to hear about it.
- pokstad 10y agoSorry, I'm getting a bit too buzz wordy. What I meant was that CouchDB is unique in that it can be run as a peer-to-peer database. Master-Master is when a database can have two authoritative sets. Compare that to Master-Slave where one server is the authority and the other is just a redundant set. CouchDB is a JSON document store so it could easily store these JSON apps. CouchDB has an embedded Javascript runtime that enables you to execute arbitrary Javascript on the server to perform queries (map/reduce) or perform transforms on JSON. For example, I can write a SHOW function that can take one of your JSON apps and invert all the colors. There's a lot of interesting use cases for this type of set up. I would love to explain more to you if you're open to these kinds of ideas.
- gliechtenstein 10y agoWow i haven't used couchdb before but that sounds really cool. By the way Jason has a way to dynamically run actions on the frontend side (for example to change colors http://www.jasonbase.com/things/xLZ/edit http://www.jasonbase.com/things/xLZ/edit) but I think there may be something really interesting there if you can also integrate with backend, I'm interested :)
- pokstad 10y agoI subscribed to your slack channel. I'll hit you up in a bit!