Тёмный

Hexagonal architecture: the what, why and when? 

Yan Cui
Подписаться 6 тыс.
Просмотров 8 тыс.
50% 1

Hexagonal architecture, also known as "ports and adapters architecture", is a great way to structure your application to make them more flexible and testable.
The modular and layered approach makes your application much more testable. You can write high-quality, focused tests for each part of your application: unit tests for the core domain, and integration tests for the ports and adapters.
The flexibility it offers is also great for minimizing the cost of moving (or "vendor lock-in"). When you change your mind about a particular technology, you just need to replace the ports and adapters that are relevant to that technology. It minimizes the blast radius of such a migration.
In the context of serverless, it's useful in situations where you have a lot of complex business logic, or are facing uncertainty about the compute platform you need to use. For example, if you need to switch from Lambda to Fargate, you just need to change the input adapter layer.
This is a preview lesson from my latest course, "Testing Serverless Architectures". If you liked this, then please check out the full course at testserverlessapps.com.
You can get 15% OFF with the code "pandatube15" during checkout.
Hope to see you there!
✅ Recommended playlists:
Testing Serverless Architectures
• Serverless Testing: A ...
Learn to build Production-Ready Serverless Applications
• AWS Lambda: When to us...
My best videos of 2023
• Is AWS Bedrock the Ope...
🔔 For more free videos on RU-vid, subscribe to my channel:
/ @theburningmonk
💌 If you're hungry for more insights, best practices, and tips on building serverless applications, make sure to subscribe to my weekly newsletter and elevate your serverless game!
theburningmonk.com/subscribe
📚 My courses 📚
theburningmonk.com/courses
👨‍🏫 My hands-on serverless workshop 👨‍🏫
productionreadyserverless.com
🌐 Find me here
Twitter: / theburningmonk
LinkedIn: / theburningmonk
Blog: theburningmonk.com

Наука

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

 

24 авг 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@jaimearanzazu
@jaimearanzazu 10 месяцев назад
It's amazing to have this type of content coming from a super experienced dev like Yan. Watching videos is my preferred way of learning, so this is very convenient. Thank you for your great work, Yan!
@theburningmonk
@theburningmonk 10 месяцев назад
Thank you! And I’m Glad you enjoyed it :-)
@MisterKitKit
@MisterKitKit 10 месяцев назад
that is exactly what I wished exist :D so cool to see this architecture with a focus on serverless architecture. Thanks!
@theburningmonk
@theburningmonk 10 месяцев назад
Thank you, glad you liked it!
@JoeKiller
@JoeKiller 4 месяца назад
Yup, I'll just add to the chorus.. good stuff Yan. Thanks for sharing.
@theburningmonk
@theburningmonk 4 месяца назад
No worries, glad you enjoyed it!
@sethorell4739
@sethorell4739 5 месяцев назад
I, too, have found traditional Hexagonal Architecture to be overkill for my serverless applications. I remember saying "Aha! Yan also thinks this way." when I first took your "Testing Serverless Application" course. Thank you for putting this out in the public domain so I can share this with others.
@theburningmonk
@theburningmonk 5 месяцев назад
No probs! Glad you enjoyed it :-)
@lerneninverschiedenenforme7513
@lerneninverschiedenenforme7513 2 месяца назад
thank you very much!
@theburningmonk
@theburningmonk 10 месяцев назад
This is a preview lesson from my latest course, "Testing Serverless Architectures". If you liked this, then please check out the full course at testserverlessapps.com. You can get 15% OFF with the code "pandatube15" during checkout. Hope to see you there!
@lerneninverschiedenenforme7513
@lerneninverschiedenenforme7513 2 месяца назад
Feedback: Would be awesome, if the 'next lesson' could be linked in the description.
@theburningmonk
@theburningmonk 2 месяца назад
This is a preview lessons from my course, the "next lesson" it refers to is part of the course but I haven't released it on RU-vid. I've added a link to the full course in the description instead.
@devopmh
@devopmh 10 месяцев назад
Amazing content, Do you have some examples of this in code? I mean How do I create an adapter in this way?
@theburningmonk
@theburningmonk 10 месяцев назад
I don't have an example on hand to share, but Slobodan has an example lambda handler in a blog post here: vacationtracker.io/blog/big-bad-serverless-vendor-lock-in It's not a complete solution but might give you a rough idea.
Далее
What is AWS Step Functions? An in-depth overview.
7:04
Incredible magic 🤯✨
00:53
Просмотров 5 млн
FARUX RAIMOV AVJIGA CHIQDI - JAVOHIR🔥
01:01
Просмотров 975 тыс.
КРУТОЙ ФОКУС С ШАРАМИ
00:35
Просмотров 124 тыс.
Why I Quit the Scrum Alliance
7:58
Просмотров 10 тыс.
Hexagonal Architecture (All You Need to Know)
9:51
Просмотров 4,7 тыс.
🚀 The Clean Architecture (Ian Cooper)
53:05
Просмотров 83 тыс.
Blackview N6000SE Краш Тест!
1:00
Просмотров 30 тыс.