Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SymfonyCon Vienna 2024

SymfonyCon Vienna 2024

Haylee Millar

December 14, 2024
Tweet

Other Decks in Programming

Transcript

  1. Goals and expectations During this talk we will explore: ▪

    What a microservice is ▪ The pros and cons ▪ Evaluating when to use them ▪ A real example Questions may be asked at the end of the presentation.
  2. When to use microservices When you need: ▪ Autonomy ▪

    Distinct functionalities ▪ Independent deployment
  3. An old system in need of new features Legacy version

    of Drupal + A need for anti user abuse measures = Microservice discussions
  4. Know Your Customer (KYC) Service that provides logic to: ▪

    Validate customer identity ▪ Evaluate financial risk Building a fraud prevention component Moritz Schuh
  5. Starting small KYC 1.0.0 included: ▪ User score service ▪

    User data sync ▪ Staff verification ▪ Grantlists
  6. Building blocks CI/CD & Testing • PHPUnit • GitLab CI

    scripts Cron / Symfony scheduler • Sync user data • Sync grantlists Bundles Keeping it simple yet secure.
  7. Messenger component ▪ In version 1.7 ▪ Handles messaging between

    applications ▪ Used to retrieve IP fraud check
  8. Deployed on Upsun ▪ The official PaaS for Symfony ▪

    Free trial ▪ CLI or UI can be used Deploy Symfony Upsun Docs
  9. Now KYC 2.23.0 New features: ▪ Types of scores ▪

    External risk assessments ▪ Checks for card testing ▪ Duplicated/related accounts ▪ Machine learning ▪ More complex overall user score
  10. Release timeline V 2.0 Dec ‘23 V 2.22 Dec ‘24

    V 1.5 May ‘23 Designed Jun ‘22 Implement Now 11 releases 10 releases 22 releases V 1.0 Nov ‘22