Cloud-Native Micro Applications Best Practices
To implement a micro application architecture, you should consider the following best practices to ensure performance, reliability, and security.
-
Applications follow a unified UX/UI framework
-
Applications and services run distributed and stateless
-
Use a WAF
-
All applications share the same URL domain with different subpaths or subdomains
-
Use an app hub for better accessibility
-
Test at the application level
-
Organize the team based on the business use case
-
Be sure there is only one team leader or product owner
-
Use CI (continuous integration) and CD (continuous delivery) software
-
Have a dedicated DevOps team for the whole organization or environment
-
Set a clear governance framework
-
Use separate data stores
-
Use circuit breakers
-
Ensure API changes are backward compatible
-
Follow best practices on versioning
-
Use individual repositories and DevOps per apps
-
Promote communication among teams
-
Assess security per application and per system individually
-
Perform deployments individually and automatically
-
Follow the best testing practice for each stack
-
Use the right stack for the right app
-
Do not over diversify the stack
-
Contain each application individually
-
Use a single logging and monitoring system
-
Keep all codebases at a similar level of maturity
-
Mark your application with the right maturity level, e.g., alfa, beta, released
-
Use code scanner
-
Use DNS addresses
-
Build services that can communicate with each other