Wait. Their (or Python's default?) db orm blocks while it performs a DNS lookup for each and every query!? It doesn't cache resolved addresses for any length of time? No connections are pooled and reused?
We migrated our PostgreSQL database with 11 seconds downtime
61–70 of 210 posts
Re: We migrated our PostgreSQL database with 11 seconds downtime
#62Earlier quoted context omitted.
Its not an organisation, its a blucking government, it handles citizen data, and its sending them to a company of foreign country, because it can’t hire some system administrators? A GOVERNMENT? What are they doing? Still looking for their product market fit and can’t afford the headcount? Is it a joke? EDIT If they are looking for money id like to participate a bit in the seed round
The UK replies entirely on the mercy of USA for its nuclear deterrent (Trident) For the UK at least, that ship has _long_ since sailed....
Re: We migrated our PostgreSQL database with 11 seconds downtime
#63Earlier quoted context omitted.
Its not an organisation, its a blucking government, it handles citizen data, and its sending them to a company of foreign country, because it can’t hire some system administrators? A GOVERNMENT? What are they doing? Still looking for their product market fit and can’t afford the headcount? Is it a joke? EDIT If they are looking for money id like to participate a bit in the seed round
Sysadmins are cheaper than many people seem to think. I had a person I trust a lot telling me that "if we go with a bare metal provider like GCore we'd have to hire someone", his reason for bringing that up was that the cost difference would be justified by not having to hire someone,. However a GCore €400,000k/y bill becomes a €6,000,000~ if you were to use a public cloud, even with the scaling up and down when not…
Re: We migrated our PostgreSQL database with 11 seconds downtime
#64Re: We migrated our PostgreSQL database with 11 seconds downtime
#65Re: We migrated our PostgreSQL database with 11 seconds downtime
#66Minor detail but did anyone else notice they are using eu-west-1? Kind of weird for the UK to be hosting there sites in another country (Ireland). I'm sure this isn't super sensitive data but still.
Re: We migrated our PostgreSQL database with 11 seconds downtime
#67I'm quite negatively surprised that a government service is moving from their own platform to AWS for such an important service.
Honestly you should be frightened when you see someone NOT using a cloud provider, because it is hard work to properly run and secure a datacenter. Even Equinix fucks up HARD regularly and they are considered the gold standard (shout out to those I saw at 350 E Cermak over the weekend).
Re: We migrated our PostgreSQL database with 11 seconds downtime
#68Earlier quoted context omitted.
Sysadmins are cheaper than many people seem to think. I had a person I trust a lot telling me that "if we go with a bare metal provider like GCore we'd have to hire someone", his reason for bringing that up was that the cost difference would be justified by not having to hire someone,. However a GCore €400,000k/y bill becomes a €6,000,000~ if you were to use a public cloud, even with the scaling up and down when not…
The risk is hiring a team of ineffective sysadmins, especially if your organization can’t assess sysadmin competence.
Anyway, I am a former sysadmin. I am confident that I can identify competence in the requisite areas.
Re: We migrated our PostgreSQL database with 11 seconds downtime
#69We tried to work with DMS to migrate mysql to postgres, and it was a nightmare. Support was useless, and would often just not get back to us without prodding. Then them giving us canned responses unrelated to our queries. The whole thing is nigh on un-debuggable. Stay away.
Re: We migrated our PostgreSQL database with 11 seconds downtime
#70We did a similar migration (somewhat larger database) with ~20 seconds of downtime and much less work... using the magic of AWS RDS Blue-Green Deployments [1]. Surprised they aren't mentioned in the thread yet. Basically, you spin up a new Blue Green deployment with any desired changes (in our case, we were upgrading Postgres major from 13 to 15). While your blue configuration continues to serve traffic, AWS uses log…
Read the docs, especially the limitations. Re-read them. Do a test run in the dev environment, under load. Do it again in staging.
Or just YOLO into prod ‘cause it’ll probably be fine, I guess.