mirror of
https://github.com/jo/couchdb-best-practices.git
synced 2026-05-15 14:16:00 -06:00
[GH-ISSUE #76] CouchDB 3 and the couch-per-use "plague" #469
Labels
No labels
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/couchdb-best-practices#469
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fredguth on GitHub (Apr 2, 2022).
Original GitHub issue: https://github.com/jo/couchdb-best-practices/issues/76
I have 2 questions:
@jo commented on GitHub (Apr 3, 2022):
The best practices described here are also valid for CouchDB 3. However, I haven't worked with Linked Documents for a while, so this section may be outdated.
The DB-Per-User question is a bit complicated. It depends. The biggest bottleneg here is replication: the CouchDB replicator has its weaknesses when it comes to continuous intra-cluster replication. Here, the individual changes feeds are polled round-robin, which creates a high load. If validate doc update functions are also used, this load increases. Therefore, it may make sense to implement application-specific replication logic. That is, if the application knows when something changes, it can instruct single-shot replications, thus reducing the load.
I'm looking forward to the upcoming new features of CouchDB, especially the per-document access patterns, which would be a big step here.
@fredguth commented on GitHub (Apr 4, 2022):
Thanks for the explanation!