SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
Microservice Best
Practices: The 80/20 Way
Improve productivity with Domain-Driven Design (DDD)
There are two phases to every DDD model: strategic and tactical.
The strategic phase ensures that design architecture encapsulates business capabilities.
The tactical phase, on the other hand, allows the creation of a domain model using different design patterns.
Within the DDD pattern, SoundCloud employs VAS as an aggregate.
VAS also enables the separation of concerns and provides a centralized orchestration.
It can execute authorization and orchestrate calls to associated services for metadata synthesis.
Have quicker responses with the Single
Responsibility Principle (SRP)
SRP is a microservice design principle in which each module or class is required to do one thing
assigned well enough for enhanced functionality.
One of the major benefits of SRP is reduced dependencies.
Gojek teams applied the single responsibility principle to added services for each function,
assigning tasks to each and reducing the load on a single service.
As a result, Gojek reduced its response time by 95% with the single principle responsibility
approach.
Enable service autonomy with independent
microservices
Independent microservice is a practice of taking the service isolation to a step further.
Through independent microservice practices, three forms of independence can be obtained.
Development teams at Amazon built “Apollo,” an automated deployment system based on the
decoupled services.
Further, they established a rule that all-purpose functions must communicate through a web
interface API.
Eventually, the deployment pipeline sequence was discovered to reduce manual handoffs for
improved efficiency of the entire system.
Embrace parallelism with asynchronous
communications
Without proper communication between services, the performance of your microservices can
suffer severely.
There are two communication protocols popularly used for microservices, Synchronous
communication & Asynchronous communication.
Flywheel’s engineers built the platform using a modular approach and microservice architecture.
They tied each microservice to a shared Redis cluster and used pub/sub (asynchronous
communications) to maintain inter-process communication.
Asynchronous communication assisted Flywheel in establishing a solid foundation for providing
real-time broadcasts to its FlyAnywhere consumers via Hydra.
Separate microservice database to reduce
latency
A separate microservice database allows services to store the data locally in a cache.
Latency is reduced as a result of this. Because there is no single point of failure with a distinct
data store, security and resilience are also improved.
Twitter migrated from monolithic software architecture to a microservices architecture in 2012.
They created a framework named Gizzard that helped them create distributed datastores and
added Cassandra as a data storage solution.
Another key aspect of Twitter’s dedicated database solution was the use of Twemcache and
Redis.
Containerize microservices to improve process
efficiency
Containers allow you to package the bare minimum of program configurations, libraries, and
binaries.
As a result, it is lightweight and portable across environments.
Kubernetes for Spotify was the solution to Helios’ inefficiency.
To avoid putting all of their eggs in one basket, Spotify engineers migrated some services to
Kubernetes, which runs alongside Helios.
They migrated over 150 services in order to handle 10 million requests per asecond.
Increase native UI capabilities with micro frontend
Micro frontend architecture is a method of breaking down a monolithic frontend into smaller elements.
With this approach, you can make changes to individual components and test and deploy them.
Facebook built a micro frontend solution called the BigPipe.
This allowed Facebook to break the web page into smaller components called “pagelets”.
Using BigPipe, Facebook has improved latency across browsers’ web pages.
Secure microservices for data protection
Data breaches cost businesses more than $2.9 million every minute.
After migration to the cloud environment, OFX needed a highly secure solution to increase
visibility and protection against cyber threats defined by the Open Web Application Security
Project (OWASP).
OFX deployed a security tool in the mid-tier environment with an agent on their web servers to
have visibility of several aspects, including,
Detection of suspicious patterns
Monitoring of login attempts
Blocking malicious traffic
Extensive penetration testing
It helped them detect anomalies and secure microservices.
Simplify parallel programming with immutable
APIs
Microservices and immutability both share the idea of parallelism, which also helps in applying
the Pareto Principle.
Immutable APIs can help your eCommerce platform secure users’ data.
Another key advantage of immutable API is parallel programming.
Immutable APIs solve this problem by restricting the side effects of one thread on others.
So, you can execute multiple threads in parallel, improving programming efficiency.
Increase delivery speeds with a DevOps culture
Adopting DevOps can help your organization with a cohesive strategy and efficient
collaboration, among other benefits.
DocuSign adopted the DevOps culture to improve collaboration between operation and
development team members.
DocuSign combines application mock tool with incident management and tests the app before
releasing it through simulations.
It helped them quickly build, test and release applications through a cohesive strategy.
80/20 the Simform way!
The 80/20 principle is all about reducing efforts and maximizing gains.
These microservice best practices can help you achieve maximum gains.
However, which one to choose remains to use case-specific.
Take the example of CrayPay, which needed an m-payment solution for retail payments.
Simform used the independent microservice best practices to help CrayPay create an m-
payment solution deployed across 50,000 retail locations.
Similarly, it is vital for you to consider use cases and business requirements before choosing a
microservice best practice.
Contact Us
Email Address
contactus@simform.com
Website
www.simform.com
Social Presence
twitter.com/simform
facebook.com/simform
linkedin.com/company/simform/

Contenu connexe

Similaire à Microservice Best Practices The 8020 Way.pdf

Cloud Native Application Development Guide – 2023
Cloud Native Application Development Guide – 2023Cloud Native Application Development Guide – 2023
Cloud Native Application Development Guide – 2023Lucy Zeniffer
 
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and MoreA Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and MoreSimform
 
DevOps in the Cloud new-Anamika.docx
DevOps in the Cloud new-Anamika.docxDevOps in the Cloud new-Anamika.docx
DevOps in the Cloud new-Anamika.docxAnamikaJha76
 
The App Evolution
The App Evolution The App Evolution
The App Evolution Dev_Events
 
The new developer experience
The new developer experienceThe new developer experience
The new developer experienceEric Cattoir
 
Application Modernization With Cloud Native Approach_ An in-depth Guide.pdf
Application Modernization With Cloud Native Approach_ An in-depth Guide.pdfApplication Modernization With Cloud Native Approach_ An in-depth Guide.pdf
Application Modernization With Cloud Native Approach_ An in-depth Guide.pdfbasilmph
 
IT 8003 Cloud ComputingFor this activi.docx
IT 8003 Cloud ComputingFor this activi.docxIT 8003 Cloud ComputingFor this activi.docx
IT 8003 Cloud ComputingFor this activi.docxvrickens
 
Best Practices for Microservices & API.pdf
Best Practices for Microservices & API.pdfBest Practices for Microservices & API.pdf
Best Practices for Microservices & API.pdfBahaa Al Zubaidi
 
Microservices Design Principles.pdf
Microservices Design Principles.pdfMicroservices Design Principles.pdf
Microservices Design Principles.pdfSimform
 
App Development Evolution: What has changed?
App Development Evolution: What has changed? App Development Evolution: What has changed?
App Development Evolution: What has changed? Dev_Events
 
Information on Cloud-native Applications
Information on Cloud-native ApplicationsInformation on Cloud-native Applications
Information on Cloud-native ApplicationsHTS Hosting
 
Red Hat: Three Pillars of Integration
Red Hat:  Three Pillars of IntegrationRed Hat:  Three Pillars of Integration
Red Hat: Three Pillars of IntegrationJudy Breedlove
 
Reimagine Application Modernization with Serverless Architecture
Reimagine Application Modernization with Serverless ArchitectureReimagine Application Modernization with Serverless Architecture
Reimagine Application Modernization with Serverless ArchitectureOpteamix LLC
 
The elegant way of implementing microservices with istio
The elegant way of implementing microservices with istioThe elegant way of implementing microservices with istio
The elegant way of implementing microservices with istioInho Kang
 
12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클
12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클
12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클Oracle Korea
 
PCF_Soln_Brief-New
PCF_Soln_Brief-NewPCF_Soln_Brief-New
PCF_Soln_Brief-Newkarunbakshi
 

Similaire à Microservice Best Practices The 8020 Way.pdf (20)

Cloud Native Application Development Guide – 2023
Cloud Native Application Development Guide – 2023Cloud Native Application Development Guide – 2023
Cloud Native Application Development Guide – 2023
 
Best DevOps and ML tools
Best DevOps and ML toolsBest DevOps and ML tools
Best DevOps and ML tools
 
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and MoreA Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
 
Twelve factor-app
Twelve factor-appTwelve factor-app
Twelve factor-app
 
DevOps in the Cloud new-Anamika.docx
DevOps in the Cloud new-Anamika.docxDevOps in the Cloud new-Anamika.docx
DevOps in the Cloud new-Anamika.docx
 
The App Evolution
The App Evolution The App Evolution
The App Evolution
 
App Development Evolution: What has changed?
App Development Evolution: What has changed? App Development Evolution: What has changed?
App Development Evolution: What has changed?
 
The new developer experience
The new developer experienceThe new developer experience
The new developer experience
 
Application Modernization With Cloud Native Approach_ An in-depth Guide.pdf
Application Modernization With Cloud Native Approach_ An in-depth Guide.pdfApplication Modernization With Cloud Native Approach_ An in-depth Guide.pdf
Application Modernization With Cloud Native Approach_ An in-depth Guide.pdf
 
IT 8003 Cloud ComputingFor this activi.docx
IT 8003 Cloud ComputingFor this activi.docxIT 8003 Cloud ComputingFor this activi.docx
IT 8003 Cloud ComputingFor this activi.docx
 
Best Practices for Microservices & API.pdf
Best Practices for Microservices & API.pdfBest Practices for Microservices & API.pdf
Best Practices for Microservices & API.pdf
 
Bluemix summary
Bluemix summaryBluemix summary
Bluemix summary
 
Microservices Design Principles.pdf
Microservices Design Principles.pdfMicroservices Design Principles.pdf
Microservices Design Principles.pdf
 
App Development Evolution: What has changed?
App Development Evolution: What has changed? App Development Evolution: What has changed?
App Development Evolution: What has changed?
 
Information on Cloud-native Applications
Information on Cloud-native ApplicationsInformation on Cloud-native Applications
Information on Cloud-native Applications
 
Red Hat: Three Pillars of Integration
Red Hat:  Three Pillars of IntegrationRed Hat:  Three Pillars of Integration
Red Hat: Three Pillars of Integration
 
Reimagine Application Modernization with Serverless Architecture
Reimagine Application Modernization with Serverless ArchitectureReimagine Application Modernization with Serverless Architecture
Reimagine Application Modernization with Serverless Architecture
 
The elegant way of implementing microservices with istio
The elegant way of implementing microservices with istioThe elegant way of implementing microservices with istio
The elegant way of implementing microservices with istio
 
12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클
12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클
12월 16일 Meetup [Deep Dive] Microservice 트래픽 관리를 위한 Istio 알아보기 | 강인호 컨설턴트, 오라클
 
PCF_Soln_Brief-New
PCF_Soln_Brief-NewPCF_Soln_Brief-New
PCF_Soln_Brief-New
 

Plus de Simform

SaaS Architecture.pdf
SaaS Architecture.pdfSaaS Architecture.pdf
SaaS Architecture.pdfSimform
 
VMs vs. Containers.pdf
VMs vs. Containers.pdfVMs vs. Containers.pdf
VMs vs. Containers.pdfSimform
 
Benefits of Containerization.pdf
Benefits of Containerization.pdfBenefits of Containerization.pdf
Benefits of Containerization.pdfSimform
 
Serverless Frameworks.pdf
Serverless Frameworks.pdfServerless Frameworks.pdf
Serverless Frameworks.pdfSimform
 
Microservice Design Patterns.pdf
Microservice Design Patterns.pdfMicroservice Design Patterns.pdf
Microservice Design Patterns.pdfSimform
 
Container Orchestration.pdf
Container Orchestration.pdfContainer Orchestration.pdf
Container Orchestration.pdfSimform
 
AWS Fargate vs. Lambda.pdf
AWS Fargate vs. Lambda.pdfAWS Fargate vs. Lambda.pdf
AWS Fargate vs. Lambda.pdfSimform
 
SaaS Development.pdf
SaaS Development.pdfSaaS Development.pdf
SaaS Development.pdfSimform
 
Containerization Best Practices.pdf
Containerization Best Practices.pdfContainerization Best Practices.pdf
Containerization Best Practices.pdfSimform
 
Web Application Development Cost.pdf
Web Application Development Cost.pdfWeb Application Development Cost.pdf
Web Application Development Cost.pdfSimform
 
Containerization Use Cases.pdf
Containerization Use Cases.pdfContainerization Use Cases.pdf
Containerization Use Cases.pdfSimform
 
Database DevOps.pdf
Database DevOps.pdfDatabase DevOps.pdf
Database DevOps.pdfSimform
 
Leading DevOps Tools for 2022.pdf
Leading DevOps Tools for 2022.pdfLeading DevOps Tools for 2022.pdf
Leading DevOps Tools for 2022.pdfSimform
 
Agile vs. DevOps.pdf
Agile vs. DevOps.pdfAgile vs. DevOps.pdf
Agile vs. DevOps.pdfSimform
 
DevOps Automation.pdf
DevOps Automation.pdfDevOps Automation.pdf
DevOps Automation.pdfSimform
 
How to Build Real-time Application with Node.js.pdf
How to Build Real-time Application with Node.js.pdfHow to Build Real-time Application with Node.js.pdf
How to Build Real-time Application with Node.js.pdfSimform
 
Docker Use Cases.pdf
Docker Use Cases.pdfDocker Use Cases.pdf
Docker Use Cases.pdfSimform
 
7 Biggest Web Development Challenges You Can’t Ignore in 2022_2.pdf
7 Biggest Web Development Challenges You Can’t Ignore in 2022_2.pdf7 Biggest Web Development Challenges You Can’t Ignore in 2022_2.pdf
7 Biggest Web Development Challenges You Can’t Ignore in 2022_2.pdfSimform
 
Types of Software Testing: Definition, Objectives and Advantages
Types of Software Testing: Definition, Objectives and AdvantagesTypes of Software Testing: Definition, Objectives and Advantages
Types of Software Testing: Definition, Objectives and AdvantagesSimform
 
Capital One DevOps Case Study: A Bank with the Heart of Tech Company
Capital One DevOps Case Study: A Bank with the Heart of Tech CompanyCapital One DevOps Case Study: A Bank with the Heart of Tech Company
Capital One DevOps Case Study: A Bank with the Heart of Tech CompanySimform
 

Plus de Simform (20)

SaaS Architecture.pdf
SaaS Architecture.pdfSaaS Architecture.pdf
SaaS Architecture.pdf
 
VMs vs. Containers.pdf
VMs vs. Containers.pdfVMs vs. Containers.pdf
VMs vs. Containers.pdf
 
Benefits of Containerization.pdf
Benefits of Containerization.pdfBenefits of Containerization.pdf
Benefits of Containerization.pdf
 
Serverless Frameworks.pdf
Serverless Frameworks.pdfServerless Frameworks.pdf
Serverless Frameworks.pdf
 
Microservice Design Patterns.pdf
Microservice Design Patterns.pdfMicroservice Design Patterns.pdf
Microservice Design Patterns.pdf
 
Container Orchestration.pdf
Container Orchestration.pdfContainer Orchestration.pdf
Container Orchestration.pdf
 
AWS Fargate vs. Lambda.pdf
AWS Fargate vs. Lambda.pdfAWS Fargate vs. Lambda.pdf
AWS Fargate vs. Lambda.pdf
 
SaaS Development.pdf
SaaS Development.pdfSaaS Development.pdf
SaaS Development.pdf
 
Containerization Best Practices.pdf
Containerization Best Practices.pdfContainerization Best Practices.pdf
Containerization Best Practices.pdf
 
Web Application Development Cost.pdf
Web Application Development Cost.pdfWeb Application Development Cost.pdf
Web Application Development Cost.pdf
 
Containerization Use Cases.pdf
Containerization Use Cases.pdfContainerization Use Cases.pdf
Containerization Use Cases.pdf
 
Database DevOps.pdf
Database DevOps.pdfDatabase DevOps.pdf
Database DevOps.pdf
 
Leading DevOps Tools for 2022.pdf
Leading DevOps Tools for 2022.pdfLeading DevOps Tools for 2022.pdf
Leading DevOps Tools for 2022.pdf
 
Agile vs. DevOps.pdf
Agile vs. DevOps.pdfAgile vs. DevOps.pdf
Agile vs. DevOps.pdf
 
DevOps Automation.pdf
DevOps Automation.pdfDevOps Automation.pdf
DevOps Automation.pdf
 
How to Build Real-time Application with Node.js.pdf
How to Build Real-time Application with Node.js.pdfHow to Build Real-time Application with Node.js.pdf
How to Build Real-time Application with Node.js.pdf
 
Docker Use Cases.pdf
Docker Use Cases.pdfDocker Use Cases.pdf
Docker Use Cases.pdf
 
7 Biggest Web Development Challenges You Can’t Ignore in 2022_2.pdf
7 Biggest Web Development Challenges You Can’t Ignore in 2022_2.pdf7 Biggest Web Development Challenges You Can’t Ignore in 2022_2.pdf
7 Biggest Web Development Challenges You Can’t Ignore in 2022_2.pdf
 
Types of Software Testing: Definition, Objectives and Advantages
Types of Software Testing: Definition, Objectives and AdvantagesTypes of Software Testing: Definition, Objectives and Advantages
Types of Software Testing: Definition, Objectives and Advantages
 
Capital One DevOps Case Study: A Bank with the Heart of Tech Company
Capital One DevOps Case Study: A Bank with the Heart of Tech CompanyCapital One DevOps Case Study: A Bank with the Heart of Tech Company
Capital One DevOps Case Study: A Bank with the Heart of Tech Company
 

Dernier

VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsBert Jan Schrijver
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationShrmpro
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...masabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 

Dernier (20)

VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 

Microservice Best Practices The 8020 Way.pdf

  • 2. Improve productivity with Domain-Driven Design (DDD) There are two phases to every DDD model: strategic and tactical. The strategic phase ensures that design architecture encapsulates business capabilities. The tactical phase, on the other hand, allows the creation of a domain model using different design patterns. Within the DDD pattern, SoundCloud employs VAS as an aggregate. VAS also enables the separation of concerns and provides a centralized orchestration. It can execute authorization and orchestrate calls to associated services for metadata synthesis.
  • 3. Have quicker responses with the Single Responsibility Principle (SRP) SRP is a microservice design principle in which each module or class is required to do one thing assigned well enough for enhanced functionality. One of the major benefits of SRP is reduced dependencies. Gojek teams applied the single responsibility principle to added services for each function, assigning tasks to each and reducing the load on a single service. As a result, Gojek reduced its response time by 95% with the single principle responsibility approach.
  • 4. Enable service autonomy with independent microservices Independent microservice is a practice of taking the service isolation to a step further. Through independent microservice practices, three forms of independence can be obtained. Development teams at Amazon built “Apollo,” an automated deployment system based on the decoupled services. Further, they established a rule that all-purpose functions must communicate through a web interface API. Eventually, the deployment pipeline sequence was discovered to reduce manual handoffs for improved efficiency of the entire system.
  • 5. Embrace parallelism with asynchronous communications Without proper communication between services, the performance of your microservices can suffer severely. There are two communication protocols popularly used for microservices, Synchronous communication & Asynchronous communication. Flywheel’s engineers built the platform using a modular approach and microservice architecture. They tied each microservice to a shared Redis cluster and used pub/sub (asynchronous communications) to maintain inter-process communication. Asynchronous communication assisted Flywheel in establishing a solid foundation for providing real-time broadcasts to its FlyAnywhere consumers via Hydra.
  • 6. Separate microservice database to reduce latency A separate microservice database allows services to store the data locally in a cache. Latency is reduced as a result of this. Because there is no single point of failure with a distinct data store, security and resilience are also improved. Twitter migrated from monolithic software architecture to a microservices architecture in 2012. They created a framework named Gizzard that helped them create distributed datastores and added Cassandra as a data storage solution. Another key aspect of Twitter’s dedicated database solution was the use of Twemcache and Redis.
  • 7. Containerize microservices to improve process efficiency Containers allow you to package the bare minimum of program configurations, libraries, and binaries. As a result, it is lightweight and portable across environments. Kubernetes for Spotify was the solution to Helios’ inefficiency. To avoid putting all of their eggs in one basket, Spotify engineers migrated some services to Kubernetes, which runs alongside Helios. They migrated over 150 services in order to handle 10 million requests per asecond.
  • 8. Increase native UI capabilities with micro frontend Micro frontend architecture is a method of breaking down a monolithic frontend into smaller elements. With this approach, you can make changes to individual components and test and deploy them. Facebook built a micro frontend solution called the BigPipe. This allowed Facebook to break the web page into smaller components called “pagelets”. Using BigPipe, Facebook has improved latency across browsers’ web pages.
  • 9. Secure microservices for data protection Data breaches cost businesses more than $2.9 million every minute. After migration to the cloud environment, OFX needed a highly secure solution to increase visibility and protection against cyber threats defined by the Open Web Application Security Project (OWASP). OFX deployed a security tool in the mid-tier environment with an agent on their web servers to have visibility of several aspects, including, Detection of suspicious patterns Monitoring of login attempts Blocking malicious traffic Extensive penetration testing It helped them detect anomalies and secure microservices.
  • 10. Simplify parallel programming with immutable APIs Microservices and immutability both share the idea of parallelism, which also helps in applying the Pareto Principle. Immutable APIs can help your eCommerce platform secure users’ data. Another key advantage of immutable API is parallel programming. Immutable APIs solve this problem by restricting the side effects of one thread on others. So, you can execute multiple threads in parallel, improving programming efficiency.
  • 11. Increase delivery speeds with a DevOps culture Adopting DevOps can help your organization with a cohesive strategy and efficient collaboration, among other benefits. DocuSign adopted the DevOps culture to improve collaboration between operation and development team members. DocuSign combines application mock tool with incident management and tests the app before releasing it through simulations. It helped them quickly build, test and release applications through a cohesive strategy.
  • 12. 80/20 the Simform way! The 80/20 principle is all about reducing efforts and maximizing gains. These microservice best practices can help you achieve maximum gains. However, which one to choose remains to use case-specific. Take the example of CrayPay, which needed an m-payment solution for retail payments. Simform used the independent microservice best practices to help CrayPay create an m- payment solution deployed across 50,000 retail locations. Similarly, it is vital for you to consider use cases and business requirements before choosing a microservice best practice.
  • 13. Contact Us Email Address contactus@simform.com Website www.simform.com Social Presence twitter.com/simform facebook.com/simform linkedin.com/company/simform/