I tried advanced search features of Redis in Python and here is what happened

preview_player
Показать описание

I was curious to see if Redis is capable of supporting advanced queries like we do in SQL databases such as aggregations, where clause, etc. It did not disappoint. In this video, I'll go over 10 different queries and show you how you can use it in your own Redis project. I'm using the Redis OM Python SDK, Redis Insight GUI tool, the RediSearch module and Python to perform these queries.
Redis OM SDK (Python)
Redis Insight Desktop GUI
Redis Cloud (Sign up and get $200 credit, plus a chance to win a Telsa)
Redis Launchpad (Contains 100s of Redis examples)
Developer Hub (Start here)

📚📚About
In this dense tutorial, I explain how to use advanced redisearch querying functionalities using python for full text searching, indexing, querying, tag searches, geo localization, aggregation, grouping, filtering and much more. The tutorial also shows you how to connect to redis cloud as well as localhost. The code is oriented towards an employee management backend - but is pretty generic in a sense that you could re-use the code for your beautiful app that you're trying to develop and sell.

⏲⏲Outline
00:00 Introduction
00:49 Redis Cloud Registration + Tesla giveaway participation
01:24 Preparing our localhost
02:08 Docker Container
04:32 venv configuration for virtual environment
07:07 RedisInsight Configuration (optional)
08:07 Database employee records
09:05 Employee HashModel
10:38 Employee JSONModel
12:03 Upload Employees (localhost way)
14:31 Upload to Redis Cloud (redis cloud way)
16:12 SEARCH BY first name
18:35 RediSearch Client
23:48 Wildcard searches
25:06 SEARCH by first name and last name
25:52 SORT BY Salary (Ascending)
26:53 SORT BY Salary (Descending)
27:38 Aggregate reducers
28:37 Aggregate alias
30:04 Aggregate limit
30:49 GROUP BY department
32:21 GROUP BY department only those who are admins
33:51 GROUP BY salary
35:12 Count number of employees w/ salary greater than 75K USD
37:48 SEARCH BY tags ( single tag )
41:09 SEARCH BY tags ( multiple tags )
42:05 SEARCH BY GEOLOCATION
45:10 Outro

📚📚 MY FREE ONLINE COURSES:

CREDITS x MENTIONS:

📚📚 OTHER RECOMMENDED COURSES

BE MY FRIEND:

WHO AM I:


GET IN TOUCH:
I try my best to respond to each and every comment here on YouTube, you guys are my family ❤️

#database #tutorial #programming
Рекомендации по теме
Комментарии
Автор

This is one of the highest quality programming tutorials I’ve seen.Even online courses from universities aren’t this well made made.Thank you for putting this together!

markowankko
Автор

26:38 “you’ve got me with the lowest salary” 😂

marcoromano
Автор

30:32 love the way you link different modules.

sharellrussum
Автор

Honestly you have such a gift, I don’t even think redis themselves could come up with a better commercial

azadnebu
Автор

I am somewhat new to Redis and you made it so simple totally liked it

birgit
Автор

One of the best back-end focused python used tutorials I have seen in my life.

karljonson
Автор

quality programming tutorials I’ve seen.Even online courses from universities aren’t this well made made.Thank you for putting this together!

ЮраФилимонов-сл
Автор

Found your god-sent channel on Reddit !

firatgilrobnik
Автор

You just totally changed my understanding of Redis at 1 AM. Excellent video.

KeralaPostnews
Автор

Ahmad you are doing a wonderful job and you need more recognition man.Keep up the good work.

piasalund
Автор

I'd like to see a video on etcd. Not only is it a powerful key-value store, but understanding how it uses the raft algorithm in a cluster is amazing.

fundunia
Автор

Now repeat this 100 seconds video 10 more times. I love this channel. Thanks Jeff

chriscostantine
Автор

Redis has been my go-to primary datastore for over a year now, love working with it.

SLAMPRODUCTION
Автор

This is a very diligent, clear and concise explanation and demonstration.

dmitriycesarev
Автор

This is the only programming channel I will highly recommend to anyone.Ahmad's lessons are very concise and easily understandable way of teaching.

claramorriso
Автор

Your content really stands out and you've put so much thought into your videos!

yusufundunyas
Автор

I was waiting for this video for long! Thank you Jeff!

muzzy
Автор

I have learnt a lot of new things that I have never worked with from your videos, like AWS, nginx, kubernetes, graphQL(and other dbs), typescript to name a few. One thing that I don't understand is how they work together. I would really love to see a video where you design a mock system using all of these (and possibly more) and explain each of their roles and why you chose it (kinda like your reverse-cloud migration video using raspberry pi).

mrfife
Автор

Very interesting and informative! I'm proud to have found you!

foreveryoung
Автор

very diligent, clear and concise explanation and demonstration

katiawinter