I have 2 JVMs on the same machine that I want to pass about 1Mb of (serializable) data between ideally in under 5 ms.
Under load, using HTTP to localhost takes about 70ms average.
I tried hazelcast, passing the data via a distributed queue – about 50ms average.
Is there a faster way?
I’m using spring boot.