Replies: 4 comments
-
|
Thanks for summarizing the monolithic arguments @DevEpso — those are all valid points, especially from a deployment and user-friendliness perspective. However, I’d like to add a few thoughts on why a microservice-oriented (or at least modular) architecture might still be the better long-term choice for Vault-Web:
That said, I completely agree that for non-technical self-hosters, ease of deployment is important. In short: What is your opinion @MaximilianRau04 ? |
Beta Was this translation helpful? Give feedback.
-
Could be easily done by building dockerfiles (or even better a compose file which starts every microservice separately) or other scripts to build either one executable or each by itself and connect it to each other "manually" using configuration files which can be overwritten by environment variables in the docker files for example.
This point is kinda true when using normal http connections between the backend services, but could be designed using grpc which makes communication and overhead smaller due to better optimization because of the underlying protocol.
A JWT could handle that by sending a jwt which includes all necessary informations it can be decoded using the private key and the permissions dont need to be fetched from the auth service, so only for refreshing the token etc. this endpoint is needed.
You mean like a "router" for routing the requests to the corresponding microservice? |
Beta Was this translation helpful? Give feedback.
-
|
I suggest introducing a new repo for an API Gateway, which will handle all authentication for all our services. This way, we can centralize authentication and avoid having to change the security logic in every single repo. |
Beta Was this translation helpful? Give feedback.
-
|
I clearly consider a modular or hybrid approach to be the better choice for Vault-Web:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As of right now Vault-Web consists of multiple services that each receive their own backend. Thereby we currently follow a Micro Services Architecture. Though a proper discussion for this is necessary, since it could make sense to move it all into the same Spring Boot Backend.

Which arguments support the monolithic structure for Vault-Web?
I vote for a change of the architecture to a monolith one.
Beta Was this translation helpful? Give feedback.
All reactions