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
Learning to Love SOA
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Randall Degges
September 25, 2014
Programming
0
460
Learning to Love SOA
A story about programming big things.
Randall Degges
September 25, 2014
Tweet
Share
More Decks by Randall Degges
See All by Randall Degges
How to Lose 500k in 5 Minutes
rdegges
0
550
Useful Cryptography, An Introduction
rdegges
0
830
12 Factors of Pain and Suffering
rdegges
3
1k
An Introduction to PASETO Tokens
rdegges
0
2k
JWTs Suck
rdegges
24
27k
Almost Everything You Ever Wanted to Know About Web Authentication in Python
rdegges
7
1.3k
Almost Everything You Ever Wanted to Know About Web Authentication in Node
rdegges
13
2.3k
WTF Are APIs?!
rdegges
4
930
Fuck It: Let's Have Fun - Building a Top Torrents API
rdegges
2
730
Other Decks in Programming
See All in Programming
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
3.4k
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
4.9k
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
100
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
1.2k
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
110
OTP を自動で入力する裏技
megabitsenmzq
0
130
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
130
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
240
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
190
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
160
安いハードウェアでVulkan
fadis
1
840
Tamach-sre-3_ANDPAD-shimaison93
mane12yurks38
0
190
Featured
See All Featured
How to build a perfect <img>
jonoalderson
1
5.3k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
110
Into the Great Unknown - MozCon
thekraken
40
2.3k
30 Presentation Tips
portentint
PRO
1
260
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
260
Automating Front-end Workflow
addyosmani
1370
200k
Building Adaptive Systems
keathley
44
3k
RailsConf 2023
tenderlove
30
1.4k
GraphQLとの向き合い方2022年版
quramy
50
14k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
330
The Invisible Side of Design
smashingmag
302
51k
Transcript
A story about programming big things. Learning to Love SOA
@rdegges @gostormpath
I’m Randall Degges Developer Evangelist at Stormpath Python / Node
/ Go Hacker
None
CNAM? Incoming Call: 818-217-9229 DEGGES,RANDALL
The Plan OpenCNAM DEGGES,RANDALL 818-217-9229
Mike: So… Wanna build it? Me: Sure… Why not?
None
Monolithic Architecture A single codebase that is responsible for handling
all site functionality.
Service Oriented Architecture Many codebases that each do one thing
and one thing only.
opencnam Github Repos • Public facing website. • Developer API.
• Developer documentation. • Billing logic. • Email stuff. • Telephony interconnect. Monolithic App
Load Balancer Web Server Web Server Postgres Request
None
None
Problems :(
None
opencnam-www Rendering templates. Sending POST requests to my backend. Decoupling
the Front End
Load Balancer Web Server Postgres Request opencnam Load Balancer Web
Server Request opencnam-www
None
Web Server Postgres
opencnam-auth • Create users. • Edit users. • Delete users.
Decoupling the Users
Backend Request opencnam Backend Request opencnam-www Backend Request opencnam-auth
None
opencnam-api • Telephony logic. • API logs. • API cache.
Decoupling the API
Backend Request opencnam-api Backend Request opencnam-www Backend Request opencnam-auth
opencnam-billing opencnam-www opencnam-auth opencnam-api OpenCNAM Services opencnam-logs opencnam-stats
What I’ve Learned
Small codebases are easier to work with.
Small codebases are easier to scale.
Small codebases are more fun.
You can write less code.
The hardest thing about SOA is... opencnam-auth
• User account storage / encryption. • Authentication. • Authorization.
• REST API management. • Social login. End User Your Webserver Stormpath API Stormpath
You’re the best! @rdegges @gostormpath