Couchbase Configuration

Hi,

We are experimenting with the couchbase configuration and saw that with the following settings, the performance went better than the default values.

DefaultCouchbaseEnvironment.builder()
        .responseBufferSize(16384)
        .requestBufferSize(16384)
        .sslEnabled(false)
        .computationPoolSize(20)
        .queryEndpoints(20)
        .ioPoolSize(20)
        .build();

This is in a local environment. When we use these parameters in a multicore server, the application fails at startup. We read the documentation and we are not sure about how to use these values.

Can you help us?

Thank’s

Hi @fselva,

Thanks for reporting. What is the failure, can we get a stack trace if possible the full logs.

At now, i don’t have the stack trace. This is becasuse a didn’t saved it. And i can’t test it again because i can’t probe in the same environment.
Can you say me how can i calculate the correct values of that attributes?

@fselva

We have information about the settings here. You are using the defaults for responseBufferSize and requestBufferSize. The computationPoolSize and ioPoolSize can be tuned based on profiling your application if the threads look saturated.