NewsCred Dhaka hosted an interactive session on MircroServices. The main focus of the event was to provide a platform for people to share their experiences, understand the architecture and hear about the challenges and benefits of continuous deployment.
Presenters: Asif Rahman (CTO), Brian Schmitz (Director of Engineering), Rana Khandakar (Lead Software Engineer), Ashrafuzzaman Jitu (Engineering Manager), and Zahiduzzaman Setu (Senior Software Engineer), as they share their experiences with MicroServices and in the process find out if it is right for you.
2. Overview
● Microservice! Is it a new thing?
● Microservice VS Monolith
● Traits of Microservice
● Breaking up a Monolith
● Deployment strategies of Microservice
6. ● Maintainability
○ Less code per system
○ More systems
● Deployability
○ More to deploy
○ Less to know about each deploy.
● Reliability
○ Less code causing failures
○ More network dependencies causing failure
Microservice vs Monolith
7. Microservice vs Monolith
● Scalability
○ More precise scaling
● Monitorability
○ More to monitor
○ More precise monitoring
8. Traits of Microservice:
● MicroServices
● Network Services
○ Minimal public API
○ Network calls are Expensive!
9. Traits of Microservice
● Organized around business capability
○ Cross functional teams
● Teams make their own decisions
● Eventually Consistent
○ Transaction’s do not exist!
● Design for failure
○ More external dependencies is more failure
modes
19. Read from new service storage
CMC
Platform
Licensed content
Interface
Customer content
Interface
Assets
20. An Independent Service is born
CMC
Platform
Licensed content
Interface
Customer content
Interface
Assets
21. Deploy a Microservice based Stack
Common traits
● Frequency of the deployment is high
● Lots of services
● Follow Continuous Delivery
● Requirement of HA
24. Why CI/CD
● The ability to release software anytime
● Parallelize and automate deployment
● Be able to scale
● Build artifacts once - deploy as needed
● Unlocks easy immutable infrastructure
● Deploy multiple services at once