6 GigaSpaces Principles to Survive Black Friday

19
May 2014 Copyright © GigaSpaces 2014. All rights reserved. July 2014 Copyright © 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

description

GigaSpaces Professional Services July 2014 E-Commerce Customer Summit presentation on architecting for black friday traffic.

Transcript of 6 GigaSpaces Principles to Survive Black Friday

Page 1: 6 GigaSpaces Principles to Survive Black Friday

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

Page 2: 6 GigaSpaces Principles to Survive Black Friday

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

Page 3: 6 GigaSpaces Principles to Survive Black Friday

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)

Page 4: 6 GigaSpaces Principles to Survive Black Friday

Architecture Technology, People, and Accidental Complexity

Page 5: 6 GigaSpaces Principles to Survive Black Friday

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

Page 6: 6 GigaSpaces Principles to Survive Black Friday

Planning Towards Intelligent Orchestration

Page 7: 6 GigaSpaces Principles to Survive Black Friday

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)

Page 8: 6 GigaSpaces Principles to Survive Black Friday

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

Page 9: 6 GigaSpaces Principles to Survive Black Friday

Scalability Application Aware

Page 10: 6 GigaSpaces Principles to Survive Black Friday

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

Page 11: 6 GigaSpaces Principles to Survive Black Friday

High Availability Elastic Disaster Recovery

Page 12: 6 GigaSpaces Principles to Survive Black Friday

July 2014Copyright © GigaSpaces 2014. All rights reserved.

#4 High Availability

Page 13: 6 GigaSpaces Principles to Survive Black Friday

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

Page 14: 6 GigaSpaces Principles to Survive Black Friday

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

Page 15: 6 GigaSpaces Principles to Survive Black Friday

Support On-Site GigaSpaces Support

Page 16: 6 GigaSpaces Principles to Survive Black Friday

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

Page 17: 6 GigaSpaces Principles to Survive Black Friday

Practice DR / Troubleshooting Training

Page 18: 6 GigaSpaces Principles to Survive Black Friday

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.

Page 19: 6 GigaSpaces Principles to Survive Black Friday

May 2014Copyright © GigaSpaces 2014. All rights reserved.

July 2014Copyright © GigaSpaces 2014. All rights reserved.

Thank You, !

Questions?