Beta 2.0 dog slow!!!
I have many functions which write data to the database on a Quadcore, 16GB machine without much of a load. The Couchbase server is assigned 4GB of memory.
A typical Read takes about 2Seconds!!!
A Typical Write such as:
Entities.Couchbase.couchbaseClient.StoreJson(StoreMode.Add, transaction.Type + "_" + tableId + "_" + transaction.TransactionID, transaction);
Takes 5 to 7 seconds!!!
Is the .Net v2 api async? If not, how can we Async it since this is much worse than SQL server which has a lot of caching builtin!!!
I thought NoSQL was supposed to be significantly faster than SQL?! Am I missing something?!
With things like get/set operations, most small operations happen in under a millisecond with gigabit ethernet.
What version of the server and client are you running? What does the network look like between the client and the server?
Hi All, I am running Windows 2008R2.
I have noticed the api is sync and blocks!
Is there any way to turn logging off or change any parameters to speed up read/writes? The couchbase server is running on the same server as the app and web server. 16GB ram, 4gb dedicated to couch base. Quadcore...
The .NET client library does have a synchronous API, yes.
Logging can be adjusted, sure. It does run a connection pool, and you can certainly fire off multiple requests in parallel.
See http://www.couchbase.com/docs/couchbase-sdk-net-1.2/couchbase-sdk-net-lo... and
http://www.couchbase.com/docs/couchbase-sdk-net-1.2/ more generally.
Hi, I added a Timespan counter on the GetJson function and notice that previous to Beta 2.0 , on records that were cached in memory the timespan was almost 0 milliseconds to return the document but since Beta 2.0 it takes on average 13 milliseconds to return the document!
did you guys disable memory caching of the documents in Beta 2.0 ?
I am hitting the same document once every 15 seconds so there is no way it should NOT be in the memory cache!!! How can I check wether the memory caching is disabled?
It is not possible to disable caching in any release of Couchbase. If you provide some code snippets of what you are doing then I will pass them on to out .NET developer to see if there is anything you might be doing incorrectly.
Can you also paste the results of ./cbstats :11210 timings into this forum posting.
Hi Mike, I am simply following your sample code. nothing special nor different...
Can you please provide me with the full url for ./cbstats for me to test for you?
my server is at http://localhost:8091
Tkx
cbstats is a script and is located in the bin directory of your Couchbase installation. Let me know if you still need more help finding it.
Hello. I also use couchbase beta on cluster (2x ubuntu x86_64 m1.large on amazon). And for my web application it takes less than 0.5 sec to retreive view with quiet complicated map/reduce functions and render it as html. And about 0.3 sec for writing data. I use my own store/get-JSON functions since couchbase DP3 .net api. May be the problem is in those functions or in server (you didn't mention on which OS it's running).