Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20110821-webdevelopmentoncloudplatform-11082021...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
jnlin
April 14, 2012
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20110821-webdevelopmentoncloudplatform-110820211058-phpapp01.pdf
jnlin
April 14, 2012
Transcript
22 slides
WEB DEVELOPMENT ON CLOUD PLATFORM Jui-Nan Lin @COSCUP 2011
About this talk & me URL of this Slide:
http://0rz.tw/b8bfL QRCode: About me: Jui-Nan Lin (jnlin) Developer @ www.pixnet.net Twitter: @jnlin Google Plus: http://jnlin.org/+ Github: jnlin 2
很久很久以前… 其實也沒那麼久 網站 = Web Server &
Database Server & File Server 3
老闆忽然要一份報表 SELECT * FROM `UserData` WHERE … 4
有新的服務要開發 vi /usr/local/etc/apache/httpd.conf 增加 Virtual Host 5
有資料要處理、計算、轉檔… 找台辦公室閒置PC做? 一台PC跑十天 6
當網站長大… 使用者 UP! 訪客 UP! 資料 UP!
所以… 增加 Web Server 增加 Load Balancer 增加 Database Server 7
所以… 報表跑很久 老闆怒氣值++ 資料處理計算時間很久 工程師疲勞++
老闆怒氣值++ 新的服務要考慮HA與可擴充性 不能新服務倒站導致舊服務一起倒 成本++ 老闆怒氣值++ 8
總是要解決… Cloud Computing On demand Self-Service – 有需求時自助服務
Broad network access – 廣泛的網路連接 Resource pooling – 資源共享池 Rapid elasticity – 快速與彈性 Measured Service – 被量測的服務 包括收費方式與擴展 像電力、自來水一樣 9
總是要解決… On demand Self-Service 減少採購硬體的時間 減少人力成本(外包給專業的!)
Rapid elasticity 可程式化,使用API呼叫即可進行擴展 Measured Service 以真實使用量計費 避免閒置資源浪費 10
舉個例子… 痞客邦 PIXNET 新版相簿 11
新的相簿功能 100GB Storage Geolocation of photography 文字標籤
人臉標記 face tagging 共同相簿集 Please try it!! 12
人臉標記 先把人臉找到並且框出來,方便使用者標記 Open Source Solution OpenCV
Python binding 在 Amazon Web Services 上實做成一個 RESTful API (Private) 13
AWS Infrastructure 14 Data Center in Taiwan Storage (Images, Video,
…) RESTful API EC2 instance EC2 instance EC2 instance FaceDetection DB Server Web Server Web Server Users Job Worker Amazon Web Services
使用狀況 20天處理完約 187M 張照片 最多使用 50 個 Instance
15
其他的使用情況… 新的 Service API Service (Private & Public)
Data Mining & IR 有一些需要 Map-Reduce Release Build Testing, Prototyping 16
需要注意的事項 Cloud Computing ≠ High Availability google://AWS Judgment
Day 根據雲端的特性,設計適合的架構 以所有的Server與網路都會出包為前提 Cloud Computing ≠ Virtualization 17
實際案例? Amazon Web Services (AWS) Rackspace Linode
18
Amazon Web Services (AWS) http://aws.amazon.com/ From July 2006
功能最多也最完整 全世界都有機房 美國、歐洲、新加坡、日本 價錢… Reserved & Spot Instance 以小時計費,流量費用另計 有非官方的 iOS App 19
Rackspace http://www.rackspace.com/cloud/ GitHub 目前使用 品質… 價格
以小時計費或月租費,流量費用另計 20
Linode http://www.linode.com/ 其實是VPS 有提供 API - http://www.linode.com/api
iOS App - http://www.linode.com/iphone/ 價錢 以日計費,內含流量費用 預收一個月,中途取消會退還到帳戶內 21
Q&A Thank you! 22
More Decks by jnlin
See All by jnlin
工程師到技術主管的思維轉變_敏捷_疊代與商業.pdf
jnlin
0
300
工程師的商業思維:商業與技術架構的關係
jnlin
0
220
擁抱流量:打造破億流量的系統架構
jnlin
0
110
Modern_Webconf_2018_從平台_媒體到數據公司_PIXNET_的架構演進.pdf
jnlin
0
370
網路概念簡介_網路速度篇.pdf
jnlin
0
170
How_to_be_a_better_developer_.pdf
jnlin
0
110
20120426 High Availability MySQL
jnlin
3
2.4k
20110504-awstaipei-110504045602-phpapp01.pdf
jnlin
0
100
20110326-handlersocket-110325140025-phpapp02.pdf
jnlin
0
120
Featured
See All Featured
Optimizing for Happiness
mojombo
378
72k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
49k
Un-Boring Meetings
codingconduct
0
510
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
4.1k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
4
1.3k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
370
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
WCS-LA-2024
lcolladotor
0
1k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How to build a perfect <img>
jonoalderson
1
6.3k