Software Architecture in Golang: Shared Database vs Database Per Service?

Опубликовано: 08 Апрель 2022
на канале: Mario Carrion
2,445
96

What's the difference between Shared Database and Database Per Service?

When we are talking about the Shared Database Pattern, we are talking about using one single datastore for the implemented services; in the case of Database Per Service pattern this means defining dedicated datastores per service with he end goal is to make this datastore only available to the service directly, no other direct access is allowed.

== Relevant Links

■ Software Architecture in Go/Golang:    • Software Architecture and System Desi...  

== All Go/Golang Playlists

■ Learning Relational Databases in Go/Golang:    • Learning Go/Golang: Relational Databases  
■ Building Microservices in Go/Golang:    • Building Microservices in Golang/Go  
■ Go/Golang Tools and Packages:    • Golang/Go Tools and Packages  
■ Learning Concurrency Patterns in Go/Golang:    • Learning Go/Golang Concurrency Patterns  
■ Learning Go/Golang :    • Learning Go/Golang  
■ Testing in Go/Golang:    • Testing in Golang/Go  

== Socials

■   / mariocarrion  
■   / mario.carrion  
■   / mariocarrion  

00:00 - Introduction to Shared Database vs Database Per Service
00:35 - Shared Database Pros
01:26 - Shared Database Cons
01:59 - Database Per Service Pros
02:32 - Database Per Service Cons
03:52 - Conclusion

=== Who am I?

Hello👋🏼! I'm Mario, a Hands-on Software Architect and Lead Backend Engineer with more than 16 years of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.

Every week I will share with you different topics I've learned while working for small startups and large companies including the processes I've followed over the years for successfully delivering complex enterprise systems from start to end.

Subscribe if you like Software Development, Software Architecture and Systems Design!

Keep it up. Don't give up!

#golang #softwarearchitecture #systemdesign

=== Our Vlog Channel

   / rubycarrion  

=== Affiliate links

■ Amazon Shop 🛒 https://www.amazon.com/shop/rubycarrion
■ Technical/Non-technical Books - Recommended by Mario Carrion 📚 https://www.amazon.com/shop/rubycarri...

DISCLAIMER: Some of the links shared above are affiliate links. As a member of these affiliate programs, I earn a small commission from your purchases at no additional cost to you. Thank you in advance for your support!


Смотрите видео Software Architecture in Golang: Shared Database vs Database Per Service? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mario Carrion 08 Апрель 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,445 раз и оно понравилось 96 людям.