'Connection pool'에 해당되는 글 1건

  1. 2014.02.17 [elasitcsearch] changed connection pool into the 1.0.0

[elasitcsearch] changed connection pool into the 1.0.0

Elastic/Elasticsearch 2014.02.17 15:43

es 0.90.x 까지 사용하던 connection pool 설정이 1.0.0 에서 조금 바뀌었습니다.
ping, high 는 그대로이구요.
recovery, reg, bulk 가 추가 되었는데 reg는 middle 이 바뀐거고, bulk 는 low 가 바뀐겁니다.
용도에 맞게 이름을 변경했내요. 참고하세요 ~

https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/transport/netty/NettyTransport.java


        this.connectionsPerNodeRecovery = componentSettings.getAsInt("connections_per_node.recovery", settings.getAsInt("transport.connections_per_node.recovery", 2));
        this.connectionsPerNodeBulk = componentSettings.getAsInt("connections_per_node.bulk", settings.getAsInt("transport.connections_per_node.bulk", 3));
        this.connectionsPerNodeReg = componentSettings.getAsInt("connections_per_node.reg", settings.getAsInt("transport.connections_per_node.reg", 6));
        this.connectionsPerNodeState = componentSettings.getAsInt("connections_per_node.high", settings.getAsInt("transport.connections_per_node.state", 1));
        this.connectionsPerNodePing = componentSettings.getAsInt("connections_per_node.ping", settings.getAsInt("transport.connections_per_node.ping", 1));


신고
크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback 0 : Comment 0

티스토리 툴바