I am looking for a microservices monorepo example,...
# help
s
I am looking for a microservices monorepo example, does anyone know of any?
t
can you expand more on what you mean by microservices?
s
different services each with separate databases and treated as independent, that includes independent deployment.
t
are you new to serverless architectures?
need to understand your context so I can recommend what to look into
s
I am new yes
t
gotcha, I'd suggest trying to mentally reset because serverless is fairly different. The notion of microservices are less relevant since everything can be broken down into quite granular pieces
a single function for example can be thought of as a microservice. It can be updated independently and even be written in a different language. That's way more granular than traditional microservices
s
need separated apis that comunicate using saga pattern. I also need to implement some CQRS.
t
I'd still strongly recommend going with our monorepo setups to start. We've rarely ever seen anyone have needs that outgrow that
s
am I able to deploy individual functions?
t
The way cloudformation works it only deploys "diffs" of what's changed so it doesn't matter if you have 1000 functions, if you only change 1 that's all that will deploy. Completely separate deployments are not recommended unless there's an extremely advanced usecase
s
interesting
ok, will keep reading documentations, thank you very much for your help and your work in this project.