Тёмный
No video :(

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

CodeWithRajRanjan
Подписаться 20 тыс.
Просмотров 19 тыс.
50% 1

In this video we will create a project where in we will use the python and Redis to create a background job processing system . We will be using the Redis Queue library to push jobs using the FastAPI Rest server.
References
- Code
github.com/sel...
- Install Redis using docker and docker compose | Redis Insight docker installation
• Install Redis using do...
- Install Redis using docker compose
selftuts.in/ins...

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@Megalon11235
@Megalon11235 Год назад
Put forward extremely simply. Straigh-forward, to-the-point and no fluff! 11/10 would definitely recommend to everyone.
@khanshehryar2258
@khanshehryar2258 9 месяцев назад
Just looking like a WOW. I was just sacred of this topic. You made it very easy.
@codewithrajranjan
@codewithrajranjan 9 месяцев назад
So beautiful so elegant just looking like a wow
@ammadkhan4687
@ammadkhan4687 8 месяцев назад
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 8 месяцев назад
Thanks . If you can explain your current architecture then i would be able to help
@stepkurniawan
@stepkurniawan 7 месяцев назад
We can clearly see the high quality video you put into. thanks!
@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!
@sany2k8
@sany2k8 10 месяцев назад
Do you have the next part of it? Reading data from redis queue and process.
@marcgentner1322
@marcgentner1322 2 месяца назад
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?
@contactkashif
@contactkashif 6 месяцев назад
Nice tutorial. I don't get which part was the consumer?
@nisharohilla5918
@nisharohilla5918 4 месяца назад
Thank you for the video Sir, Is there a way to count the pending queues in redis?
@maheshmmmec
@maheshmmmec 2 месяца назад
Where would this function be executed, on the same compute where fast api is running?
@billluo9568
@billluo9568 10 месяцев назад
Easy to understand!
@manjit1305
@manjit1305 Месяц назад
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'
@MohammadDLitoo
@MohammadDLitoo 4 месяца назад
awesome tut... is it possible for you to show us celery rabbit mq grpc in python in future ?
@codewithrajranjan
@codewithrajranjan 4 месяца назад
Sure . Will keep that in mind and try to make content on that
@abhishekbhosale3628
@abhishekbhosale3628 2 месяца назад
How do we start workers on different machines rather than same machine as the server ?
@betterhumans1752
@betterhumans1752 5 месяцев назад
How can I have a background process that uses a UI so the user can alter settings?
@stestingtesting
@stestingtesting 2 месяца назад
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 5 месяцев назад
There is a guide to make this in production? Thanks 🎉
@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
@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.
Далее
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
Learn Redux Toolkit in under 1 hour
58:10
Просмотров 137 тыс.
Cristiano Ronaldo Surpassed Me! #shorts
00:17
Просмотров 13 млн
Friends
00:32
Просмотров 250 тыс.
Modus males sekolah
00:14
Просмотров 9 млн
Как дела перцы?
00:25
Просмотров 87 тыс.
Distributed Computing using a Redis Queue
41:11
Просмотров 12 тыс.
FastAPI, Flask or Django - Which Should You Use?
9:49
FastAPI Celery, Flower and Docker
29:33
Просмотров 54 тыс.
Why Developers Are OBSESSED With Obsidian
11:26
Просмотров 52 тыс.
What is a MESSAGE QUEUE and Where is it used?
9:59
Просмотров 969 тыс.
Python and Redis Tutorial - Caching API Responses
32:26
Cristiano Ronaldo Surpassed Me! #shorts
00:17
Просмотров 13 млн