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
50
SymfonyCon Vienna 2024
Haylee Millar
December 14, 2024
Tweet
Share
Other Decks in Programming
See All in Programming
[堅牢.py #1] テストを書かない研究者に送る、最初にテストを書く実験コード入門 / Let's start your ML project by writing tests
shunk031
10
4.4k
AI POSにおけるLLM Observability基盤の導入 ― サイバーエージェントDXインターン成果報告
hekuchan
0
710
アーキテクチャと考える迷子にならない開発者テスト
irof
9
3.2k
Module Harmony
petamoriken
2
470
AIの弱点、やっぱりプログラミングは人間が(も)勉強しよう / YAPC AI and Programming
kishida
9
5.1k
関数の挙動書き換える
takatofukui
4
730
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
640
Reactive Thinking with Signals and the new Resource API
manfredsteyer
PRO
0
110
「10分以内に機能を消せる状態」 の実現のためにやっていること
togishima
1
520
Flutterチームから作る組織の越境文化
findy_eventslides
0
460
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
4
1.9k
目的で駆動する、AI時代のアーキテクチャ設計 / purpose-driven-architecture
minodriven
8
2.8k
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
BBQ
matthewcrist
89
9.9k
Music & Morning Musume
bryan
46
7k
How to Ace a Technical Interview
jacobian
280
24k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
The Language of Interfaces
destraynor
162
25k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Side Projects
sachag
455
43k
Automating Front-end Workflow
addyosmani
1371
200k
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]