Improve application performance for Amazon SQL Databases. No code changes required.
Horizontally scaling Amazon RDS or Aurora requires application changes to route queries to the write-master and read-only instances. This allows the write instance to perform dedicated write operations while offloading read queries to replicas.
The Heimdall proxy intelligently routes queries to the appropriate database instance without code changes. For read queries, we ensure users receive the most up-to-date data (a.k.a lag detection aware).
Automated Query Caching: Executed in the application tier, removing latency to the database. Result sets are cached to the storage of your choice: 1) Local memory, 2) Amazon ElastiCache, or 3) Both. Automated invalidation is supported. Deployment requires zero code changes.
Heimdall Data improves performance over 1000x! We batch singleton INSERT’s under a single transaction.
- Ideal use case: INSERT a large amount of data at once on a thread. Heimdall processes at once much faster than if individual queries outside of a transaction were completed. See below demo video.
- Not so ideal use case: Concurrent writes and reads against the same table, on the same thread will not be beneficial with this solution, as everything will just block until the DML operation is completed anyway.
Automated Persistent Connection Failover
Heimdall detects database health and performs a failover to the standby. But doesn’t Amazon RDS/Aurora already support this? How is Heimdall different?
Heimdall’s failover takes an application-centric approach: Upon a failure, Heimdall queues up the connection and transparently creates a new connection at the backend to the standby instance. This greatly reduces and/or eliminates application errors and exceptions. Hence, failover is transparent to the application and user; not so, with a DNS or IP based failover solution.