Tinker with defaults to increase throughput
This commit is contained in:
@@ -124,9 +124,9 @@ int getConnectFdUnix(const char *socket_name) {
|
|||||||
|
|
||||||
struct Config {
|
struct Config {
|
||||||
int concurrency = 64;
|
int concurrency = 64;
|
||||||
int requests_per_connection = 1;
|
int requests_per_connection = 50;
|
||||||
int connect_threads = 4;
|
int connect_threads = 1;
|
||||||
int network_threads = 4;
|
int network_threads = 5;
|
||||||
int event_batch_size = 32;
|
int event_batch_size = 32;
|
||||||
int connection_buf_size = 1024;
|
int connection_buf_size = 1024;
|
||||||
std::string host = "";
|
std::string host = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user