EVENTS IS THE SOLUTION. EVENT-DRIVEN ARCHITECTURE IN PYTHON

  Рет қаралды 7,923

Andrey Ivanov | Python

Andrey Ivanov | Python

2 жыл бұрын

Andrey Ivanov - Python
Use my discount link for OKEX crypto exchange: www.okx.com/join/PYTHONANDREY
My UDEMY courses: www.udemy.com/user/andrey-iva...
Donations: www.donationalerts.com/r/pyth...
Github: github.com/knucklesuganda
Telegram канал: t.me/pypapyrus
Other videos on Python: • Python
Leave your like and subscribe!
#Python #program #it #tutorial #guide #begginers #code #programming

Пікірлер: 10
@questionableperson8293
@questionableperson8293 4 ай бұрын
I love the fact that you showed us the main issue of using stuff such as dependencies injection then giving us a reason to use event bus
@programming_etc
@programming_etc 10 ай бұрын
The video is fire very informative. However I would like to add that you can use defaultdict from collections module for that purposes and avoid if-elses. I'm talking about building an initial event bus at 7:37. The video is great though keep it going!
@TheSillysoupman
@TheSillysoupman 7 ай бұрын
This was a clear explanation of the pros of using events, but it didn’t mention the pitfalls of that style of architecture. Obscuring the dependencies of certain actions (ie create_user -> send_email) makes it difficult to ensure atomicity over the aggregate of the actions (if sending an email fails, don’t register the user). Similarly, it makes it difficult to ensure proper isolation/concurrence safety (ie if you need to get a lock to do some action A, later when you’re handling the event sent from A, you don’t know if you still have that same lock or what the current context is. Those drawbacks makes it difficult to use an event oriented approach for complex cases unless you implement an even more complex distributed architecture.
@davidsyengo1893
@davidsyengo1893 Жыл бұрын
Clear and concise
@marcgentner1322
@marcgentner1322 Ай бұрын
How do you struture a big project with test based design in minde?
@wa.6006
@wa.6006 Жыл бұрын
Hi! Thanks for this video! I noticed you mentioned where each function might be in the code. Is it more common to have the event system structured as an object that stores event objects? (OOP) Or is it more common to have it in a more functional way as you presented (i guess) ? I'm currently practising to structure my code properly and learning some coding concept as such, but cant decide how it's best to structure my code in this case.
@angelbarrantes3226
@angelbarrantes3226 Жыл бұрын
great buddy, really practical and easy to implement... hope more videos from you and i will give you an star for you repo py_assimilator, it's good
@PythononPapyrus
@PythononPapyrus Жыл бұрын
Thanks!
@LAKD
@LAKD Жыл бұрын
It's rare to find videos where people actually explain their code clearly. People tend to just say what they type, instead of explaining the logic. You explained it perfectly, very practical and easy to understand that way!
@HannaTokarieva
@HannaTokarieva Жыл бұрын
Nice. I think you mean if handles is None: on the 9:20 ?
DATABASES IN MICROSERVICES. WHAT IS THE RIGHT WAY?
12:09
Andrey Ivanov | Python
Рет қаралды 271
ИВЕНТЫ - ЭТО РЕШЕНИЕ! EVENT-DRIVEN АРХИТЕКТУРА В ПИТОНЕ
20:21
Андрей Иванов | Python
Рет қаралды 4 М.
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 6 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 7 МЛН
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 124 М.
Python Asyncio, Requests, Aiohttp | Make faster API Calls
17:56
Patrick Collins
Рет қаралды 127 М.
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 375 М.
5 Tips To Write Better Python Functions
15:59
Indently
Рет қаралды 97 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 280 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,7 МЛН
Diving into Event-Driven Architectures with Python - Marc-André Lemburg
30:59
EuroPython Conference
Рет қаралды 1,9 М.
PLEASE Use These 5 Python Decorators
20:12
Tech With Tim
Рет қаралды 103 М.