Since documents are in memory are there any performance gains when using exists(String id) vs get(String id) when documents are small?
The only performance gain is that the document body doesn’t have to be sent back over the network; so you’ll reduce network bandwidth usage / latency if you use exists()
.
The difference will be more significant if your documents have large bodies.