-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Amresh Verma edited this page May 10, 2024
·
30 revisions
https://www.sayonetech.com/blog/bounded-context-microservices/
![image](https://private-user-images.githubusercontent.com/14867564/329616732-fbce78ff-5f2a-4a07-aa99-3a90e3e0d8f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNTA2OTEsIm5iZiI6MTcyNTE1MDM5MSwicGF0aCI6Ii8xNDg2NzU2NC8zMjk2MTY3MzItZmJjZTc4ZmYtNWYyYS00YTA3LWFhOTktM2E5MGUzZTBkOGY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDAwMjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ5YjBiOTBkOTAxMDRkZWVhNjEzYmYyMTU1ZjU3ZDViNTlhZGIzZDc1MjkwZTQ2ZDhjOWI4ODUyZTNiMTQyZDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.jUqUIEhJxCU3KD4vLUSHq466ba9QJEMFRVnV5PacCkM)
![image](https://private-user-images.githubusercontent.com/14867564/329630492-64586a51-5bd8-4270-8ee4-cba660bfb760.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNTA2O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wOTAxVDAwMjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUzZjJiYjdjZThmY2NkZWI1NjJjOTEzNjY2ZTMyOWNhNTE2YWZhOTM4NTdjM2ZmNTk0OGYyZGUxMTNlNmI2ZDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.dDDNPaJNkblomeom8V9CUpBVXGbvVra2RV3FotiiPQw)
![image](https://private-user-images.githubusercontent.com/14867564/329638956-cb61e694-a2ad-42cd-b961-4a157cc1c286.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNTA2OTEsIm5iZiI6MTcyNTE1MDM5MSwicGF0aCI6Ii8xNDg2NzU2NC8zMjk2Mzg5NTYtY2I2MWU2OTQtYTJhZC00MmNkLWI5NjEtNGExNTdjYzFjMjg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDAwMjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwNDdmNDM1N2ZiMTcwMTVlYzNjNzdjMjg5NjU4Mjg3NWM5YjhmZDcyM2ZhY2ZmNjE5ZmQ3OWI5MzdhNGMyYjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.OYUwdR1AL-CLY7jQ66DR2An1L_sF25fI44sxKRBs9ZE)
Saga pattern Answer
![image](https://private-user-images.githubusercontent.com/14867564/329644337-359ea644-c746-49a2-901f-a1f275a61b7e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNTA2OTEsIm5iZiI6MTcyNTE1MDM5MSwicGF0aCI6Ii8xNDg2NzU2NC8zMjk2NDQzMzctMzU5ZWE2NDQtYzc0Ni00OWEyLTkwMWYtYTFmMjc1YTYxYjdlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDAwMjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFjMzU3YjQ3MTE2NzYxZTk2MGExYzVkZDAxMDBjNDIyY2QzOWY0NzYyYWU3OWE3MjNkNTE5OTdhMDBlMjRlYWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3PNgShD2oLimN4K4RWi51IeO4acj02ZDSUuZw8WOo6g)
2Phase, 3Phase commit More Explanation
![image](https://private-user-images.githubusercontent.com/14867564/329650096-3aa2d3a5-d59d-4e37-872c-4792828efccb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNTA2OTEsIm5iZiI6MTcyNTE1MDM5MSwicGF0aCI6Ii8xNDg2NzU2NC8zMjk2NTAwOTYtM2FhMmQzYTUtZDU5ZC00ZTM3LTg3MmMtNDc5MjgyOGVmY2NiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDAwMjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIxNDQ0YzVkZjM2ZDI0Y2FjNzg1ZWY2M2YxNDkxYjYwNTAzN2I4OGI3OGViNTZlOGRkZTEwYzBjY2VkYjc4NWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.--216NE03GWzhgLDhhixe-1llfrQB13y54Sh9Ex7nlI)
![image](https://private-user-images.githubusercontent.com/14867564/329651750-843a81cd-5470-490b-a495-8924c8045ad6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNTA2OTEsIm5iZiI6MTcyNTE1MDM5MSwicGF0aCI6Ii8xNDg2NzU2NC8zMjk2NTE3NTAtODQzYTgxY2QtNTQ3MC00OTBiLWE0OTUtODkyNGM4MDQ1YWQ2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDAwMjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhNmYzNTcyYzEzZmNjOTgwNjY1NTE1YzRiNjY2ZWUzNGIyN2Q0OWZhMjY0YzExZDBkZmY3OGY2ZmIxNjY5NmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.XhMS-mU87VdFUlbQzm5QuclIBmPm-aHHrYkjc5yGSEY)
![image](https://private-user-images.githubusercontent.com/14867564/329655323-684e327c-a61f-4a03-b91c-78b3bc2e7322.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNTA2OTEsIm5iZiI6MTcyNTE1MDM5MSwicGF0aCI6Ii8xNDg2NzU2NC8zMjk2NTUzMjMtNjg0ZTMyN2MtYTYxZi00YTAzLWI5MWMtNzhiM2JjMmU3MzIyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDAwMjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzNjE5M2FhMDQ2ZGY4NTI4NDZiMDI4NDFmODAwMTA0MTJjZjQ4NjViMjkyNGU0NjM2ZDYwODM1YTQ0ZTliNmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.THJkjZtfXKLE1xRJRuGpVa0qHYhqbZ7bWF1C8sAlHqc)
![image](https://private-user-images.githubusercontent.com/14867564/329659003-8a8ed1cf-e2e0-4544-9d7f-bc2b40fe811f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxNTA2OTEsIm5iZiI6MTcyNTE1MDM5MSwicGF0aCI6Ii8xNDg2NzU2NC8zMjk2NTkwMDMtOGE4ZWQxY2YtZTJlMC00NTQ0LTlkN2YtYmMyYjQwZmU4MTFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDAwMjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwNGY1YzcwM2U5ZWQ3YzM4NTYwMmY3NDhjMmZkYzlmNjA3MzBlYmIyZDAzYTEwNzcwNWYzODlkMTJlZWViYjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KlWnttFMqpSUzYS2ynp6tTaQf6unZTUZkDPPaM3Wv7M)
Read write caching Answer
Distributed caching Answer
Diff between Future and Completable