we're facing a common use-case which seems "impossible" to solve with CouchBase server.... Basically in our web app we need to implement grids showing FRESH data (with all newest/updated documents present!)
EX: User creates a new "order" in a dedicated edit page, then goes to "all orders" page with the grid and expects to see the just-created record.
How can we achieve this?
- since the grids is bound to a VIEW its index could be out-dated.
- also using "stale=false" the new index could NOT contain the last data, since it could be still in the "disk-writes" queue
- we can't afford to use "PersistTo.XXX" to force disk write upon Store because of performance issues (the architecture is multi-tenant and we must handle hundreds of write operations / min. Actually our couchbase cluster performs ~2500 MemCached ops/sec BUT ~3 Disk-writes ops/sec !!! )
Any soulution? For this kind of needs is a NoSql DB a good way out? (We'd like to avoid mixed-solution RDBMS+NoSql... Maybe a compromise on grids freshness or a complicated "home-made dirty-documents-list" mechanism?)
Thankyou in advance....