Ask HN: Where can you get advice on scaling microservices/monoliths rapidly?
When I scale, I have a jobs system with a queue.
Problem is each job can take 2 mins, but I might add a new job every minute sometimes during peak.
If my job system goes FIFO, it'll perform terribly for the latest users, who have to wait 10 minutes or longer.
But if I choose randomly or LIFO, some users never get a solution or have to wait something crazy like 6 hours.
Where can I read about optimising this kind of problem or useful approaches? I feel analysis-paralysis and question each change of default strategy, like FIFO to random order within last 10 minutes (most recent)