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
2014-11-04 - Dapeng - High scale coding
Search
SingaSUG
November 07, 2014
Technology
0
39
2014-11-04 - Dapeng - High scale coding
SingaSUG
November 07, 2014
Tweet
Share
More Decks by SingaSUG
See All by SingaSUG
Java/Spring and Node.JS side by side
singasug
0
190
Migrating to microservices (Carlos Queiroz)
singasug
0
220
Docker 101 - Mario Loriedo
singasug
0
260
Docker for Java/Spring developers
singasug
0
73
Cloud Foundry and Docker
singasug
0
190
Multi dimensional scaling with CouchBase
singasug
1
120
NoSql presentation from Clarence Tauro
singasug
2
190
Rx Java introduction
singasug
0
110
Spring Websockets
singasug
0
190
Other Decks in Technology
See All in Technology
Click A, Buy B: Rethinking Conversion Attribution in ECommerce Recommendations
lycorptech_jp
PRO
0
110
Geospatialの世界最前線を探る [2025年版]
dayjournal
1
260
WEBサービスを成り立たせるAWSサービス
takano0131
1
190
GoでもGUIアプリを作りたい!
kworkdev
PRO
0
160
物体検出モデルでシイタケの収穫時期を自動判定してみた。 #devio2025
lamaglama39
0
240
『バイトル』CTOが語る! AIネイティブ世代と切り拓くモノづくり組織
dip_tech
PRO
1
130
ニッポンの人に知ってもらいたいGISスポット
sakaik
0
180
AWSでAgentic AIを開発するための前提知識の整理
nasuvitz
2
220
LLMアプリの地上戦開発計画と運用実践 / 2025.10.15 GPU UNITE 2025
smiyawaki0820
2
680
新規事業におけるGORM+SQLx併用アーキテクチャ
hacomono
PRO
0
430
Wasmの気になる最新情報
askua
0
170
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
940
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
600
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
990
A Modern Web Designer's Workflow
chriscoyier
697
190k
Unsuck your backbone
ammeep
671
58k
Being A Developer After 40
akosma
91
590k
A better future with KSS
kneath
239
18k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
630
A Tale of Four Properties
chriscoyier
161
23k
Transcript
code.scale()
Dapeng hardcore developer technology lover
[email protected]
Why? The missing factor in scalability design
Our codes
Enterprise Architecture 101
Enterprise Architecture 101
Enterprise Architecture 101
Enterprise Architecture 101
Enterprise Architecture 101
Enterprise Architecture 101
Enterprise Architecture 101
Enterprise Architecture 101 What are the problems?
The ultimate software available fault tolerant precise customizable
Quest for scalability 3.2 billion 7 billion 8.74 million 99.9%
Evolution Experiment Elimination
Class
Package/Folder
Project Small Independent
System Minimize communication Monitoring
Developer - Deliberate Practise PractisePractise Good News x 2 Bad
News
Developer - Explore Library Language Concept
Developer - Think
Team - Conway’s Law Organizations which design systems ... are
constrained to produce designs which are copies of the communication structures of these organizations - M. Conway
Organization Culture Risk mitigation Grow team
Reforming Small reversible step
Reforming Multiple versions
Resist the itch Duplicate vs Reuse
Reuse - the dark side coupling over engineering hard to
get right
See the future?
public APIs, like diamonds, are forever when in doubt, leave
it out
Duplication - the good part
9317 x 7825 = ? 72,905,525
1000 x 2000 = ?
None
None
None
None
Duplication - the good part recognize the pattern
Resist the itch Rewrite vs Refactoring
Designed to sacrifice
Designed to Change The Architecture of Uncertainty Kevlin Henney
Recap “Enterprisy Architecture” Evolution techniques Duplicate vs Reuse Rewrite vs
Refactor
Happy Coding
ref http://en.wikipedia.org/wiki/Extinction http://en.wikipedia.org/wiki/Charles_Darwin http://news.discovery.com/earth/plants/874-million-species-on-earth-110823.htm http://www.infoq.com/presentations/architecture-uncertainty-nordevcon-2014 http://en.wikipedia.org/wiki/Conway's_law http://youtu.be/aAb7hSCtvGw http://martinfowler.com/bliki/SacrificialArchitecture.html http://code.flickr.net/2014/10/20/introducing-flickr-park-or-bird/ http://imgur.com/ONjXYnx
http://xkcd.com/1425/