Couchbase Questions: Design Pattern

Have a Question? Get it answered by our community

Duncan Kennedy's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

Use of GUIDs in keys

Hi,

My company is using a partner to deliver a couchbase based system we've designed - after speaking to a couchbase expert they've formed the view that the way we've designed it with guids as keys (and those keys being used as look up values within other documents) is not only sub-...

jarushepic's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

Best design for performance?

I'm trying to learn a bit about the various noSQL stuff out there and started with couchbase. We have a SQL database with a couple of fact tables with a few hundred million rows in each one... doing any sort of analysis of data in the whole table is... arduous. So I figured that could be a good...

tompark's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

Views with variable date logic

Hi,

I am working on a reverse auction system. Listings can be set to be visible for 3,5 or 7 days and I store this data, along with the created and end epoch in the object. What I want a view to do however is only bring back listings which have not ended, if i work this date calculation...

retto's picture
Asked 1 year 6 months ago
Latest activity 1 year 6 months ago

Which is the best practice: one big View or many small Views?

Hi everyone,

I trying to find best way with use View. What is the best - use one big View with compound key(two value) for filtering, or many small View with key with one value for filtering?

Regards, Alex

sullivan's picture
Asked 1 year 8 months ago
Latest activity 1 year 8 months ago

Pagination / Filter

Hello everyone
I'm fairly new in in-memory caching systems and I'm building a little e-commerce-page where I would love to use Couchbase - it seems very great to me.
I have one question and haven't been able to find a question so far:
Let's say, I persist 1000 "sullivan-Product...

sandeep.gaur's picture
Asked 1 year 8 months ago
Latest activity 1 year 8 months ago

Implement Publish Subscribe

How can I implement publish subscribe model.
My situation is i have n writer and y reader. I want the readers to be able to get any modified/new document which is as per there subscription.
Also is it possible to simulate server side procedures.
regards

sithembiso's picture
Asked 1 year 8 months ago
Latest activity 1 year 8 months ago

Recommended approach to storing user display name on the post

Hi everyone,
I'm fairly new to Couchbase, and I have a little problem I was trying to solve in Cassandra (before I met Couchbase :-) ). Please find the details here:...

a.pintori's picture
Asked 2 years 5 months ago
Latest activity 1 year 11 months ago

How do I get all keys from the bucket?

Hello,

I've a question about Couchbase 2.0.
I'm Using Membase 1.7 and I need to retrieve all keys from the bucket.
I've read that Couchbase 2.0 adds query support.
With Couchbase 2.0 it will be possible to query the bucket and retrieve all keys and/or values? How?...

MarcusLongmuir's picture
Asked 2 years 7 months ago
Latest activity 1 year 9 months ago

Why is there a restriction on key length?

I'm using spymemcached in Java and I've noticed the maximum key length is 250, but this is an exception thrown by the library rather than server interaction so I was hoping that it could be out of date. Is this restriction implemented on Couchbase Server 2.0?

Ideally I'd like to be able...