Dag Alemu
Открыть в Telegram
https://kassdag.antsar.et DM: https://t.me/dagalemu?direct
БольшеСтрана не указанаКатегория не указана
205
Подписчики
Нет данных24 часа
-17 дней
-230 дней
Архив постов
205
From 5, it goes down to two active subs 😂 Anyway, thanks for those two subs for your compliment (it's actually not a question you sent)
15 авг., 00:54
205
Me after i uninstall that rase-metat with cold 🥶 shower on morning bezi berdi 🤧
15 авг., 00:40
205
For my 5* active sub's🙃 (non technical and not serious question tho )
https://sma.et/b/4tVtqk6791bg
14 авг., 13:47
205
yo if you're seeing this @tamas_archive it's ready to be archived i mean for sale 👀😁
14 авг., 06:32
205
@MickyCodes ❌
Mickey (the Disney character) stickers ✅
Anyway
@dag_shell x @soset_ge in abechu building
13 авг., 13:27
205
If ur looking for project idea here it's
As a certified bus user 🤧😁
what if there was an AI-powered app that could help blind people identify which bus is standing in front of them? I have seen them struggle a lot,they miss a lot of buses if there is no one around them to ask
13 авг., 12:09
205
👀lesson of the day(of backend guys)
The Failure-tolerant systems
Let’s say you have a Telegram bot. Telegram sends an event to your server through a webhook, and your worker is responsible for processing that event.
Now imagine your worker receives the event, but something fails while processing it.
If your system simply tells Telegram, “Yep, I got it ✅” before the processing is actually completed, Telegram assumes everything went fine. Your worker failed, but the event is already considered handled.
Now you’ve lost the event 🤧😁
Sure, Telegram may keep updates available for some time, but your application logic shouldn’t depend on that as a recovery mechanism. Your system should be designed so that a temporary worker failure doesn’t mean permanent data loss.
That’s where queues come in.
Instead of:
"Webhook → Worker → if worker fails, event is gone "💀
You can do:
"Webhook → Queue → Worker → Process"
The queue acts as a buffer between receiving an event and processing it. If the worker crashes, fails, or needs to restart, the event can remain in the queue and be processed again.
That’s basically the idea behind building a failure-tolerant system: assume things will fail, and design the system so failures are recoverable.
For my current setup, I’m using Supabase for pretty much everything so they have Supabase Queues (via some pg db extension )
As they say pg db for all since supba is on top of it supba for all😁
13 авг., 11:30
