ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Photon
Load Simulation

Christof Wegmann




   June, 2012
Traffic Simulation - Summary
? Scenario
  ¨C 25 rooms x 16 players = 400 CCU
  ¨C 2 x 50 bytes reliable / s, 10 x 50 bytes unreliable / s

? Server: Quad-Core, 8GB RAM, Win7 x64
  ¨C   In: 4,500 msg/s (1,2 MB/s)
  ¨C   Out: 65,000 msg/s (7.5 MB/s)
  ¨C   CPU: ~30%
  ¨C   NIC (100Mbit): 80% saturated
  ¨C   Client RTT: ~40ms
Cost Estimate
? Traffic (400CCU, per month)
  ¨C Traffic = 8MB/s * 60 * 60 * 24 * 30 * 50% = ~10 TB


? Cost
  ¨C   Server Cost (HW, OS & traffic): $400
  ¨C   Cost per CCU ~= $400/400CCU = $1
  ¨C   400 CCU ~= 4,000 DAU ~= 40,000 MAU
  ¨C   Cost per MAU ~= 1 Cent
Selected

REFERENCES
Photon Load Test #1
Photon Load Test #1
Photon Load Test #1
Photon Load Test #1
Photon Load Test #1
Photon Load Test #1
Photon Load Test #1

More Related Content

Photon Load Test #1

  • 2. Traffic Simulation - Summary ? Scenario ¨C 25 rooms x 16 players = 400 CCU ¨C 2 x 50 bytes reliable / s, 10 x 50 bytes unreliable / s ? Server: Quad-Core, 8GB RAM, Win7 x64 ¨C In: 4,500 msg/s (1,2 MB/s) ¨C Out: 65,000 msg/s (7.5 MB/s) ¨C CPU: ~30% ¨C NIC (100Mbit): 80% saturated ¨C Client RTT: ~40ms
  • 3. Cost Estimate ? Traffic (400CCU, per month) ¨C Traffic = 8MB/s * 60 * 60 * 24 * 30 * 50% = ~10 TB ? Cost ¨C Server Cost (HW, OS & traffic): $400 ¨C Cost per CCU ~= $400/400CCU = $1 ¨C 400 CCU ~= 4,000 DAU ~= 40,000 MAU ¨C Cost per MAU ~= 1 Cent