• Save
Inside Of Mbga Open Platform
Upcoming SlideShare
Loading in...5
×
 

Inside Of Mbga Open Platform

on

  • 4,352 views

 

Statistics

Views

Total Views
4,352
Views on SlideShare
3,706
Embed Views
646

Actions

Likes
3
Downloads
0
Comments
0

5 Embeds 646

http://jibun.atmarkit.co.jp 378
http://engineer.dena.jp 247
http://www.slideshare.net 18
http://webcache.googleusercontent.com 2
http://aitcms-j.atmarkit.co.jp 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />

Inside Of Mbga Open Platform Inside Of Mbga Open Platform Presentation Transcript

  • Inside mbga Open Platform - Gadget Server - Hideo Kimura DeNA
  • About Me
  • About Me •
  • About Me • • DeNA
  • About Me • • DeNA •
  • About Me • • DeNA • • hidek, hide-k, hideki
  • About Me • • DeNA • • hidek, hide-k, hideki • http://blog.hide-k.net/
  • About Me • • DeNA • • hidek, hide-k, hideki • http://blog.hide-k.net/ • twitter: @hidek
  • About Me • • DeNA • • hidek, hide-k, hideki • http://blog.hide-k.net/ • twitter: @hidek
  • About Me • • DeNA • • hidek, hide-k, hideki • http://blog.hide-k.net/ • twitter: @hidek
  • Agenda
  • Agenda • MBGA Open Platform
  • Agenda • MBGA Open Platform • Gadget Server
  • Agenda • MBGA Open Platform • Gadget Server •
  • Agenda • MBGA Open Platform • Gadget Server • •
  • Agenda • MBGA Open Platform • Gadget Server • • •
  • MBGA Open Platform
  • MBGA Open Platform •
  • MBGA Open Platform • • OpenSocial 0.9
  • MBGA Open Platform • • OpenSocial 0.9 •
  • MBGA Open Platform
  • MBGA Open Platform • 2009/08/01
  • MBGA Open Platform • 2009/08/01 • 2009/11/24
  • MBGA Open Platform • 2009/08/01 • 2009/11/24 • 2010/01/27
  • OpenSocial
  • OpenSocial • Social Network (Container) API
  • OpenSocial • Social Network (Container) API
  • OpenSocial
  • OpenSocial • HTML + JavaScript
  • OpenSocial • HTML + JavaScript •
  • OpenSocial • HTML + JavaScript • • …
  • OpenSocial • HTML + JavaScript • • …
  • OpenSocial • HTML + JavaScript • • … • RESTful protocol + Proxy request
  • Architecture Gadget API Partner User Server Server Server
  • Architecture Gadget API Partner User Server Server Server
  • Architecture Gadget API Partner User Server Server Server
  • Architecture Gadget API Partner User Server Server Server
  • Architecture Gadget API Partner User Server Server Server
  • Architecture Gadget API Partner User Server Server Server
  • Architecture Gadget API Partner User Server Server Server
  • Architecture Gadget API Partner User Server Server Server
  • Architecture Gadget API Partner User Server Server Server
  • Gadget Server
  • Gadget Server • /
  • Gadget Server • / •
  • Gadget Server • / • • OAuth Signed Request
  • Gadget Server • / • • OAuth Signed Request • Access Token
  • Gadget Server • / • • OAuth Signed Request • Access Token •
  • Hermit
  • Hermit
  • Hermit
  • Hermit • Perl / PSGI / Plack
  • Hermit • Perl / PSGI / Plack • Pluggable
  • PSGI / Plack
  • PSGI / Plack • Web Application
  • PSGI / Plack • Web Application • Dispatcher Catalyst
  • PSGI / Plack • Web Application • Dispatcher Catalyst •
  • PSGI / Plack • Web Application • Dispatcher Catalyst • • Plack::Handler::*
  • PSGI / Plack • Web Application • Dispatcher Catalyst • • Plack::Handler::* • Starman
  • PSGI / Plack
  • PSGI / Plack • lighttpd + Plack::(Server)::FCGI
  • PSGI / Plack • lighttpd + Plack::(Server)::FCGI • 300 process / server
  • PSGI / Plack • lighttpd + Plack::(Server)::FCGI • 300 process / server • 5,500,000 - 6,000,000 req / day / server
  • PSGI / Plack • lighttpd + Plack::(Server)::FCGI • 300 process / server • 5,500,000 - 6,000,000 req / day / server • 360,000 - 380,000 req / hour / server
  • PSGI / Plack • lighttpd + Plack::(Server)::FCGI • 300 process / server • 5,500,000 - 6,000,000 req / day / server • 360,000 - 380,000 req / hour / server • 5
  • PSGI / Plack • lighttpd + Plack::(Server)::FCGI • 300 process / server • 5,500,000 - 6,000,000 req / day / server • 360,000 - 380,000 req / hour / server • 5 • 2
  • Pluggable
  • Pluggable • Plagger like
  • Pluggable • Plagger like • Class::Trigger
  • Pluggable • Plagger like • Class::Trigger •
  • Pluggable • Plagger like • Class::Trigger • • easy to extend
  • Pluggable • Plagger like • Class::Trigger • • easy to extend • easy to maintain
  • Pluggable • Plagger like • Class::Trigger • • easy to extend • easy to maintain • easy to test
  • Pluggable auth* / modify headers / publish token Plugin::Request error handling Context req/req management Plugin::Response modify contents / modify headers
  • Other Modules
  • Other Modules • Text::MicroTemplate
  • Other Modules • Text::MicroTemplate • HTTP::MobileAgent
  • Other Modules • Text::MicroTemplate • HTTP::MobileAgent • HTML::StickyQuery::DoCoMoGUID
  • Other Modules • Text::MicroTemplate • HTTP::MobileAgent • HTML::StickyQuery::DoCoMoGUID • OAuth::Lite
  • Other Modules • Text::MicroTemplate • HTTP::MobileAgent • HTML::StickyQuery::DoCoMoGUID • OAuth::Lite • HTML::Filter::Callbacks
  • Other Modules • Text::MicroTemplate • HTTP::MobileAgent • HTML::StickyQuery::DoCoMoGUID • OAuth::Lite • HTML::Filter::Callbacks • DBIx::DBHResolver
  • Other Modules • Text::MicroTemplate • HTTP::MobileAgent • HTML::StickyQuery::DoCoMoGUID • OAuth::Lite • HTML::Filter::Callbacks • DBIx::DBHResolver • Log::Dispatch
  • Other Modules • Text::MicroTemplate • HTTP::MobileAgent • HTML::StickyQuery::DoCoMoGUID • OAuth::Lite • HTML::Filter::Callbacks • DBIx::DBHResolver • Log::Dispatch • Test::TCP
  • Other Modules • Text::MicroTemplate • HTTP::MobileAgent • HTML::StickyQuery::DoCoMoGUID • OAuth::Lite • HTML::Filter::Callbacks • DBIx::DBHResolver • Log::Dispatch • Test::TCP • etc ...
  • Other things
  • Other things • Sandbox
  • Other things • Sandbox • =
  • Other things • Sandbox • = •
  • Other things • Sandbox • = • • PC
  • Other things • Sandbox • = • • PC •
  • Other things
  • Other things • CDN
  • Other things • CDN • CDN
  • Other things • CDN • CDN • DeNA
  • Other things • CDN • CDN • DeNA • nocache=1 Query String OK
  • Tough Days
  • Tough Days •
  • Tough Days • • 11 24 11
  • Tough Days • • 11 24 11 •
  • Tough Days • • 11 24 11 • • Plack++
  • Tough Days
  • Tough Days •
  • Tough Days • • CPU
  • Tough Days • • CPU •
  • Tough Days • • CPU • • Devel::NYTProf++
  • Tough Days • • CPU • • Devel::NYTProf++ • Unix::Getrusage++
  • Tough Days • • CPU • • Devel::NYTProf++ • Unix::Getrusage++ • Hyper-Threading++ (?)
  • Tough Days • • lighttpd • unexpected end-of-file (perhaps the fastcgi process died):... response not received, request sent:... • lighttpd 1.4.22 -> 1.4.26
  • Current Issue
  • Current Issue • FCGI
  • Current Issue • FCGI •
  • Current Issue • FCGI • • Reverse proxy
  • Current Issue • FCGI • • Reverse proxy • Starman
  • Current Issue • FCGI • • Reverse proxy • Starman •
  • Current Issue
  • Current Issue • Network
  • Current Issue • Network • (5 )=
  • Current Issue • Network • (5 )= • (3 )
  • Current Issue • Network • (5 )= • (3 ) •
  • Current Issue • Network • (5 )= • (3 ) • •
  • Current Issue
  • Current Issue • Network
  • Current Issue • Network • TCP listen backlog overflow
  • Current Issue • Network • TCP listen backlog overflow • net.ipv4.tcp_max_syn_backlog (def: 1024)
  • Current Issue • Network • TCP listen backlog overflow • net.ipv4.tcp_max_syn_backlog (def: 1024) • net.core.somaxconn (def: 128)
  • Current Issue • Network • TCP listen backlog overflow • net.ipv4.tcp_max_syn_backlog (def: 1024) • net.core.somaxconn (def: 128) • lighttpd
  • Current Issue • Network • TCP listen backlog overflow • net.ipv4.tcp_max_syn_backlog (def: 1024) • net.core.somaxconn (def: 128) • lighttpd • if (-1 == listen(srv_socket->fd, 128 * 8)) {
  • Current Issue • Network • TCP listen backlog overflow • net.ipv4.tcp_max_syn_backlog (def: 1024) • net.core.somaxconn (def: 128) • lighttpd • if (-1 == listen(srv_socket->fd, 128 * 8)) { • orz
  • Future
  • Future •
  • Future • • ?
  • Future • • ? • xAuth
  • Future
  • Future • OpenSocial 1.0
  • Future • OpenSocial 1.0 • Template
  • Future • OpenSocial 1.0 • Template • API
  • Future • OpenSocial 1.0 • Template • API •
  • Future • OpenSocial 1.0 • Template • API • • OpenSocial Templates ?
  • Future Gadget API Partner User Server Server Server
  • Future Gadget API Partner User Server Server Server
  • Future Gadget API Partner User Server Server Server
  • Future Gadget API Partner User Server Server Server
  • Future Gadget API Partner User Server Server Server
  • Future Gadget API Partner User Server Server Server
  • Future Gadget API Partner User Server Server Server
  • Conclusion
  • Conclusion • Plack
  • Conclusion • Plack •
  • Conclusion • Plack • •
  • Thank You