by tommoor · 3y ago · 0 comments
The idea of having to do my own upgrades by updating the docker container scares me.
I have literally never run a stateful service off docker and don’t see the point, thanks to AWS.
RDS has been extremely stable and boring. Maybe it’s out together by similar duct tape under the hood but it’s been incredibly solid for nearly a decade across multiple database stacks.
If Fly builds it, it will create another Goliath who tries to eat everything.
A lack of integrated security and authorization? Should be solvable though.
The expense of external traffic? The latency to a DB in a different datacenter?
The only reason I think we might not be is the selling point is less vendor lock-in, not something managed significantly better. For the most part, the major cloud providers have mature, feature rich product offerings for common use cases like DB, distributed queues, running services, load balancers, etc.
With Fly.io (at least today), this isn't as straightforward given your favorite database is likely not deployed there.
Higher database round-trip times are fixed by using database stored procedures instead of making multitudes of tiny compound SQL queries.
For those out-of-loop: https://news.ycombinator.com/item?id=7382151
I’d be happy if they can wrap Neon’s serverless postgres service into their networks somehow.
We are working on becoming first party service on several major problems now. We will be happy to provide this for Fly. Kurt and I have been chatting.
Fly wants cross region replication which is coming soon. Once it's there we can integrate.
With that Neon is still on AWS and can be close to Fly, but not run on Fly servers. It's relatively straightforward for us to run on Fly, but the S3 part will still be Amazon.
The best option I could find was using Digital Ocean Managed Databases. The cheapest costs $15, but you can host multiple databases with good insights and backups. You can choose where you host it, and place it close to the region where youre Fly.io apps are, with low latency.
Only caveat is there isn't an easy way to automatically update the IPs whitelist of the database, to support the Fly builder and deployed app(s).