step 5: partition your database and setup sharding and use logical replication to replicate columnar storage on redshift for long term analystics.
whatever is past step 6, you probably wont' get there
So as one might expect - various automated reports and actions routinely fail with deadlocks and timeouts, any change anywhere has a pretty big chance of screwing some other distant part of another system, all services need full unrestricted access to all databases, and off course nothing can really be tested because you need to run practically every database and service on the same machine to even try to test.
Naturally the pace of work is glacial, and bugs are blamed on individual intellectual failing of lesser tenured developers not having the experience and the vast system trivia knowledge of “lifers” who secured their guaranteed employment this way.
You might even be those people for all i know.
We went through a few growing pains when we had some big reports, but the first pass just moved them to a ~100 line batch reporting system, that solved it for another 2 years. Then we hit growing pains again but by that time had a shiny new data warehouse and just moved them to use the data warehouse instead.
There's truth to both sides of this, but optimising for where most engineering is happening, keeping developers productive, and simple solutions that everyone understands, have always paid off well in my experience.
But maybe posting a snarky meme about it isn’t constructive.
As for lifers, everyone I work with knows how many days until retirement. Sad sad people. I am merely hopping between frying pans until I can slide out into academia and get old and rot somewhere hopefully with tenure.
At scale microservices do help, but you get into unnecessary problems when you don't have scale and use microservices.
Except someone wrote their own and it's buggy.
1. We got into this microservices fad and built this really granular service architecture which we're so proud of but is actually a pile of steaming shit and we're in denial.
2. We forgot to consider that a service boundary is a transaction and/or failure domain and now we have this distributed operation that has to be transactional because it's crapping itself 50 times a day and clients are complaining that something is inconsistent somewhere.
3. Read Martin Fowler's blog and this blog article while having a post-work shit in the bathroom.
4. Come out with a half baked understanding of distributed transactions which is good enough for your ego to think is a really good business outcome.
5. Design another fucking microservice and correlation system for transaction registration.
6. Hand it over to some junior and senior developers who half-ass the whole thing because they don't understand your inane ramblings and have no idea how to test it properly.
7. Throw it into production and shout SUCCESS as loud as possible over the sounds of creaking, grinding and explosions.
How this should have turned out...
1. Actually realise that you're only doing about 5 million transactions a day and that's hardly anything.
2. Stuff the whole shebang behind a monolith with a single call, single transaction and in one storage and failure domain.
3. Pay for a slightly fatter DB instance.
4. Go back to developing things with a better ROI.
Apologies for the bitterness but it is realistic.