title: Why is Hazelcast so slow for basic operations like get and put?
body: <p>I have a two box cluster running Hazelcast 3.6. </p>
  
  <p>I am trying to run some very basic tests to get a feel for performance. Gets, puts and an aggregation across a map of Integers are all seriously slow.</p>
  
  <p>I am seeing about 2.6 get or put operations per second. Any idea why this might be?</p>
  
  <p>This is my test code:</p>
  
  <pre><code>public static void main(String[] args) {
  
      ClientConfig clientConfig = new ClientConfig();
      clientConfig.getGroupConfig().setName("dev").setPassword("dev-pass");
      clientConfig.getNetworkConfig().addAddress("10.90.288.14", "10.90.288.15");
  
      HazelcastInstance client = HazelcastClient.newHazelcastClient(clientConfig);
  
      IMap&lt;Integer, Integer&gt; map = client.getMap("int-map");
  
      for (int i = 0; i &lt; 10000; i++) {
          map.put(i, i);
          System.out.println(i);
      }
  
      for (int i = 0; i &lt; 10000; i++) {
          map.get(i);
          System.out.println(i);
      }
  
      System.out.println("Summed:" + map.values().stream().mapToInt(Integer::intValue).sum());
  
      client.shutdown();
      System.out.println("Finished");
  }
  </code></pre>