ElasticSearch Jest Client Read Timeout -
my config in jest 2.4 es 2.4
jestclientfactory factory = new jestclientfactory(); factory.sethttpclientconfig(new httpclientconfig .builder("serverx:9200") .multithreaded(true) .defaultmaxtotalconnectionperroute(75) .maxtotalconnection(75) .readtimeout(20000) .build());
i have 50 threads doing es queries. read timeout. if leave defaults.. kind of work better. timeouts 1 of every 3 or 4.
is issuing 1 query per second or more. clue ? doc on how defaults not quite easy find ?
Comments
Post a Comment