[{"data":1,"prerenderedAt":75},["ShallowReactive",2],{"term-w\u002Fworker":3,"related-w\u002Fworker":59},{"id":4,"title":5,"acronym":6,"body":7,"category":40,"description":41,"difficulty":42,"extension":43,"letter":44,"meta":45,"navigation":46,"path":47,"related":48,"seo":53,"sitemap":54,"stem":57,"subcategory":6,"__hash__":58},"terms\u002Fterms\u002Fw\u002Fworker.md","Worker",null,{"type":8,"value":9,"toc":33},"minimark",[10,15,19,23,26,30],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A worker is a background process that picks up jobs from a queue and does the heavy lifting. While your main server handles user requests quickly, workers quietly process the slow stuff in the background — sending emails, generating reports, resizing images.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A worker is a separate process or thread that consumes and processes jobs from a queue asynchronously. Workers allow time-consuming tasks to run in the background without blocking the main request\u002Fresponse cycle. They can be scaled independently of the web server.",[11,27,29],{"id":28},"when-youll-hear-this","When You'll Hear This",[16,31,32],{},"\"The email worker processes 200 messages per minute.\" \u002F \"Add more worker instances to clear the queue backlog.\"",{"title":34,"searchDepth":35,"depth":35,"links":36},"",2,[37,38,39],{"id":13,"depth":35,"text":14},{"id":21,"depth":35,"text":22},{"id":28,"depth":35,"text":29},"backend","A worker is a background process that picks up jobs from a queue and does the heavy lifting.","intermediate","md","w",{},true,"\u002Fterms\u002Fw\u002Fworker",[49,50,51,52],"Queue","Background Job","Cron Job","Message Queue",{"title":5,"description":41},{"changefreq":55,"priority":56},"weekly",0.7,"terms\u002Fw\u002Fworker","VYxvtbpH1SVHGqWy-2kkiwddOeMtRaEAMWv4LCfwk6A",[60,64,67,71],{"title":50,"path":61,"acronym":6,"category":40,"difficulty":62,"description":63},"\u002Fterms\u002Fb\u002Fbackground-job","beginner","A background job is work your app does behind the scenes that the user doesn't wait for.",{"title":51,"path":65,"acronym":6,"category":40,"difficulty":42,"description":66},"\u002Fterms\u002Fc\u002Fcron-job","A cron job is a task that runs on a schedule automatically. 'Every day at midnight, clean up old sessions.' 'Every hour, send digest emails.",{"title":52,"path":68,"acronym":6,"category":69,"difficulty":42,"description":70},"\u002Fterms\u002Fm\u002Fmessage-queue","architecture","A Message Queue is a waiting room for tasks. Producers drop tasks in the queue, consumers pick them up and process them one at a time.",{"title":49,"path":72,"acronym":6,"category":73,"difficulty":62,"description":74},"\u002Fterms\u002Fq\u002Fqueue","general","A queue is like a line at a coffee shop — first come, first served. The first person to get in line is the first to get their coffee.",1776518258547]