6 gigaspaces principles to survive black friday
DESCRIPTION
GigaSpaces Professional Services July 2014 E-Commerce Customer Summit presentation on architecting for black friday traffic.TRANSCRIPT
May 2014Copyright © GigaSpaces 2014. All rights reserved.
July 2014Copyright © GigaSpaces 2014. All rights reserved.
6 Principles to Survive Black Friday (and Cyber Monday too…)
GigaSpaces E-commerce Customer Summit July 2014 New York, NY
Ali Hodroj Director, Solution Architecture
July 2014Copyright © GigaSpaces 2014. All rights reserved.
Agenda
Motivation and Context #1: Architecture #2: Planning #3: Scalability #4: High Availability #5: Support #6: Practice Outro - Q&A
July 2014Copyright © GigaSpaces 2014. All rights reserved.
Motivation and Context
• How XAP, Cloudify, and GigaSpaces Professional Services can help you survive the holiday season (Black Friday and Cyber Monday)!
!• Black Friday (the Friday after Thanksgiving) and Cyber Monday (the
Monday after that) have become big discounting and promotional events that retailers use to push holiday purchasing.!
!• E-Commerce systems are becoming more low-latency driven every year
(personalization, catalog response time,…etc)
Architecture Technology, People, and Accidental Complexity
July 2014Copyright © GigaSpaces 2014. All rights reserved.
#1 Architecture (DevOps)• Automate governance of development
and operational practices • Makes it easier to standardize on:!
• Build processes!• Technology stacks!• Deployment Processes!• Orchestration!• Operational Tooling
Planning Towards Intelligent Orchestration
July 2014Copyright © GigaSpaces 2014. All rights reserved.
#2 Planning
• Typical Scalability Axis within an E-Commerce architecture:!• Product page views per session!• Cart Abandonment Rate!• Incoming and outgoing reviews per day!• Peak requests per second on catalog display
servers!• Server acceptable capacity at each level (tomcat,
XAP, database)
July 2014Copyright © GigaSpaces 2014. All rights reserved.
#2 Planning (Intelligent Orchestration)
• A typical online e-commerce system has various axes of scaling within it – trend, estimate, and set policies
• Page views/sec • Incoming/Outgoing
product reviews • Server acceptable
capacity
• Extrapolate from previous year’s traffic, and apply proportional lift
• Cisco UCS • OpenStack • AWS
Scalability Application Aware
July 2014Copyright © GigaSpaces 2014. All rights reserved.
#3 Scalability
Minimize Contention
Maximize Data Locality
Asynchronous Persistence
• Co-location of data and business logic in a partitioned distributed topology
• Increase throughput / decreased latency by executing business logic within a single JVM’s runtime boundary
• Introduce asynchronous patterns through persistency (Mirror Service) and data processing (event-driven containers)
• Parallelize service calls through service remoting
High Availability Elastic Disaster Recovery
July 2014Copyright © GigaSpaces 2014. All rights reserved.
#4 High Availability
July 2014Copyright © GigaSpaces 2014. All rights reserved.
#4 High Availability
Distribute data and business logic across N +
1 JVM’s
Single configuration
parameter (SLA.XML)
Across N + 1 virtual or bare metal machines
Across N + 1 server racks, power sources, network
subnets
Across geographical regions Extension
module (WAN
Gateway PU)
Higher Availability
Eliminate accidental complexity through
configuration and extension
July 2014Copyright © GigaSpaces 2014. All rights reserved.
#4 Disaster Recovery Continuum
Cold/Warm Disaster Recovery
Hot Disaster Recovery
Higher RTO/RPOLower Cost
Lower RTO/RPOHigher Cost
Fully Active-Active WAN Gateway replication
Space Data Source API (Bootstrap from SQL) RTO = Recovery
Time Objective !RPO = Recovery Point Objective
Milliseconds Minutes to hours
Support On-Site GigaSpaces Support
July 2014Copyright © GigaSpaces 2014. All rights reserved.
#5 Support
• Pre-engagement preparation
• Proactive system monitoring
• On-site troubleshooting and debugging support
• Coordinate with backend support resources as needed
!!!
!!
XAP onsite monitoring and troubleshooting during holiday peak traffic days
Practice DR / Troubleshooting Training
July 2014Copyright © GigaSpaces 2014. All rights reserved.
#6 Practice
• Administration Training
• System and Performance and Tuning
• Production Environment Setup
• Production Rollout Support
!!!
XAP consulting services during project go-live and transition to production ready state.
May 2014Copyright © GigaSpaces 2014. All rights reserved.
July 2014Copyright © GigaSpaces 2014. All rights reserved.
Thank You, !
Questions?