-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add API for continuous replications #36
Comments
assuming low numbers of users this should be fine. On 03 Feb 2014, at 21:36 , Gregor Martynus [email protected] wrote:
|
I'm assuming |
yes, it's the actual function, would make things so much easier for devs |
and as @janl says for a low number of users this should be workable using the replicator db in couch. |
for the case I need this for, there won't be more than 20 users per installation I guess |
yeah, this is totally fine then. I can build this |
Related, we should have a replication API that encapsulates a few hoodie specific things like naming conventions, e.g. https://github.com/hoodiehq/hoodie-plugin-global-share/blob/master/worker.js#L376-L393 so plugins get a simple API for setting these things up. |
@janl not sure I follow that last comment, how do these things affect replication? |
@caolan sorry for being dense, doing a brain dump of various things here :) writing hoodie-plugin-global-shares currently requires intimate knowledge of hoodie conventions (as shown here https://github.com/hoodiehq/hoodie-plugin-global-share/blob/master/worker.js#L376-L393). It would be nice if it would be possible to write this plugins and plugins like it without having to understand the intricate Hoodie-specific naming of databases, documents and properties. |
(maybe I should open a new issue for this, it just felt related) |
@janl yep, we should tidy that up. Open to API suggestions here. |
I need to create a plugin that syncs all data across all user accounts being created. My idea is to use continuous replications for that. I need filtered replications, as only data shall be synchronised, not tasks.
It's somewhat urgent, so if there is any idea on how to get this working quickly (don't mind dirty), I'm all in for it.
So here's some dream API
The text was updated successfully, but these errors were encountered: