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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Haylee Millar
December 14, 2024
Programming
0
63
SymfonyCon Vienna 2024
Haylee Millar
December 14, 2024
Tweet
Share
Other Decks in Programming
See All in Programming
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
150
へんな働き方
yusukebe
6
2.9k
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
440
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.1k
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
190
Ruby and LLM Ecosystem 2nd
koic
1
1.4k
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
4
2.2k
Tamach-sre-3_ANDPAD-shimaison93
mane12yurks38
0
190
Feature Toggle は捨てやすく使おう
gennei
0
380
Understanding Apache Lucene - More than just full-text search
spinscale
0
140
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
190
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
150
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Design in an AI World
tapps
0
180
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The Curious Case for Waylosing
cassininazir
0
280
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Unsuck your backbone
ammeep
672
58k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
190
Balancing Empowerment & Direction
lara
5
1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
53k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
160
Designing for Timeless Needs
cassininazir
0
180
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]