James Liddle<br />KamranYousaf<br />The Space Based Advantage for Online Gaming<br />
What is GigaSpaces XAP ?<br />
GigaSpaces eXtreme Application Platform (XAP)<br /><ul><li>A scale-out application server providing:
End-end scale-out middleware for Web data, messaging and business logic
In memory clustering
Unique database scalability
An SLA driven Architecture with automatic self healing
Decouples the application from the deployment environment
Supports open-source and standard development frameworks
Support major enterprise languages: Java, .NET and C++ </li></li></ul><li>Mission Critical Applications<br />Financial Ser...
Addresses the Challenges of how to:<br />Scale application easily <br />Get faster response times<br />Have easier Develop...
How we do it<br />Virtualized Web Tier<br />dynamic load balancing, self-healing, basic caching<br />Virtualized Business ...
Faster Response Time<br />
Challenges of the N-Tier Architecture<br />Logic<br />Logic<br />Logic<br />Presentation<br /><ul><li>Too many network hops
Unacceptable latency</li></ul>Performance<br />Latency<br /><ul><li>Separate fail-over strategy at each tier
Redundancy doubles network traffic
Bottlenecks are created
Latency is increased</li></ul>Resiliency<br />Latency<br />Business Logic<br />Complexity<br />Latency<br /><ul><li>Scalab...
Scalability management nightmare</li></ul>Scalability<br />DAO<br />Latency<br /><ul><li>Expensive hardware & software pur...
Multiple skill sets
Integration and design</li></ul>Cache<br />TCO<br />8<br />
The GigaSpaces Solution<br />Processing Unit<br /><ul><li>Single model for design, deployment and management
No integration effort
Manage data in memory
Collapse the tiers
Collocate the services</li></ul>Logic<br />Logic<br />
Easier Development<br />Integration with Spring<br />Allowing developers to focus on improving the game<br />Annotation or...
Event Driven Messaging Layer<br />
Remoting Services<br /><ul><li>Service Interface
Upcoming SlideShare
Loading in …5
×

GigaSpaces Advantage For Gaming Platforms

1,220 views

Published on

This is the presentation from the Advanced Gaming and Scalability event on 9th July 2009

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,220
On SlideShare
0
From Embeds
0
Number of Embeds
35
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • Most messaging systems use the disk for resiliencyOn the same HW, this provides 5-10 less throughput than reliable memory based solution like GigaSpaces, with twice the latency at best And it’s much harder to scale since it uses a central diskDisk access can only be so fastA few hundred inserts/sec for MySql on commodity HW (when you actually sync to disk on every commit)You will need to scale by sharding and/or expensive storage systems that can stripe and partition the data for youClustering the database actually slows you down
  • CHEAPER, FASTER GAME EVOLUTION
  • STRONGER GAME FEATURESWith XAP, middleware is no longer a barrier to providing the best game features to your customers:• Unlimited scalability for data-intensive features – XAP puts an In-Memory Data Grid in front of the database and frees the data bottleneck. • No limit on CPU-intensive features – XAP can process these features simultaneously on multiple machines, with automatic scaling. • Bottom line – beat the competition without huge investments in hardware and middleware.
  • GigaSpaces Advantage For Gaming Platforms

    1. 1. James Liddle<br />KamranYousaf<br />The Space Based Advantage for Online Gaming<br />
    2. 2. What is GigaSpaces XAP ?<br />
    3. 3. GigaSpaces eXtreme Application Platform (XAP)<br /><ul><li>A scale-out application server providing:
    4. 4. End-end scale-out middleware for Web data, messaging and business logic
    5. 5. In memory clustering
    6. 6. Unique database scalability
    7. 7. An SLA driven Architecture with automatic self healing
    8. 8. Decouples the application from the deployment environment
    9. 9. Supports open-source and standard development frameworks
    10. 10. Support major enterprise languages: Java, .NET and C++ </li></li></ul><li>Mission Critical Applications<br />Financial Services:<br />Algorithmic trading Market Data Risk Analysis Portfolio Analysis Bank Card Processing<br />Telecom: <br />Real-time billing, Order Management, VOIP, Location-based svs, Mobile device content<br />On-Line: <br />Gaming, Travel, Advertising/Marketing, Commerce, Consumer portals, Search engines<br />Defense<br />Real-time intelligence, Pattern Analysis<br />
    11. 11. Addresses the Challenges of how to:<br />Scale application easily <br />Get faster response times<br />Have easier Development<br />Have easier Deployment<br />Have easier Monitoring<br />Achieve Near-zero Downtime<br />
    12. 12. How we do it<br />Virtualized Web Tier<br />dynamic load balancing, self-healing, basic caching<br />Virtualized Business Tier<br />auto deployment, simpler development and testing<br />Virtualized Messaging<br />lower latency, higher message reliability<br />Virtualized Data Access <br />dramatically lower latency, releases the data bottleneck which is often the main scalability barrier<br />Virtualized Deployment<br />Move manual process to SLA driven deployment<br />
    13. 13. Faster Response Time<br />
    14. 14. Challenges of the N-Tier Architecture<br />Logic<br />Logic<br />Logic<br />Presentation<br /><ul><li>Too many network hops
    15. 15. Unacceptable latency</li></ul>Performance<br />Latency<br /><ul><li>Separate fail-over strategy at each tier
    16. 16. Redundancy doubles network traffic
    17. 17. Bottlenecks are created
    18. 18. Latency is increased</li></ul>Resiliency<br />Latency<br />Business Logic<br />Complexity<br />Latency<br /><ul><li>Scalability is not linear
    19. 19. Scalability management nightmare</li></ul>Scalability<br />DAO<br />Latency<br /><ul><li>Expensive hardware & software purchase
    20. 20. Multiple skill sets
    21. 21. Integration and design</li></ul>Cache<br />TCO<br />8<br />
    22. 22. The GigaSpaces Solution<br />Processing Unit<br /><ul><li>Single model for design, deployment and management
    23. 23. No integration effort
    24. 24. Manage data in memory
    25. 25. Collapse the tiers
    26. 26. Collocate the services</li></ul>Logic<br />Logic<br />
    27. 27. Easier Development<br />Integration with Spring<br />Allowing developers to focus on improving the game<br />Annotation or XML configuration your choice<br />
    28. 28. Event Driven Messaging Layer<br />
    29. 29. Remoting Services<br /><ul><li>Service Interface
    30. 30. Client:
    31. 31. Server:</li></li></ul><li>Easier Testing<br />Event Driving Development<br />Faster testing cycle – XAP provides vastly improved unit testing, allowing a full-blown application to be tested on a single machine. <br />Test on the cloud – XAP’s Cloud Computing Framework allows testing large-scale environments on cloud services in minutes. <br />Focus on the game, not the middleware – XAP separates middleware from business logic and takes care of all middleware interactions<br />
    32. 32. Easier Deployment<br />Specify once how many machines are required by the application services and any other software or hardware dependencies. <br />Subsequently, deploy services automatically to the grid of machines, at the push of a button. <br />XAP continuously monitors the deployment and ensures that all dependencies are fulfilled. <br />Provision more machines to priority services, fully automatically.<br />
    33. 33. Deployment Virtualization<br />
    34. 34. 16<br />Transaction Flow in XAP’s SBA<br />Submit<br />Order<br />Notify<br />Completion<br />Validate<br />Check/match<br />Execute order<br />Processing Unit<br />Validate<br />Check<br />Perform Query<br />Execute Order<br />Persist for Compliance & Reporting purposes:<br /><ul><li>Collocation of data, messaging and services in memory:
    35. 35. Minimum Latency (no network hops)
    36. 36. Maximum Throughput
    37. 37. Unparalleled End-To-End Transaction Performance</li></ul>- Storing State- Register Orders- etc.<br />
    38. 38. 17<br />Backup<br />SLA Driven Container<br />Processing Unit<br />Maintaining Resiliency using XAP’s SBA<br /><ul><li>Single, built-in failover/redundancy
    39. 39. Fewer points of failure
    40. 40. Automated SLA driven failover/redundancy mechanism
    41. 41. Continuous High Availability</li></li></ul><li>18<br />Processing Unit<br />Scaling Out and Managing XAP’s SBA<br />Backup<br />Backup<br /><ul><li>Write Once Scale Anywhere:
    42. 42. Near linear scalability
    43. 43. Single monitoring and management engine
    44. 44. Automated, SLA-Driven deployment and management
    45. 45. Scaling policy, System requirements, Space cluster topology</li></li></ul><li>Scalability<br />
    46. 46. Auto Scale Out<br />
    47. 47. Smooth Handling of Peak Loads<br />When an affiliate’s ad campaign hits big, or a major sporting event draws crowds of betters, GigaSpaces XAP makes sure your game handles the additional load without crashing or even slowing down<br />Detects high loads and automatically scales out your application before it breaches its service level agreement (SLA). <br />Automatically deploys more instances of the application on additional machines, when the existing machines approach critical levels of CPU, memory, or other indicators you define.<br /> User requests are transparently routed to the new machines – while the game continues. <br />
    48. 48. Continuous Availability<br />Hot-swap hardware maintenance – if a machine needs service, XAP can relocate live application instances to a different machine, with no service interruption.<br />Automatic self healing – when your system’s SLA is compromised, XAP’s Service Manager immediately raises a new backup and loads it with live data, with no human intervention. <br />Real-time game version upgrades – XAP can upgrade your application to a new version automatically, with no downtime, assuming no changes to data model.<br />
    49. 49. Monitoring<br />No need to manually hunt down middleware issues<br /> XAP monitors your entire system end-to-end, from the load balancer through to the messaging, business logic services and data. <br />Track down problems to a particular service or application instance using the central management UI. <br />
    50. 50. Ready For the Cloud<br />XAP provides tight integration with cloud infrastructure services like Amazon EC2, with a full set of cloud tools<br />Today – outsource testing and non-essential services to the cloud. <br />Tomorrow – run production applications on the cloud and resell cloud services to your customers, with no migration effort. <br />
    51. 51. Deploying on the Cloud<br />Multi Tenant Application Provisioning<br />Application Deployment Configuration<br />3 - Manage<br />1- Install<br />2 - Deploy<br />Provision<br />IaaS Provider (EC2, GoGrid, VMWhere, Citrix,..)<br />Application<br />Repository<br />App A<br />App B<br />
    52. 52. Built-in Machine profiles (EC2)<br />Cluster Manager<br />Admin-Ui<br /><ul><li>Each machine can be assigned with
    53. 53. 64/32 S,M,L,XL Images individually
    54. 54. Each machine dynamically install software packages
    55. 55. GSM responsible for deploying application packages to GSC machine</li></ul>GSM Machine<br />UI Machine<br />Web<br />Jmeter<br />IMDG<br />Web<br />Tomcat<br />WWW<br />Mirror<br />IMDG<br />Web<br />Comp-<br />Node<br />IMDG<br />Web<br />Comp-Nodes<br />LB Machine<br />Database Machine<br />Ext-Machine<br />GSC Machines<br />
    56. 56. Online OMS: Old System<br />
    57. 57. Online OMS: SBA Enabled<br />
    58. 58. GigaSpaces Customers<br /><ul><li>100+ direct enterprise customers, 2000+ embedded deployments
    59. 59. A Scale-Out Application Server ideally suited for today’s Enterprise Environments and ISV’s building Grid, SaaS and Cloud enabled offerings
    60. 60. Cloud tools and packaging Public Cloud providers (i.e. EC2, Flexiscale, GoGrid, Joyent and more). </li>

    ×