Hello! I think that you should use DataStreamer to populate data. Should remove most of this discrepancy.
Regards, -- Ilya Kasnacheev вс, 20 окт. 2019 г. в 20:02, Simin Eftekhari <[email protected]>: > Hello Everyone, > > I am new to apache ignite. I'd appreciate your help with the following > question. > > I modified the CacheApiExample, to insert 2,000,000 entries into the > cache. > > > https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheApiExample.java > > If I run the program as is, the insert all the entries takes less 10 > seconds (which I think is still too long). If I start an additional ignite > node (on the same vm), the inserts take over 3 minutes. This is a huge > discrepancy. I'd have thought that an additional instance would actually > speed up the inserts. > > Can someone please explain what is going? > > thanks > > SK >
