Using task queues and delayed processing