Philip A. Bernstein, Sergey Bykov, Alan Geller, Gabriel Kliot, Jorgen Thelin
Motivation:
Unpredictability Load Balancing High Availability Data Consistency Fault Tolerance Performance Scalable Reliability Latency
Traditional 3-tier architecture Could make consistency issues
Orleans 3-tier architecture
*The actor model was introduced in 1973
Presence & Matchmaking Challenges & Unlockables Skill & Ranking Cheat Detection Game History Profile User Generated Content Content Management Service
Front DoorCompute Worker Roles Azure Storage Search HDInsight Hadoop Visualization Azure Load-Balancer
Front DoorCompute Worker Roles Azure Storage Search HDInsight Hadoop Visualization Azure Load-Balancer
public class Presenceactor : actorBase, IPresenceactor { public Task Heartbeat(byte[] data) { HeartbeatData heartbeatData = Heartbeat.Decrypt(data); IGameactor game = GameactorFactory.Getactor(heartbeatData.Game); return game.UpdateGameStatus(heartbeatData.Status); }
Test Lab Numbers
Virtual Machines Physical Machines What’s a Server?