How to use Redis with Python | for beginners | DevOps

  Рет қаралды 13,977

That DevOps Guy

That DevOps Guy

2 жыл бұрын

Today we take a look at writing Python code to connect to a database. We extend our customer demo application to read and write data to a database.
We also take a look at high availability and scenarios to handle failures.
Subscribe to show your support! goo.gl/1Ty1Q2 .
Patreon 👉🏽 / marceldempers
Checkout the source code below 👇🏽 and follow along 🤓
Also if you want to support the channel further, become a member 😎
marceldempers.dev/join
Checkout "That DevOps Community" too
marceldempers.dev/community
Source Code 🧐
--------------------------------------------------------------
github.com/marcel-dempers/doc...
Python Guide for Beginners:
---------------------------------------------------
• Python for Beginners
Redis Guide for Beginners
--------------------------------------------------------------
• Redis beginners guide
Like and Subscribe for more :)
Follow me on socials!
marceldempers.dev
Twitter | / marceldempers
GitHub | github.com/marcel-dempers
Facebook | thatdevopsguy
LinkedIn | / marceldempers
Instagram | / thatdevopsguy
Music:
Track: JOURNAL - LIKE THAT | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / journal-like-that
Track: JOURNAL - DREAM | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / dream
Track: Reckoner - lofi hip hop chill beats for study~game~sleep | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / reckoner-lofi-hip-hop-...
Track: jimmysquare - Fog | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / s4oxglhz89am
Track: Fox Beat 2 - Joakim Karud - Balloons - Royalty Free Vlog Music [BUY=FREE] | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / joakim-karud-balloons-...
Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / parallel

Пікірлер: 18
@MarcelDempers
@MarcelDempers 2 жыл бұрын
Apologies for any quality reduction, I edited this one on a plane with poor audio equipment. Had to push the limits to get this one out 💪🏽🙂
@ole-jakobolsen3800
@ole-jakobolsen3800 7 ай бұрын
Rarely do I comment on a KZbin video. But I got to here - don't understand how this fantastic content has only 10k views 🙌
@keinezeit99
@keinezeit99 2 жыл бұрын
Man what you do is amazing and we appreciate it. Thanks!
@georgelza
@georgelza 2 жыл бұрын
nice timing :)
@Telepriester
@Telepriester Жыл бұрын
Great tutorial and super good explanations! Was very insightful and helped me a lot. Thank you very much for sharing this great content!
@davidcote3915
@davidcote3915 2 жыл бұрын
Amazing video! Perfect eleboration and very neat workflow! Next I'd ask 'how do we take snapshot in times?' If the cluster crashes, masters and slaves, what's the best way to prepare for disaster recovery? Writing to a nosql database? Dumping in a blob? How do you recover from a such backup? Thank you for the video!
@stefanschmidbauer6075
@stefanschmidbauer6075 2 жыл бұрын
Nice, very helpful to see every step of the dev process in detail like that. Great job 💪 For Redis: I'd got for all reads go to slaves, all writes to masters, is that a general good practice?
@MarcelDempers
@MarcelDempers 2 жыл бұрын
that's correct, that is a pattern many follows. it helps spread connections a little better. Thanks for the kind words 🙏🏼
@robsonpedroso9679
@robsonpedroso9679 Жыл бұрын
very good! tks
@georgelza
@georgelza 2 жыл бұрын
any chance you can share the environment (redis) parameters that you pass in, I must be missing where you create the connection and pass in things like the password (although your cluster from the previous video did not set a password in the configMap. - looks like masters are a comma del list of ip's for the master and the ip : port, ip:port an and sentinel you just pointing to one, would/could this be the k8S service sentinel or would this be a pod. why not point the master to the service ?
@georgelza
@georgelza 2 жыл бұрын
... my previous posting, when I tried to post via the sentinel, it complained about slots (I'm aware of what they are), wondering, have you tried multiple masters, with the slots (16k) split/defined for them, 3 masters each with say 2 replicates and the 3 sentinels.
@fartzy
@fartzy Жыл бұрын
Dang ur jacked bro. Nice video too
@Aju-G
@Aju-G 2 жыл бұрын
Could you explain how Kafka work with microservices. How to deploy production lambda and it's code rollout. Working of APIgateway in aws
@rauldeandrade
@rauldeandrade 2 жыл бұрын
Hi. I really love your videos. I've been looking for a while for content related to redis-stack and golang, but I haven't found anything comprehensive. I like the idea of how redis has different db types like redis graph and redis time series as well as their message queue. Could you do a follow up on your redis series to include a small micro service with redis, golang and their messaging queue and how it's different from using another messaging system like rabbitmq or kafka? I'm deeply grateful for all the knowledge you share with us and I've learned a lot from you that is practical implementation. Thank you
@dharmaputra7394
@dharmaputra7394 2 жыл бұрын
Request tutorial microservices with consul kubernetes
@georgelza
@georgelza 2 жыл бұрын
... I know you like running things straight in docker... but would/could be real nice if you maybe consider switching to k3d.. as it's closer to a probable deployment world. there are small nuisances that come into play with k8s thats not present in a straight docker drop. - friendly request.
@rqd3
@rqd3 Жыл бұрын
we get it u lift
@georgelza
@georgelza 2 жыл бұрын
... next time George, watch more of video before asking questions, do have a question now though, where does "my master" come from ?
Redis : The Basics for beginners
21:28
That DevOps Guy
Рет қаралды 30 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,4 МЛН
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 20 МЛН
$10,000 Every Day You Survive In The Wilderness
26:44
MrBeast
Рет қаралды 53 МЛН
Sprinting with More and More Money
00:29
MrBeast
Рет қаралды 82 МЛН
Python Tutorial: File Objects - Reading and Writing to Files
24:33
Corey Schafer
Рет қаралды 1,7 МЛН
Automate your job with Python
6:07
John Watson Rooney
Рет қаралды 328 М.
Top 5 Redis Use Cases
6:28
ByteByteGo
Рет қаралды 163 М.
Introduction to Helm | Kubernetes Tutorial | Beginners Guide
27:32
That DevOps Guy
Рет қаралды 165 М.
RabbitMQ : Message Queues for beginners
22:06
That DevOps Guy
Рет қаралды 170 М.
ВВЕДЕНИЕ В REDIS | Python 3, Питон 3
30:44
Андрей Иванов | Python
Рет қаралды 26 М.
5 New AI Tools You Should Try
9:18
Skill Leap AI
Рет қаралды 14 М.
What is Kafka | Tutorial | Beginners Guide
23:34
That DevOps Guy
Рет қаралды 20 М.
Python and Redis Tutorial - Caching API Responses
32:26
Part Time Larry
Рет қаралды 54 М.
Выложил СВОЙ АЙФОН НА АВИТО #shorts
0:42
Дмитрий Левандовский
Рет қаралды 1,4 МЛН
What percentage of charge is on your phone now? #entertainment
0:14
Nokia 3310 versus Red Hot Ball
0:37
PressTube
Рет қаралды 3,8 МЛН
Kalem ile Apple Pen Nasıl Yapılır?😱
0:20
Safak Novruz
Рет қаралды 1,2 МЛН