The AWS Advanced JDBC Wrapper now supports automatic query caching with Valkey

AWS Advanced JDBC Wrapper Updates
The AWS Advanced JDBC Wrapper now supports automatically caching JDBC queries with Valkey, including Amazon ElastiCache for Valkey caches. This feature simplifies the process of caching JDBC query result sets, previously requiring manual code for each query. With just a few steps, you can cache result sets from your Aurora and RDS PostgreSQL, MySQL, and MariaDB databases. This improvement reduces database reads, lowers read latency, and enhances application resilience.
What to do
- Add the wrapper dependency
- Enable the query cache plugin
- Configure database and cache endpoints
- Indicate which queries to cache in your application code
Automated query caching works with popular persistence APIs and frameworks like Hibernate and Spring Data. For setup instructions, refer to the Advanced JDBC Wrapper and Amazon ElastiCache for Valkey documentation.
Source: AWS release notes
If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.



