+ All Categories
Home > Technology > 2013 04-29-evolution of backend

2013 04-29-evolution of backend

Date post: 16-Apr-2017
Category:
Upload: wooga
View: 1,637 times
Download: 0 times
Share this document with a friend
26
Evolution of Backend @ Wooga Sukumar Yethadka
Transcript
Page 1: 2013 04-29-evolution of backend

Evolution of Backend @ WoogaSukumar Yethadka

Page 2: 2013 04-29-evolution of backend
Page 3: 2013 04-29-evolution of backend
Page 4: 2013 04-29-evolution of backend

Client

Server

Page 5: 2013 04-29-evolution of backend

ClientFlash

Mobile Asynchronous

Page 6: 2013 04-29-evolution of backend

ServerHTTP API

Persistence

Page 7: 2013 04-29-evolution of backend

ServerHTTP API

PersistenceState Operations

Validation

Page 8: 2013 04-29-evolution of backend

Load Balancer

App Servers

Database Servers

Game 1

Page 9: 2013 04-29-evolution of backend

App Server Database Server

Page 10: 2013 04-29-evolution of backend

App Server Database Server

NO CACHE!

Page 11: 2013 04-29-evolution of backend

2 M + 2 S 250 K

Page 12: 2013 04-29-evolution of backend

2 M + 2 S 250 KOptimization Profiling

DB Configurations

Page 13: 2013 04-29-evolution of backend

2 M + 2 S 250 KOptimization Profiling

DB Configurations

8 M + 8 S 500 K

Page 14: 2013 04-29-evolution of backend

RubyGame 2

Bare Metal

Redis

Page 15: 2013 04-29-evolution of backend

DataSelf Contained

Hot/Cold PatternNot Cacheable

Page 16: 2013 04-29-evolution of backend

Stateless

Stateful

Page 17: 2013 04-29-evolution of backend

ErlangIt’s concurrent!™

Game 3

Page 18: 2013 04-29-evolution of backend

ErlangProcess

TransactionsInbox

Page 19: 2013 04-29-evolution of backend

Load Balancer

App Servers

Database Servers

Redis

SETNX

Page 20: 2013 04-29-evolution of backend

App Server Database Server

Page 21: 2013 04-29-evolution of backend

App Server Database Server

Page 22: 2013 04-29-evolution of backend

Results :: Ops

Deployment in < 1s

Hot Code Reload

Page 23: 2013 04-29-evolution of backend

Results :: Data

80ms > 8ms > 1msResponse Time:

For Cloud CPU Bound

Page 24: 2013 04-29-evolution of backend

Future

Multiplayer

Replace RedisRemove SPOF

Game 8

Page 25: 2013 04-29-evolution of backend

github.com/wooga

Page 26: 2013 04-29-evolution of backend

Questions?@sthadka/sthadka

wooga.com/jobs


Recommended