Message queues, background work
Message queues, workers வச்சு மெதுவான அல்லது நம்பகமில்லாத வேலையை request path-ல இருந்து எடுக்கவும், consumers-ஐ retry பண்ண safe ஆக்கவும், ஒரு simple queue-க்கும் Kafka மாதிரி event stream-க்கும் இடையில choose பண்ணவும் முடியும்.
Intermediate 3 · Agent builderabout 2 hours5 sections
சுருக்கமா சொன்னா
Message queue background workers-க்கான வேலையை வச்சிருக்கும். அதனால app சீக்கிரம் பதில் சொல்லும், emails அல்லது LLM calls மாதிரி மெதுவான jobs அப்புறம் ஓடும். Workers retry பண்ண safe-ஆ இருக்கணும்.
இது ஏன் முக்கியம்
SMS அனுப்புறது, PDFs generate பண்றது, LLMs-ஐ call பண்றது, payments process பண்றது எல்லாம் ஒரு user காத்திருக்கும்போது பண்றதுக்கு ரொம்ப மெதுவானவை அல்லது நம்பகமில்லாதவை. Queues apps-ஐ வேகமா வச்சு, திடீர் spikes-ஐ தாங்கும்; கிட்டத்தட்ட ஒவ்வொரு உண்மையான system design-லயும் வரும்.
Sign up free to read the whole lesson
The rest of this lesson: 5 parts, video lessons, the best course, practice and a quick check. It is free, takes a few seconds and needs no card.
Accounts are for learners aged 18 and over. Under 18? The quick answer and the first part of every lesson stay open: browse lessons by topic.
Related
System designIntermediate 3: Agent builderVideo lessonsMessage queueIdempotencyThroughput