Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SymfonyCon Vienna 2024
Search
Haylee Millar
December 14, 2024
Programming
0
28
SymfonyCon Vienna 2024
Haylee Millar
December 14, 2024
Tweet
Share
Other Decks in Programming
See All in Programming
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
730
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
320
Domain-Driven Transformation
hschwentner
2
1.9k
Formの複雑さに立ち向かう
bmthd
1
810
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
35
14k
ASP. NET CoreにおけるWebAPIの最新情報
tomokusaba
0
360
定理証明プラットフォーム lapisla.net
abap34
1
1.8k
負債になりにくいCSSをデザイナとつくるには?
fsubal
9
2.4k
Pulsar2 を雰囲気で使ってみよう
anoken
0
230
ISUCON14公式反省会LT: 社内ISUCONの話
astj
PRO
0
190
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
240
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Bash Introduction
62gerente
610
210k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Gamification - CAS2011
davidbonilla
80
5.1k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
550
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Building Applications with DynamoDB
mza
93
6.2k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Transcript
Crafting a microservice that fits your needs Haylee Millar
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.
Microservices
What is a microservice? UI Microservice Microservice Microservice Microservice
The pros ▪ Easily scalable ▪ Agility ▪ Technological freedom
▪ Fault isolation
The cons ▪ Complexity ▪ Difficulty tracing bugs ▪ Increased
security responsibility
When to use microservices When you need: ▪ Autonomy ▪
Distinct functionalities ▪ Independent deployment
Based on a true story…
An old system in need of new features Legacy version
of Drupal + A need for anti user abuse measures = Microservice discussions
Know Your Customer (KYC) Service that provides logic to: ▪
Validate customer identity ▪ Evaluate financial risk Building a fraud prevention component Moritz Schuh
Starting small KYC 1.0.0 included: ▪ User score service ▪
User data sync ▪ Staff verification ▪ Grantlists
Starting small Accounts Drupal KYC Symfony Auth sync sync get
score
Building blocks CI/CD & Testing • PHPUnit • GitLab CI
scripts Cron / Symfony scheduler • Sync user data • Sync grantlists Bundles Keeping it simple yet secure.
Bundles ▪ Jose Framework ▪ Lexik JWT Authentication ▪ Doctrine
▪ Doctrine Migrations
Messenger component ▪ In version 1.7 ▪ Handles messaging between
applications ▪ Used to retrieve IP fraud check
Deployed on Upsun ▪ The official PaaS for Symfony ▪
Free trial ▪ CLI or UI can be used Deploy Symfony Upsun Docs
Deployed on Upsun Symfony demo app:
Deployed on Upsun Pre-existing project:
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
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
Successes ▪ Quick development and releases ▪ Money saved ▪
Doesn’t need re-implemented
Challenges ▪ Data syncing from other services ▪ Increased complexity
for other teams, like Support
Thank you. Haylee Millar she/her Product engineer, Upsun
[email protected]