...

/

Shared Kernel

Shared Kernel

Learn what a shared kernel is and how it helps bounded contexts share functionalities.

Let us assume a team has defined microservices based on the bounded contexts they have found out. Once they start building services, they notice that many of them share the same logic.

When building components such as microservices, one has to deal with many concerns, including logging, security, communication, and many more. These concerns are the common logic that can be shared between those components.

The space of this problem is shown in the image above. It depicts how two components that are perhaps evolved by two different teams share some logic (red lines). They have their own logic, but these two teams will be creating redundant ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy