top | item 19728507

(no title)

slothario | 6 years ago

I switched a company's web API with background tasks to a serverless architecture. In some ways it's kind of magical, because it means we just need a few web API boxes and a bunch of services which scale automatically.

However, debugging is a major PITA. If I could go back and do it again, I would be less zealous and only move truly computationally-intensive services to Azure Functions. It turned out one major service I moved to functions could have simply been fixed to use the ORM correctly, and if I had done that it wouldn't have significantly increased the server load.

Also, do not move a task where ordering matters to function fed by a queue.

Just some thoughts from a mid-level programmer who was given keys to the kingdom and re-architect everything.

discuss

order

No comments yet.