More Related Content Similar to ngServer and-collaboratived-development-between-san-francisco-and-tokyo Similar to ngServer and-collaboratived-development-between-san-francisco-and-tokyo (20) ngServer and-collaboratived-development-between-san-francisco-and-tokyo2. about: me
Yusuke Shinozaki
DeNA CTO
2011/3 ~ DeNA
@bad_at_math
4. Client
Smartphone development
Tool Server
7. ngCore
Game Engine
JavaScript
native APIs native APIs
iOS Android
8. ngCore
Game Engine
JavaScript bind sources to
Device N de
1 JS file
native APIs native APIs
iOS Android
* Development Phase
9. ngCore
Game Engine
Smartphone development
Tool
11. ngCore
Game Engine
Smartphone development
ngBuilder
Game DevelopmentTool
Server
12. ngServer
Powered by Node.js
N de ngCore
Game Engine
Smartphone development
ngBuilder
Game DevelopmentTool
Server
22. var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello Worldn');
}).listen(1337, "127.0.0.1");
var data = [];
for(var i=0;i<10000000;i++) {
data.push({a:1,b:2,c:3,d:4});
}
setInterval(function() {
data.length;
},1000);
console.log('Server running at http://127.0.0.1:1337/');
https://gist.github.com/1851152
26. ngServer
Architecture
Powered by Node.js
Auth Header
JSON
Device Express Social APIs Mobage
OAuth
routing
rendering JSON
Controller memcache
Tokenstore
job
Datastore
queue Model mongodb
MySQL
27. ngServer
Functions
Powered by Node.js
ngServer command
Models and Controllers
MobageAPI
project template (generator)
profiler
benchmarking
analytics (abacus)
debug
hot-reload
28. ngServer
Deployment
Powered by Node.js
Cache
Storage
HAProxy
HAProxy ngServer
ngServer Storage
Storage
queue
Storage
1 ngServer process per 1 cpu core
36. Challenges
17hrs
18:00 1:00
3:00 10:00
7:00 14:00
8:00 15:00
37. Challenges
17hrs
7:00 14:00
hot time zone
11:00 18:00
43. I’M SOOOO GLAD TO MEEET YOU GUYS!!!
It’s super GREAT experience for me to speak
HERE in DEVSUMi.
wanna talk you more so plz pick me up later,
let’s talk about node.js, architecture or
anything you want!!!
SEE YOU LATERZ,
THANK YOU SO MUCH!!!