Topics
Serializing and Deserializing
Couchbase Client Configuration
Spring Boot Configuration
JVM
Use Afterburner module that will add dynamic bytecode generation for standard Jackson POJO serializers and deserializers, eliminating majority of remaining data binding overhead
Use streaming api for the best performance
Streaming API instead of data binding, you may be able to increase throughput by 30-40%
Couchbase Client Configuration
Linux Netty provides a way to use edge triggered epoll instead of going through JVM NIO. This provides better throughput, lower latency and less garbage
Couchbase Client Configuration
Disable all collectors metrics !
The configuration of the runtime metrics collector can be modified (or completely disabled). By default, it will emit an event every hour.
The configuration of the network latency metrics collector can be modified (or completely disabled). By default, it will emit an event every hour, but collect the stats all the time.
Couchbase Client Configuration
Spring Boot Configuration