ActiveJob Too? Sure, Let's Explain Jobs, Queues, and Adapters with a Restaurant Again

ruby dev.to

Yeah, I know, I know. But let me compare it to a restaurant anyway. The cast First, a mapping table. I'll stick with this analogy for the whole post. Rails term In restaurant terms Web request An order from a customer who walked in Controller Cashier Job Order ticket perform_later Pinning the order ticket to the board Queue The board where order tickets are pinned Worker Cook Adapter The type of board Why do things "later" at all? Say we have

Read Full Tutorial open_in_new
arrow_back Back to Tutorials