mustCode
69 subscribers
111 photos
12 videos
2 files
26 links
the journey documentation
Download Telegram
mustCode
So Celery + Redis
I used Celery and Redis in one of my Django projects, but at first I didn't really understand why I needed both.
Here's the simple way I understand it now:
๐Ÿ”น Celery = the worker that performs background tasks.
๐Ÿ”น Redis = the middleman that holds the tasks and passes them to Celery.

For example, imagine an online store.
A customer places an order. Django saves the order and responds immediately.
But things like updating inventory and sending notifications can happen in the background.
So:

Django โ†’ Redis โ†’ Celery โ†’ background task

While Celery handles that work, Django can keep serving other users.
That's basically why Celery + Redis are useful. Simple, but it took me a while to understand.๐Ÿ˜…

The goal isn't necessarily to make the task faster. It's to keep the user from waiting while the task is being done.
โค1
mustCode
I used Celery and Redis in one of my Django projects, but at first I didn't really understand why I needed both. Here's the simple way I understand it now: ๐Ÿ”น Celery = the worker that performs background tasks. ๐Ÿ”น Redis = the middleman that holds the tasks andโ€ฆ
I'm implementing it in my project just to see how useful it is as the number of users increases. I mean, Django is enough for simple tasks ๐Ÿ˜…๐Ÿฅฒ. Wanted to see what's all the fuss about?
anybody coming to alx?
mustCode
anybody coming to alx?
Arrived so early that they are cleaning
Software Guy
Episode 4 is finally here
I know I am late gn still very valuable lessons.
maybe I need to get married or sth; to increase my driving force๐Ÿ˜…
oh wait look at that๐Ÿ˜…..I would say a productive day indeed
nah, no question just do the f### ing work
Maybe I should switch to express or sth. The abuse I am getting from @RunProjectB is insane. (writing this while he took a coffee break).

The process we are working on:
Frontend team...waiting...me...me...waiting...Claude
I was interrogated by the frontend team today to the point that my token limit was reached๐Ÿ˜ญ๐Ÿ˜ญ
๐Ÿ˜2๐Ÿ‘Œ1
Project B
Let's settle this in the next ETFC.

What do you say, @must_Code
Deal ๐Ÿค
Gn at least be in 50's kg to even consider it. Just Eat well bro...แ‰ตแŒแˆ ke แŒฅแŒ‹แ‰ฅ behula yedersal๐Ÿ˜…
One cup wouldn't hurt, ig
Let me see why @RunProjectB can't function without it๐Ÿ˜‚๐Ÿ˜‚
๐Ÿคฃ1
mustCode
One cup wouldn't hurt, ig Let me see why @RunProjectB can't function without it๐Ÿ˜‚๐Ÿ˜‚
I guess I just have to accept whatever my UI designer gives me. After all, they control the user interface. (another way of saying Biraan forced me to drink coffee๐Ÿ˜…)
Tell my parents that I love them, I wish I had more TIME ๐Ÿ˜ญ๐Ÿ˜ญ
๐Ÿคฃ3
Fyi my แ‹ฐแ‰ฅแˆญ is แ‹ฐแ‰ฅแˆจ แ€แˆแ‹ญ แŠ แ‰กแА แ‰ฐแŠญแˆˆแˆแ‹ญแˆ›แŠ–แ‰ต แŠฅแŠ“ แ‰…แ‹ฑแˆต แŒˆแ‰ฅแˆญแŠคแˆ แ‰คแ‰ฐ แŠญแˆญแˆตแ‰ฒแ‹ซแŠ•

No worries, no sleep tonight.
๐Ÿ”ฅ3โค1
mustCode
Fyi my แ‹ฐแ‰ฅแˆญ is แ‹ฐแ‰ฅแˆจ แ€แˆแ‹ญ แŠ แ‰กแА แ‰ฐแŠญแˆˆแˆแ‹ญแˆ›แŠ–แ‰ต แŠฅแŠ“ แ‰…แ‹ฑแˆต แŒˆแ‰ฅแˆญแŠคแˆ แ‰คแ‰ฐ แŠญแˆญแˆตแ‰ฒแ‹ซแŠ• No worries, no sleep tonight.
แ‹ˆแ‰ แŠฅแŠ•แ‰ฐแ‹ แ‰ฐแˆฐแˆ˜แ‹ญแŠจ แ‰ฐแˆฐแˆ˜แ‹ญแŠจ แ‰ฐแŠญแˆˆ แˆƒแ‹ญแˆ›แŠ–แ‰ต/แช/
แˆตแˆแ‹ แŒฝแ‹ตแ‰… แŠฎแŠ•แŠจ แˆตแˆแ‹ แŒฝแ‹ตแ‰… แŠฎแŠ•แŠจ แ‰ฐแŠญแˆˆ แˆƒแ‹ญแˆ›แŠ–แ‰ต/แช/

"And for this reason, you were named Tekle Haymanot (Plant of Faith); O Tekle Haymanot, you became a witness of righteousness!"
โค3
โ€œแ‹จแ‰…แ‹ฑแˆณแŠ‘ แˆžแ‰ต แ‰ แŠฅแŒแ‹šแŠ แ‰ฅแˆ”แˆญ แŠแ‰ต แ‹จแŠจแ‰ แˆจ แАแ‹แขโ€
โ€” แˆ˜แ‹แˆ™แˆญ 116แฅ15
โค2
It's September 1st and I am here pushing for 50's
Thank you for all my beautiful subscribers ๐Ÿ™Œ
Special thanks to all of you who have been active on the channel๐Ÿซก

Cheers for more to come๐Ÿฅ‚
โค5๐ŸŽ‰2