Performance: AWS RDS Postgres vs. Digital Ocean Postgres
medium.com
medium.com
In addition to factors you can't control, maybe Digital Ocean has different Postgres params? I know MySQL for RDS has a bunch of knobs you should tune [2].
[1] https://dev.to/sachinkagarwal/public-cloud-object-store-perf... [2] https://aws.amazon.com/blogs/database/best-practices-for-con...
But a managed service means I'm paying you money so you can optimize the database to its fullest for me.
Hopefully DO can improve on its performance overtime.
RL-based tuning might change that soon though: https://github.com/cmu-db/ottertune
[1] https://aws.amazon.com/blogs/database/part-1-role-of-the-dba...