Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
53
SymfonyCon Vienna 2024
Haylee Millar
December 14, 2024
Tweet
Share
Other Decks in Programming
See All in Programming
チームをチームにするEM
hitode909
0
300
全員アーキテクトで挑む、 巨大で高密度なドメインの紐解き方
agatan
8
20k
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
120
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
120
Microservices rules: What good looks like
cer
PRO
0
1.2k
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
400
AWS CDKの推しポイントN選
akihisaikeda
1
240
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
420
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
380
モデル駆動設計をやってみようワークショップ開催報告(Modeling Forum2025) / model driven design workshop report
haru860
0
260
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
120
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
310
Featured
See All Featured
How GitHub (no longer) Works
holman
316
140k
Code Reviewing Like a Champion
maltzj
527
40k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
Producing Creativity
orderedlist
PRO
348
40k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
How STYLIGHT went responsive
nonsquared
100
6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
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]