Slide 1

Slide 1 text

Is the monolith a problem? Chikahiro Tokoro Euruko 2024 Lightning Talk

Slide 2

Slide 2 text

is the microservices a solution? ✅

Slide 3

Slide 3 text

What are issues of the monolith? Scalability? Productivity? Maintainability? Autonomy?

Slide 4

Slide 4 text

Tobi Lutke (Shopify co-founder) - X Scalability?

Slide 5

Slide 5 text

Productivity?

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Macro trends in the tech industry | April 2024 | Thoughtworks

Slide 8

Slide 8 text

Is the monolith a problem? No Then what’s the problem?

Slide 9

Slide 9 text

Jason Warner (Github ex-CTO) - X

Slide 10

Slide 10 text

Modular Monolith

Slide 11

Slide 11 text

High cohesion is necessary

Slide 12

Slide 12 text

God model

Slide 13

Slide 13 text

God model This is a problem!

Slide 14

Slide 14 text

God model

Slide 15

Slide 15 text

2. Refactoring God Model 1. Better Model Design How to get high cohesion?

Slide 16

Slide 16 text

DRY is about Knowledge | Mathias Verraes Domain-Driven Design 1. Better Model Design

Slide 17

Slide 17 text

User type: admin/customer/seller Admin Customer Seller Mixed model 1. Better Model Design

Slide 18

Slide 18 text

Order status: accepted / shipped Product Customer Domain crossing model Order Product Customer Shipment 1. Better Model Design

Slide 19

Slide 19 text

2. Refactoring God Model ● Business logic layer ● Persistent layer

Slide 20

Slide 20 text

2. Refactoring God Model ● Business logic layer ● Persistent layer

Slide 21

Slide 21 text

for the Database Migration Euruko 2023 "GENERATE ANONYMISED DATABASE WITH MASKING" 2. Refactoring God Model

Slide 22

Slide 22 text

Is the monolith a problem? No The problem is the God model (I think)

Slide 23

Slide 23 text

Let’s have a chat! https://chikahirotokoro.com/ Chikahiro