Mar 3 · 2 min read · Originally published at recca0120.github.io When dispatching a Job to a Queue inside a Transaction, the Job reads stale data. Why the Job Gets Old Data Setup: Laravel connected to a real database, Queue Driver using Redis, one User already in the da...
Join discussionJan 21 · 6 min read · While working on real DevOps projects, I realized one thing: ✅ Deploying an app is not only about commands…✅ It’s about understanding what happens behind the scenes So today I revised and wrote short notes on these important concepts: HTTP status co...
Join discussion
Jan 20 · 4 min read · Circular Queue Queue এর একটি ধরন। আমরা আগে General Queue নিয়ে আলোচনা করেছিলাম। সেখানে দেখেছি Queue তে rear থেকে data / element / item insert হয় এবং front থেকে data / element / item delete হয়। General Queue। Front থেকে ডাটা ডিলিট করার পর সেই জায়গায় আব...
Join discussion
Jan 19 · 4 min read · Imagine you’re at a busy coffee shop. You walk up to the counter, order a complicated latte, and the cashier says: “Stay right here. I’m going to go to the back, roast the beans, milk the cow, and brew this. No one else can order until I’m done.” You...
Join discussion
Jan 11 · 4 min read · লিনিয়ার ডাটা স্ট্রাকচারের মধ্যে অন্যতম ডাটা স্ট্রাকচার হচ্ছে কিউ। আমরা এর আগে Stack DS নিয়ে জেনেছিলাম। Stack DS LIFO প্রিন্সিপাল ফলো করে। অর্থাৎ , Stack এ যে ডাটা শেষে ইন্সার্ট হয় সেটি সবার আগে ডিলিট হয়। তবে Queue FIFO প্রিন্সিপাল ফলো করে। FIFO হলো F...
Join discussion
Jan 6 · 6 min read · BFS Traversal — 4 Easy Rules Rule 1 — Start Put the starting vertex into a queue. Keep an empty visited set. Rule 2 — Take from Queue While the queue is not empty: Remove the front vertex from the queue. ⚠️ Key difference from BFSBFS → Queu...
Join discussionDec 22, 2025 · 2 min read · Auto-commit - at most once delivery When consumers are configured with auto-commit, the queue offset will commit on message delivery. If the process dies before processing, the message is effectively lost. Manual commit - at least once delivery When ...
Join discussion