title: Hazelcast avg get latency is > 2 ms for 18k/s throughput
body: <p><strong>Background:</strong> We are working on evaluating hazelcast which can act as an alternative of Redis.</p>
  <p><strong>Setup</strong> :</p>
  <ol>
  <li>3 members in a cluster under a single subnet (production boxes). Each member has ~1.4GB of data.</li>
  <li>Near caching is off.</li>
  <li>Each member has 1 backup.</li>
  <li>Code deployed by preparing a spring boot jar and cache is implemented as embedded one.</li>
  <li>VM config : 8C, 31GB RAM</li>
  <li>code uses IMAP to retrieve and put the keys in the cache.</li>
  </ol>
  <p><strong>LoadTest</strong> : Attempted 18K/s rest API calls to read the data.
  But hazelcast is showing avg get latency of around 3-4ms which I feel should be in microsecond as we have been already seeing that much of get command latency with redis setup.
  CPU Load was ~95% during this test.</p>
  <p>A member which gave this latency has heap usage of ~60% (committed: 7.85GB, used: 4.68GB). It is though with all the members in the cluster.</p>
  <p>Need help to understand that is my configuration somewhere wrong, because of which I am NOT able to achieve get latency in <strong>microseconds</strong>?</p>
  <p><strong>Config for starting embedded cache:</strong></p>
  <pre><code>        config.addMapConfig(mapConfig());
  
          NetworkConfig networkConfig = config.getNetworkConfig();
          JoinConfig join = networkConfig.getJoin();
          join.getMulticastConfig().setEnabled(false);
          join.getTcpIpConfig().setEnabled(true).setMembers(
                  Arrays.asList(
                          &quot;ip1:5701&quot;,
                          &quot;ip2:5701&quot;,
                          &quot;ip3:5701&quot;
                  )
          );
          return config;```
  
  
  </code></pre>