Hi,
We’ve been using Couchbase Server 2.2 with Java Client version 1.4 for couple of years,
and very happy with couchbase performance, stability and in general.
Lately we wanted to upgrade to the latest server version in order to enjoy the new features and specially
the new backup&restore mechanism cause we’re started having OOM errors while backuping our cluster
(our production environment having 20M~ docs)
I did a stress test to see how the new server is behaving, and encountered a major decline in the performance.
Our test environment is as follows:
- 1 Couchbase Server on Aws linux m4.large machine.
- 1 App Server on different AWS Linux m4.large machine.
In the test I’m creating 1000 documents with 500 Chars long size.
Then in an infinite loop for couple of minutes i’m:
- Reading a document (through java client ‘find’ method)
- Modifying it, and then saving it again (through java client ‘set’ method)
- then moving to the next document in cycle.
Doing that for couple of minutes, while logging the amount of Ops and the amount of time.
The results are that without any other change but upgrading the server from 2.2 to 4.6.1 (and staying with the same java client 1.4.4 library)
the Ops per Second declined in about 30%
from 5000~ Ops Per Second
to 3400~ Ops Per second
The Couchbase server & app servers configuration stayed the same.
Any thoughts on why this is happening?
Is any one encountered the same decline?
is there a change i can do in the 4.6.1 cluster configuration to improve this?
Thanks,
Shay