Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below are the two batch types we executed for partial writes

  1. LOGGED

  2. UNLOGGED

  • In cassandra doc it specifies that to increase the performance UNLOGGED type should be used.

  • With LOGGED type the data got inserted and updated after WriteTimeoutException.

  • With UNLOGGED type the data got inserted and updated after WriteTimeoutExceptionLOGGED and UNLOGGED batch types, inserts data and return success response even with acknowledgement error.

  • In cassandra docs, it is suggested to go with UNLOGGED batch type for better performance.