# Keycloak read/write splitting with aws advanced jdbc

**URL:** <https://forum.keycloak.org/t/keycloak-read-write-splitting-with-aws-advanced-jdbc/31656>\
**Category:** Miscellanaeous\
**Created:** [August 19, 2026, 9:16am UTC](https://forum.keycloak.org/t/keycloak-read-write-splitting-with-aws-advanced-jdbc/31656 "2026-08-19T09:16:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khanhlv2093](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@khanhlv2093](https://forum.keycloak.org/u/khanhlv2093)\
**Post date:** [August 19, 2026, 9:16am UTC](https://forum.keycloak.org/t/keycloak-read-write-splitting-with-aws-advanced-jdbc/31656/1 "2026-08-19T09:16:52Z")

</div>

I have been trying to integrate Keycloak with the AWS Advanced JDBC Wrapper + Aurora. I will configure autoReadWriteSplitting with two endpoints — one is the writer and the other is the reader. It will automatically analyze the SQL and the transaction readOnly field to decide which endpoint will be used to handle the query. However, I wonder if there are any potential issues that could happen, e.g., read-write inconsistency, missing sessions, etc. Please let me know your thoughts.

---

<div class="post-metadata">

**Author:** ![somethingeng](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@somethingeng](https://forum.keycloak.org/u/somethingeng)\
**Post date:** [August 23, 2026, 12:07pm UTC](https://forum.keycloak.org/t/keycloak-read-write-splitting-with-aws-advanced-jdbc/31656/2 "2026-08-23T12:07:12Z")

</div>

Seems like complexity and risk - what does this solve? Is there a latency or scaling problem?
