We have profiled our Tomcat server because we were facing performance issues when querying a ViewQuery which emits a JsonArray with a long inside. It happened that when emitting a long value (timestamp) as part of an array key, the couchbase java client spends a lot of time throwing JsonParseException when trying to read an int, catching them and reading a long value instead.
The profiler has shown that this consumes 70% of our cpu time in JacksonTransformers$AbstractJsonValueDeserializer.decodeObject(), line 65:
we’ve published a developer preview of 2.1.2 to get quicker feedback if the bug is properly fixed and your issues are addressed. You can get it from our couchbase repository like all pre-releases, the 2.1.2 GA release will be published to maven central as usual.