Simple benchmark illustrating flushing mechanism of the java client