Ask HN: Strategies for database reliability when I have no control over the DB?
https://news.ycombinator.com/item?id=16728569Working in a corporate enterprise type environment. Very crufty. Unfortunately my application environment, which is very modern, relies on an old, old corporate DB. I have spoken with the dbadmins and they are not willing to help out to make things more reliable, they're pretty siloed off from everything else and don't answer to anyone to help. The team has no SLOs and the best I can see is about 90% uptime. In the end this may be a policy question, but for the short term I need to manage reliability of my applications so I can hit my SLOs.
So from my perspective, how do I manage this? Back up the DBs in my environment as best as possible and serve traffic from there, or cache everything? Data is constantly being added to the old DB, which holds user data. I was thinking about creating a bunch of DB shards in my environment with LBs in front of them with long-lived connections to the old DB, and if the user makes a request, if the old DB is down, serve from the backup shard. Maybe sharding is too complicated for this scenario. Advice?