Hi Jayarami Annapureddy •,
Welcome to Microsoft Q&A forum.
As I understand, you are getting IO timeout error in Cassandra API of Cosmos DB.
If this is related to payload, then exception during a write request is because of payload maybe too large. Currently, there is a limit of 2MB per row.
Server-side retry (SSR) is most beneficial when there is a sudden spike for a short duration of less than 1 minute where in throttling errors can be avoided. If the work load has increased and would stay constantly above the specified RU, then SSR will not help much. The suggestion is to increase the RU appropriately.
After SSR is enabled, the client app should increase read timeout beyond the server retry 60-second setting. We recommend 90 seconds to be on the safer side.
Code Sample Driver3
SocketOptions socketOptions = new SocketOptions() .setReadTimeoutMillis(90000); Code Sample Driver4
ProgrammaticDriverConfigLoaderBuilder configBuilder = DriverConfigLoader.programmaticBuilder() .withDuration(DefaultDriverOption.REQUEST_TIMEOUT, Duration.ofSeconds(90));
If above does not help, I would recommend you to please file a support ticket for deeper investigation and in case if you don't have a support plan, do let us know here so that we can check on other options to unblock you.