If you use PostgreSQL and have a workload that can be shared by a specific key and does not require complex transactions, you can take a look at pg_shard . pg_shard allows you to create distributed tables that are distributed between multiple servers. Requests in a distributed table will be transparently routed to the right splinter.
Although RDS does not have the pg_shard extension installed, you can configure one or PostgreSQL servers on EC2 with the pg_shard extension and use the RDS nodes as work nodes. For pg_shard node, you only need to store a small bit of metadata that can be copied to one of the working nodes, so they are relatively low and can be scaled for higher requests.
A guide to the link with the CloudFormation template for automatic configuration is automatically available at: https://www.citusdata.com/blog/14-marco/178-scaling-out-postgresql-on-amazon-rds-using-masterless-pg- shard
source share