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.
Addresses the Challenges of how to: Scale application easily Get faster response times Have easier Development Have easier Deployment Have easier Monitoring Achieve Near-zero Downtime
How we do it Virtualized Web Tier dynamic load balancing, self-healing, basic caching Virtualized Business Tier auto deployment, simpler development and testing Virtualized Messaging lower latency, higher message reliability Virtualized Data Access dramatically lower latency, releases the data bottleneck which is often the main scalability barrier Virtualized Deployment Move manual process to SLA driven deployment
Faster Response Time
Challenges of the N-Tier Architecture Logic Logic Logic Presentation
Too many network hops
Unacceptable latency
Performance Latency
Separate fail-over strategy at each tier
Redundancy doubles network traffic
Bottlenecks are created
Latency is increased
Resiliency Latency Business Logic Complexity Latency
Scalability is not linear
Scalability management nightmare
Scalability DAO Latency
Expensive hardware & software purchase
Multiple skill sets
Integration and design
Cache TCO 8
The GigaSpaces Solution Processing Unit
Single model for design, deployment and management
No integration effort
Manage data in memory
Collapse the tiers
Collocate the services
Logic Logic
Easier Development Integration with Spring Allowing developers to focus on improving the game Annotation or XML configuration your choice
Event Driven Messaging Layer
Remoting Services
Service Interface
Client:
Server:
Easier Testing Event Driving Development Faster testing cycle – XAP provides vastly improved unit testing, allowing a full-blown application to be tested on a single machine. Test on the cloud – XAP’s Cloud Computing Framework allows testing large-scale environments on cloud services in minutes. Focus on the game, not the middleware – XAP separates middleware from business logic and takes care of all middleware interactions
Easier Deployment Specify once how many machines are required by the application services and any other software or hardware dependencies. Subsequently, deploy services automatically to the grid of machines, at the push of a button. XAP continuously monitors the deployment and ensures that all dependencies are fulfilled. Provision more machines to priority services, fully automatically.
Deployment Virtualization
16 Transaction Flow in XAP’s SBA Submit Order Notify Completion Validate Check/match Execute order Processing Unit Validate Check Perform Query Execute Order Persist for Compliance & Reporting purposes:
Collocation of data, messaging and services in memory:
Minimum Latency (no network hops)
Maximum Throughput
Unparalleled End-To-End Transaction Performance
- Storing State- Register Orders- etc.
17 Backup SLA Driven Container Processing Unit Maintaining Resiliency using XAP’s SBA
18 Processing Unit Scaling Out and Managing XAP’s SBA Backup Backup
Write Once Scale Anywhere:
Near linear scalability
Single monitoring and management engine
Automated, SLA-Driven deployment and management
Scaling policy, System requirements, Space cluster topology
Scalability
Auto Scale Out
Smooth Handling of Peak Loads 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 Detects high loads and automatically scales out your application before it breaches its service level agreement (SLA). 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. User requests are transparently routed to the new machines – while the game continues.
Continuous Availability Hot-swap hardware maintenance – if a machine needs service, XAP can relocate live application instances to a different machine, with no service interruption. 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. Real-time game version upgrades – XAP can upgrade your application to a new version automatically, with no downtime, assuming no changes to data model.
Monitoring No need to manually hunt down middleware issues XAP monitors your entire system end-to-end, from the load balancer through to the messaging, business logic services and data. Track down problems to a particular service or application instance using the central management UI.
Ready For the Cloud XAP provides tight integration with cloud infrastructure services like Amazon EC2, with a full set of cloud tools Today – outsource testing and non-essential services to the cloud. Tomorrow – run production applications on the cloud and resell cloud services to your customers, with no migration effort.
Deploying on the Cloud Multi Tenant Application Provisioning Application Deployment Configuration 3 - Manage 1- Install 2 - Deploy Provision IaaS Provider (EC2, GoGrid, VMWhere, Citrix,..) Application Repository App A App B
0 comments
Post a comment