messaging - a solution to reduce coupling
TRANSCRIPT
![Page 1: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/1.jpg)
Messaging – A solution to reduce coupling(Robust and Resilient Architecture)
![Page 2: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/2.jpg)
Less tolerant and resilient to problems
Changes to one module forces a
ripple effect of changes to other modules
Highly dependent solutions
Require more effort to maintain
![Page 3: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/3.jpg)
How software evolves?
![Page 4: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/4.jpg)
Scenario – A ‘simple’ card payment
In the beginning everything was simple
![Page 5: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/5.jpg)
Scenario – A ‘simple’ card payment
Then we needed to introduce antifraud
checks and update the user profile
![Page 6: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/6.jpg)
Scenario – A ‘simple’ card payment
Then we needed to send an email
acknowledgement to the user
![Page 7: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/7.jpg)
Scenario – A ‘simple’ card payment
Then we needed to check whether the user
was eligible for a bonus
![Page 8: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/8.jpg)
Scenario – A ‘simple’ card payment
Then we needed to check whether we need
to give commission to our affiliates
![Page 9: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/9.jpg)
![Page 10: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/10.jpg)
But what happens if one of the
dependencies fails?
![Page 11: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/11.jpg)
Does everything need to execute in
sequence?
![Page 12: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/12.jpg)
Required
Not required
Does everything need to execute in
sequence?
![Page 13: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/13.jpg)
Message based decoupling
![Page 14: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/14.jpg)
Messaging PatternsCompeting Consumers
Message
Queue
Producer1
Producer2
Producer3
Consumer1
Consumer2
Consumer3
![Page 15: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/15.jpg)
Messaging PatternsPublish / Subscribe
Queue1
Producer1
Producer2
Producer3
Consumer1
Consumer2
Consumer3
Exchange
Queue2
![Page 16: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/16.jpg)
Messaging PatternsRequest / Reply (RPC)
Queue1Requestor1 Replier1Exchange1
Queue2 Exchange2
![Page 17: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/17.jpg)
Messaging Advanced Patterns
• Control Bus
• Detour
• Wire Tap
• Smart Proxy
http://www.eipatterns.com
![Page 18: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/18.jpg)
Possible technologies that can be used
Client Web Servers Message Queue
Worker Server Worker Server
![Page 19: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/19.jpg)
Curious to learn more?
![Page 20: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/20.jpg)
Interested to implement in your solution?
![Page 22: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/22.jpg)
About Us• Betclic Everest Group, one of the world leaders in online
gaming, has a unique portfolio comprising variouscomplementary international brands: Betclic, EverestPoker/Casino, Bet-at-home, Expekt, Imperial Casino, Monte-Carlo Casino…
• Through our brands, Betclic Everest Group places expertise,technological know-how and security at the heart of ourstrategy to deliver an on-line gaming offer attuned to thepassion of our players. We want our brands to be easy to usefor every gamer around the world. We’re building ourcompany to make that happen.
• Active in 100 countries with more than 12 million customersworldwide, the Group is committed to promoting secure andresponsible gaming and is a member of several internationalprofessional associations including the EGBA (EuropeanGaming and Betting Association) and the ESSA (EuropeanSports Security Association).
![Page 23: Messaging - A solution to reduce coupling](https://reader033.vdocuments.mx/reader033/viewer/2022051414/55a4e43a1a28ab24748b460e/html5/thumbnails/23.jpg)
We want our Sports betting, Poker, Horse racing andCasino & Games brands to be easy to use for everygamer around the world. Code with us to make thathappen.
Look at all the challenges we offer HERE
Check our Employer Page
Follow us on LinkedIn
WE’RE HIRING !