How do you maintain responsiveness when you have lots of tasks that needs to synchronous and whole operation needs to be transactional.

Posted by Embarrassed-Sand5191@reddit | ExperiencedDevs | View on Reddit | 28 comments

How would you handle a scenario in a backend update API where changes in data trigger many other changes? Some of these changes need to be synchronous, while others can be asynchronous. You could offload asynchronous tasks, but what about the synchronous changes that involve heavy computation and slow down your API?