2 ms·
At 55:20 he says, if you have A calling B all the time, you should "Stick a queue in there." What is an example of this?
by nebaneba 15y ago
At 55:20 he says, if you have A calling B all the time, you should "Stick a queue in there."
What is an example of this?
- automagical 15y agohes talking events i guess, instead of A saying "B do this" it just pushes "i want this done" in a queue. and someone else, may be B, could dequeue and get it done. this decouples A and B.
- chousuke 15y agoI suppose he means that instead of A calling B directly, A should put work in a queue and B should consume from it, thus decoupling the two entities.