Log or queue

Queue 09

Choose

After a code change, analytics must replay 100,000 saved events within 10 s. Separately, 100 image jobs take 1 s each and must all finish within 20 s, with no lost job. Choose the design.

Goals

Not tested yet

Time until all the work is done.Saved data that was lost later.What the servers and services cost each month.
Choose a design
Use work queues for both
Log for events; call the image worker directly
Log for events; work queue for image jobs

Tap a part to add it, or drag it onto a trace.Click a part to add it, or drag it onto a trace.