Background job processing using Python, FastAPI and Redis Queue | Python | Message Queue

  Рет қаралды 22,405

CodeWithRajRanjan

CodeWithRajRanjan

Күн бұрын

Пікірлер: 25
@Megalon11235
@Megalon11235 Жыл бұрын
Put forward extremely simply. Straigh-forward, to-the-point and no fluff! 11/10 would definitely recommend to everyone.
@Induraj11
@Induraj11 21 күн бұрын
point to point.. made so easy.. subscribed bro.. Thanks for the video
@khanshehryar2258
@khanshehryar2258 Жыл бұрын
Just looking like a WOW. I was just sacred of this topic. You made it very easy.
@codewithrajranjan
@codewithrajranjan Жыл бұрын
So beautiful so elegant just looking like a wow
@stepkurniawan
@stepkurniawan 11 ай бұрын
We can clearly see the high quality video you put into. thanks!
@sany2k8
@sany2k8 Жыл бұрын
Do you have the next part of it? Reading data from redis queue and process.
@ammadkhan4687
@ammadkhan4687 11 ай бұрын
Very beautifully explained. I am planning to implement this scenario to replace azure queue. As that is costing us more for volume of Queues deployed there. Any similar idea or video will be very much appreciated. Thank you for your effort.
@codewithrajranjan
@codewithrajranjan 11 ай бұрын
Thanks . If you can explain your current architecture then i would be able to help
@maheshmmmec
@maheshmmmec 6 ай бұрын
Where would this function be executed, on the same compute where fast api is running?
@marcgentner1322
@marcgentner1322 5 ай бұрын
Do i setup the que on antoher server than the producer? Qnd what are the consumers? A application on a server or ? How do you host this fulltime?
@abhishekbhosale3628
@abhishekbhosale3628 5 ай бұрын
How do we start workers on different machines rather than same machine as the server ?
@contactkashif
@contactkashif 10 ай бұрын
Nice tutorial. I don't get which part was the consumer?
@betterhumans1752
@betterhumans1752 8 ай бұрын
How can I have a background process that uses a UI so the user can alter settings?
@KivySchool
@KivySchool Жыл бұрын
Thanks for your high quality tutorial. I am struggling to understand how to use `redis` to cache the response from some routes on FastAPI. For example, I have a route GET /posts. This route takes 50~70ms to process and return a response. How can I cache this response with redis, so that the next time someone query GET /posts in the next 30 seconds, it returns a faster response? And suppose someone makes a new post, how can I force the `cache` to refresh? I tried to use this library "pip install fastapi-cache2", but haven't had success using redis with it. I would appreciate a tutorial from you on this, thanks!
@stestingtesting
@stestingtesting 5 ай бұрын
i am getting Waiting for background tasks to complete. (CTRL+C to force quit) while sending bulk emails did you know the solution of this problem
@jimmyauris8412
@jimmyauris8412 8 ай бұрын
There is a guide to make this in production? Thanks 🎉
@billluo9568
@billluo9568 Жыл бұрын
Easy to understand!
@nisharohilla5918
@nisharohilla5918 8 ай бұрын
Thank you for the video Sir, Is there a way to count the pending queues in redis?
@chikosan99
@chikosan99 Жыл бұрын
Very nice (: So the job process happing in the redis server (worker) and not in the fastapi server ?! if my job have module depends ? Thanks
@manjit1305
@manjit1305 4 ай бұрын
i am using windows10 os. When i run the "rq worker" i get this error: child_pid = os.fork() ^^^^^^^ AttributeError: module 'os' has no attribute 'fork'
@murtazasingapurwala8044
@murtazasingapurwala8044 Жыл бұрын
Hey, actually i am receving an error ... ValueError: time data '' does not match format '%Y-%m-%dT%H:%M:%SZ' I am using windows subsystem for linux and have installed "python3-rq" library to run command "rq worker "
@nirajgautam403
@nirajgautam403 Жыл бұрын
How to get the status of the job continuously.
@codewithrajranjan
@codewithrajranjan Жыл бұрын
jobInstance.get_status(refresh=True) Possible values are queued, started, deferred, finished, stopped, scheduled, canceled and failed. If refresh is True fresh values are fetched from Redis.
@MohammadDLitoo
@MohammadDLitoo 8 ай бұрын
awesome tut... is it possible for you to show us celery rabbit mq grpc in python in future ?
@codewithrajranjan
@codewithrajranjan 8 ай бұрын
Sure . Will keep that in mind and try to make content on that
Distributed Computing using a Redis Queue
41:11
MathByte Academy
Рет қаралды 14 М.
Python Celery Distributed Task Queue | End to End Application with Celery
20:10
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Gbasgbos JS Series #javascript #js #gbasgbosjs
2:00
Ibrahim Joseph
Рет қаралды 9
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
pixegami
Рет қаралды 293 М.
Build an AI app with FastAPI and Docker - Coding Tutorial with Tips
35:18
FastAPI Celery, Flower and Docker
29:33
Very Academy
Рет қаралды 58 М.
Python and Redis Tutorial - Caching API Responses
32:26
Part Time Larry
Рет қаралды 57 М.
Modern Python logging
21:32
mCoding
Рет қаралды 209 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН