1. Distinct helped online retailer evoMAG handle a large traffic spike for its 2013 Black Friday sale.
2. evoMAG faced the challenge of keeping its website running during the sale with high traffic volumes from promotions and marketing.
3. Distinct analyzed evoMAG's site and traffic patterns, optimized the infrastructure, and monitored the system during the sale to ensure the site remained up, handling over 10,000 concurrent users and 50 orders per second at peak times.
An experience sharing of the OpenStack deployment at Suning.com, a large online retailer in China. The talk presents the challenges and opportunities on orchestrating the enterprise workloads using Heat.
A 101 level introduction to Web Analytics, and the concepts that underlie the technical aspects of digital measurement. Aimed at professionals new to the space, or business people looking to understand Web Analytics at a more detailed level.
Why test automation is getting more difficult, and what can be done about it. This slides are from a presentation by Group Director, Product Management at TestPlant, Gordon McKeown, which was presented at the Northern Lights conference in Manchester in April 2016.
Dubbo and Weidian's practice on micro-service architectureHuxing Zhang
Weidian is a social-based e-commerce platform that helps people with dreams to start a business easier. It is also committed to providing consumers with a useful, fun and attitude-oriented shopping platform. Since started from 2014, it has reached 170 millions app downloads in total, and millions of average DAU.
This slides introduces how Weidian's architecture is migrating from monolithic application to Dubbo's based micro-service architecture.
How bol.com makes sense of its logs, using the Elastic technology stack.Renzo Tomà
Presentation given by Renzo Tomà as "Tech and Use Case Deep Dive", during the Elastic{ON}Tour 2015 event in Amsterdam on October 29th.
Explanation of how bol.com is using the Elastic ELK stack to power a logsearch platform. Lots of details on the types of sources and number of feeds. Some history and reasoning why the current set of in-process JSON based logshippers are used. Links to the bol.com github account for the logshipper projects. The presentation ends with two special sauces: fun things you can do with lots of data in Elasticsearch. The 1st sauce is 'the call stack' - tagging each request with a unique ID, passing that ID along to all service calls and making sure this ID ends up in all access logging, enables you to group all calls together and get a call stack. The 2nd sauce is a way of generating a service map using access logging and some logstash magic.
I love questions and feedback. My mail address can be found in the presentation.
In a distributed environment with many service nodes, documentation should be distributed with those service nodes. Documentation should also be dynamic. These slides were for a presentation of a working system.
Protecting the Web at a scale using consul and Elk / Valentin Chernozemski (S...Ontico
HighLoad++ 2017
Зал «Мумбай», 7 ноября, 16:00
Тезисы:
http://www.highload.ru/2017/abstracts/3065.html
Brute-force attacks against web based applications are on the raise.
You will be presented with an architecture built on top of ELK (https://www.elastic.co/products) and consul (https://www.consul.io/) that is capable of reliably detecting, analysing and mitigating large scale brute-force attacks against Wordpress, Drupal, Magento and Joomla based web sites in near real time.
...
Easy Taxi está presente em mais de 30 países e tem milhões de usuários, entre passageiros e taxistas. Seu aplicativo roda em dezenas de plataformas móveis e suporta milhares de acessos simultâneos. A aplicação nasceu na nuvem da AWS e faz pleno uso de todos os seus recursos. Nesta apresentação avançada, exploramos a arquitetura da Easy Taxi e analisamos as estratégias de otimização disponíveis para os aplicativos implementados na nuvem AWS.
Cassandra Summit 2014: Turkcell Curio, Real-Time Targeted Mobile Marketing Pl...DataStax Academy
Presenter: Ülker Ciftci, Senior Expert Architect at Turkcell
In this session, hear how a leading telecom operator integrates complementary and powerful real-time big data processing technologies such as Apache Kafka, Apache Storm and Datastax Cassandra to build a distributed, fast, fault tolerant and highly scalable mobile marketing platform. Telecom operators as mobile app marketers can better target and offer individualized personalization by collecting customer behavior data and segmenting customers according to behavior. Currently there are 50 mobile applications in Turkcell's Mobile App. Store, and for now, these applications get almost 100 million hits per day. As more mobile applications and more users become involved in the Turkcell Curio, the data set coming from customer behaviours is growing each day. The main challenge facing mobile marketers is the difficulty of real time big data processing which requires low latency, high availability and high scalability. The second requirement, processing a user's action in an "exactly once semantics" for the sake of reliability, is making the challenge even bigger. Turkcell Curio, its name inspired from Mars Rover named Curiosity, is developed within Turkcell to solve these challenges. Curio is now in production, giving Turkcell's Mobile Marketers precious real-time statistics, reports and even chance to interact the online customers via another platform, Turkcell's Push Notifications Platform.
Website & Internet + Performance testingRoman Ananev
The presentation about how the site works on the Internet and what happens when you open it in your browser. What happens under the hood of the server and browser.
How to measure the performance of the CS-Cart project simply and without technical knowledge :) And of course, why all the online-performance-testing services lie, or dont provides a clear view ;)
https://www.simtechdev.com/cloud-hosting
---
Cloud hosting for CS-Cart, Multi-Vendor, WordPress, and Magento
by Simtech Development - AWS and CS-Cart certified hosting provider
free installation & migration | free 24/7 server monitoring | free daily backups | free SSL | and more...
Measuring 2.0 - How to handle 100K events/sec - Berlin Buzzwords 2019Niels Basjes
These are the slides of my Berlin Buzzwords 2019 presentation that I gave on 2018 06-17.
This talk is essentially about the choices we made in designing and implementing our streaming system that can do behavioral analytics.
Note that the mentioned Useragent analyzer that is used in this project is an opensources Apache 2.0 licensed project of mine.See https://yauaa.basjes.nl for more information about this tool.
In this presentation, you’ll explore the new Series 40 web app APIs and features of Nokia Web Tools 2.0. Expert Michael Samarin from Futurice will show you how to develop for new Nokia Asha phones with a full-touch UI and will give you an overview of new templates and code samples.
Building high performance and scalable share point applicationsTalbott Crowell
SharePoint custom application development can sometimes be challenging. This presentation at SPS New Hampshire on October 18th, 2014 covers some techniques and strategies on improving performance and scalability of your applications.
An experience sharing of the OpenStack deployment at Suning.com, a large online retailer in China. The talk presents the challenges and opportunities on orchestrating the enterprise workloads using Heat.
A 101 level introduction to Web Analytics, and the concepts that underlie the technical aspects of digital measurement. Aimed at professionals new to the space, or business people looking to understand Web Analytics at a more detailed level.
Why test automation is getting more difficult, and what can be done about it. This slides are from a presentation by Group Director, Product Management at TestPlant, Gordon McKeown, which was presented at the Northern Lights conference in Manchester in April 2016.
Dubbo and Weidian's practice on micro-service architectureHuxing Zhang
Weidian is a social-based e-commerce platform that helps people with dreams to start a business easier. It is also committed to providing consumers with a useful, fun and attitude-oriented shopping platform. Since started from 2014, it has reached 170 millions app downloads in total, and millions of average DAU.
This slides introduces how Weidian's architecture is migrating from monolithic application to Dubbo's based micro-service architecture.
How bol.com makes sense of its logs, using the Elastic technology stack.Renzo Tomà
Presentation given by Renzo Tomà as "Tech and Use Case Deep Dive", during the Elastic{ON}Tour 2015 event in Amsterdam on October 29th.
Explanation of how bol.com is using the Elastic ELK stack to power a logsearch platform. Lots of details on the types of sources and number of feeds. Some history and reasoning why the current set of in-process JSON based logshippers are used. Links to the bol.com github account for the logshipper projects. The presentation ends with two special sauces: fun things you can do with lots of data in Elasticsearch. The 1st sauce is 'the call stack' - tagging each request with a unique ID, passing that ID along to all service calls and making sure this ID ends up in all access logging, enables you to group all calls together and get a call stack. The 2nd sauce is a way of generating a service map using access logging and some logstash magic.
I love questions and feedback. My mail address can be found in the presentation.
In a distributed environment with many service nodes, documentation should be distributed with those service nodes. Documentation should also be dynamic. These slides were for a presentation of a working system.
Protecting the Web at a scale using consul and Elk / Valentin Chernozemski (S...Ontico
HighLoad++ 2017
Зал «Мумбай», 7 ноября, 16:00
Тезисы:
http://www.highload.ru/2017/abstracts/3065.html
Brute-force attacks against web based applications are on the raise.
You will be presented with an architecture built on top of ELK (https://www.elastic.co/products) and consul (https://www.consul.io/) that is capable of reliably detecting, analysing and mitigating large scale brute-force attacks against Wordpress, Drupal, Magento and Joomla based web sites in near real time.
...
Easy Taxi está presente em mais de 30 países e tem milhões de usuários, entre passageiros e taxistas. Seu aplicativo roda em dezenas de plataformas móveis e suporta milhares de acessos simultâneos. A aplicação nasceu na nuvem da AWS e faz pleno uso de todos os seus recursos. Nesta apresentação avançada, exploramos a arquitetura da Easy Taxi e analisamos as estratégias de otimização disponíveis para os aplicativos implementados na nuvem AWS.
Cassandra Summit 2014: Turkcell Curio, Real-Time Targeted Mobile Marketing Pl...DataStax Academy
Presenter: Ülker Ciftci, Senior Expert Architect at Turkcell
In this session, hear how a leading telecom operator integrates complementary and powerful real-time big data processing technologies such as Apache Kafka, Apache Storm and Datastax Cassandra to build a distributed, fast, fault tolerant and highly scalable mobile marketing platform. Telecom operators as mobile app marketers can better target and offer individualized personalization by collecting customer behavior data and segmenting customers according to behavior. Currently there are 50 mobile applications in Turkcell's Mobile App. Store, and for now, these applications get almost 100 million hits per day. As more mobile applications and more users become involved in the Turkcell Curio, the data set coming from customer behaviours is growing each day. The main challenge facing mobile marketers is the difficulty of real time big data processing which requires low latency, high availability and high scalability. The second requirement, processing a user's action in an "exactly once semantics" for the sake of reliability, is making the challenge even bigger. Turkcell Curio, its name inspired from Mars Rover named Curiosity, is developed within Turkcell to solve these challenges. Curio is now in production, giving Turkcell's Mobile Marketers precious real-time statistics, reports and even chance to interact the online customers via another platform, Turkcell's Push Notifications Platform.
Website & Internet + Performance testingRoman Ananev
The presentation about how the site works on the Internet and what happens when you open it in your browser. What happens under the hood of the server and browser.
How to measure the performance of the CS-Cart project simply and without technical knowledge :) And of course, why all the online-performance-testing services lie, or dont provides a clear view ;)
https://www.simtechdev.com/cloud-hosting
---
Cloud hosting for CS-Cart, Multi-Vendor, WordPress, and Magento
by Simtech Development - AWS and CS-Cart certified hosting provider
free installation & migration | free 24/7 server monitoring | free daily backups | free SSL | and more...
Measuring 2.0 - How to handle 100K events/sec - Berlin Buzzwords 2019Niels Basjes
These are the slides of my Berlin Buzzwords 2019 presentation that I gave on 2018 06-17.
This talk is essentially about the choices we made in designing and implementing our streaming system that can do behavioral analytics.
Note that the mentioned Useragent analyzer that is used in this project is an opensources Apache 2.0 licensed project of mine.See https://yauaa.basjes.nl for more information about this tool.
In this presentation, you’ll explore the new Series 40 web app APIs and features of Nokia Web Tools 2.0. Expert Michael Samarin from Futurice will show you how to develop for new Nokia Asha phones with a full-touch UI and will give you an overview of new templates and code samples.
Building high performance and scalable share point applicationsTalbott Crowell
SharePoint custom application development can sometimes be challenging. This presentation at SPS New Hampshire on October 18th, 2014 covers some techniques and strategies on improving performance and scalability of your applications.
Similar to Bogdan Belu @IMWORLD 2014. Case study: How Distinct helped evoMAG.ro handle Blackfriday 2013 traffic spike (20)
1.Wireless Communication System_Wireless communication is a broad term that i...JeyaPerumal1
Wireless communication involves the transmission of information over a distance without the help of wires, cables or any other forms of electrical conductors.
Wireless communication is a broad term that incorporates all procedures and forms of connecting and communicating between two or more devices using a wireless signal through wireless communication technologies and devices.
Features of Wireless Communication
The evolution of wireless technology has brought many advancements with its effective features.
The transmitted distance can be anywhere between a few meters (for example, a television's remote control) and thousands of kilometers (for example, radio communication).
Wireless communication can be used for cellular telephony, wireless access to the internet, wireless home networking, and so on.
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC
Ellisha Heppner, Grant Management Lead, presented an update on APNIC Foundation to the PNG DNS Forum held from 6 to 10 May, 2024 in Port Moresby, Papua New Guinea.
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...JeyaPerumal1
A cellular network, frequently referred to as a mobile network, is a type of communication system that enables wireless communication between mobile devices. The final stage of connectivity is achieved by segmenting the comprehensive service area into several compact zones, each called a cell.
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBrad Spiegel Macon GA
Brad Spiegel Macon GA’s journey exemplifies the profound impact that one individual can have on their community. Through his unwavering dedication to digital inclusion, he’s not only bridging the gap in Macon but also setting an example for others to follow.
Italy Agriculture Equipment Market Outlook to 2027harveenkaur52
Agriculture and Animal Care
Ken Research has an expertise in Agriculture and Animal Care sector and offer vast collection of information related to all major aspects such as Agriculture equipment, Crop Protection, Seed, Agriculture Chemical, Fertilizers, Protected Cultivators, Palm Oil, Hybrid Seed, Animal Feed additives and many more.
Our continuous study and findings in agriculture sector provide better insights to companies dealing with related product and services, government and agriculture associations, researchers and students to well understand the present and expected scenario.
Our Animal care category provides solutions on Animal Healthcare and related products and services, including, animal feed additives, vaccination
Bogdan Belu @IMWORLD 2014. Case study: How Distinct helped evoMAG.ro handle Blackfriday 2013 traffic spike
1. CASE STUDY
www.distinct.ro
How Distinct helped evoMAG.ro handle Blackfriday 2013 traffic spike
Traffic is coming ! “OMG” moments
2. Summary:
1. Who
2. The Challenge
3. The Work
4. Aftermath
www.distinct.ro
3. www.distinct.ro
1. Who :: Bogdan Belu - Distinct
Bogdan Belu - www.bogdanbelu.com
19+ years of technical and business experience (network administration, programming, datacenter services)
since 2001, CEO of Distinct (www.distinct.ro), managed services and datacenter provider under "plus through responsibility" motto
helps clients handle their mission critical Internet infrastructure
Clients
4. 1. Who :: evoMAG
online retailer with IT-related products focus
2013 total revenue: 15.5 mil EUR
BIG Blackfriday promotional sale on Nov, 22, 2013 (up to 99% price cuts)
www.distinct.ro
5. 2. The Challenge
“keep the www.evomag.ro site 100% up during the Blackfriday 2013 event”
www.distinct.ro
6. www.distinct.ro
2. The Challenge :: Context
a warehouse full of products waiting to be sold
uptime problems in the previous years
same web application (more or less) as the previous years
better marketing campaign from evoMAG team compared to the past
marketing and inventory disaster if something goes wrong
8. 2. The Challenge
Distinct's role in this project:
• datacenter services (servers, networking)
• managed services (system administrators) Gladly accepted the challenge since is consistent with our mission: “Distinct provides infrastructure and maintenance of Internet services and applications. Distinct's offer include datacenter hosting, managed services and SaaS. The success of our clients depends on the proper functioning of computer applications such as content services, e-commerce, internet banking or email.”
www.distinct.ro
9. 3. The Work :: Analysis
• new client for Distinct
• started work about 40 days before the event (late start)
• got historic metrics from the previous Blackfridays
• got the traffic estimates from evoMAG's marketing departament (number of visitors, number of orders, estimated user path in site, etc)
• analyzed the site thoroughly (technical point of view)
• efficient budget because of the low margins (more of a marketing event)
www.distinct.ro
10. www.distinct.ro
3. The Work :: Targets
• translated marketing estimates into technical metrics (HTTP hits per site feature, bandwidth, etc)
• better to overestimate than sorry
• further translated technical metrics into an infrastructure proposal (network, servers, software stack)
Example for the Homepage:
• estimated the number of visitors per day: 600 000
• estimate the peak number of unique visitors per hour: 200 000
• total size of homepage: 1 MB
• total needed bandwidth for homepage for one user: 8 Mbps
• HTTP hits per homepage for one user: 100 (first visit, no browser caching)
• average unique visitors per second (peak): 55.56
• estimated hits pers second: 5555.56
• estimated bandwith needed: 444 Mbps
• after that, overestimated about 2.5x in order to handle instant peaks/stay safe
Orders: prepared for 50 orders/s (peak)
11. 3. The Work :: Roles
• Distinct (datacenter and managed services): systems and network
• Customsoft (the web application developer): special Blackfriday web pages, code optimizations, application insights
• evoMAG (the client): marketing data, constant feedback and rapid approvals
www.distinct.ro
12. 3. The Work :: Technical Keypoints
• URL analysis (load impact, predicted usage, usefulness) and classification, separate static (eg: product description, content page) and dynamic content (eg: shopping cart) into 'content classes'
• explicit URLs in order to ease classification
• took the responsibility for URLs (hardcoded caching and routing rules in load balancer), more than 1000 lines of configurations
• suggested to temporary eliminate unnecessary stuff for Blackfriday or make it client side, if possible (popups, cookies, background processes - crons not critical)
• request small but with big load impact software modifications whenever possible (due to short time frame)
• tried not to modify the existing setup core too much (to avoid the 'joys' of refactoring in such a short time), built around it
• move most of the dynamic bits on AJAX
www.distinct.ro
13. www.distinct.ro
3. The Work :: Technical Keypoints
TOPOLOGY:
Layer 1: Caching/Load Balancing
• those are the the systems client browsers connect to
• 16 IPs in DNS for www.evomag.ro at peak (load balancing via DNS)
• roles: caching, hits spikes load bearing
• scalable (easily add more on demand)
• HTTP caching, lots of (> 90% hit rate)
• automated health checks of the next layer
Layer 2: Caching/LoadBalancing/Routing
• 2 servers (active/active configuration)
• cache aggregation
• permitted quick/realtime request routing changes (automatic or manual)
• automatic health checks for the next layer (webservers) and exclude the 'bad' servers from production for a while (ex: 30s)
• even if the webserver behind is unavailable deliver cached content (when appropriate, we frozen static pages modifications for the day)
14. www.distinct.ro
3. The Work :: Technical Keypoints
Topology (continued):
Layer 3: Webservers
•cloned the existing webserver into multiple copies
•route the important requests (eg: orders, stock availability) into the designated master server
•designed a master server for 'sensitive' operations in order to workaround possible stock synchronization problems (because 'out of stock' condition could be triggered in matter of seconds for certain 'hot' items, each item had limited stock)
Layer 4: Database Servers
•used replication + R/W splitting component
•managed to avoid MySQL clustering (risky)
•optimized sql tables usage, temporary eliminate less important ones
•each webserver paired with a SQL server
15. 3. The Work :: Technical Keypoints
Hardware/Network:
• used 21 separate servers (not counting multiple virtual machines on each server)
• hybrid cloud approach (evoMAG owned original servers + Distinct dedicated servers + cloud servers available to scale the frontend caching)
• Software Stack: Linux (OS), Openvz (virtualization), Nginx (webserver), Mysql (database), PHP (programming language), memcached (sessions), Varnish (caching/reverse proxy)
• extensive use of SSDs for databases
• avoided use of a distributed file system (simpler stack, application permitted that), used periodic sync to clones + automatic request rerouting in case of errors (via load balancers)
• did load testing scenarios (we could have used more)
www.distinct.ro
16. www.distinct.ro
3. The Work :: Technical Keypoints
1. Redundancy:
• DNS (automatic)
• Reverse Proxy/Load Balancers (automatic but first layer semiautomatic)
• Webservers (automatic)
• SQL Servers (automatic, except master SQL server; plan: manually promote replica if failure happens)
• reduce to minimum the SPFs (Single Points of Failure) 2. Scalability:
• on every layer we could add more resources (horizontally)
• except master SQL server (which handled a limited set of requests by design)
3. Security:
• prevent possible security infiltrations masked be the high traffic 4. Monitoring:
• extensive monitoring, 94 key sensors (including error rate checks and automated simulated order of products)
• sms/phone/messenger alerting
17. T0-4 days
T0-7h T0 - 00:20, Black Friday (22 Nov 2013)
3. The Work :: Black Friday Timeline
• started adding servers (traffic build-up, as expected)
• everybody on duty (Distinct, programmers, evoMAG) and in constant communication
• launched teaser homepage + newsletter signups
• so many newsletter signups we thought something is wrong ( > 100 000)
• tried to hold any last minute modifications of the system (not so successfully)
Traffic is coming ! “OMG” moments
• last minute glitch in the customized homepage (heavy ajax), masked by using a manual LB rule in a matter dozens of seconds
• exceeded 10 000 users on site about 20 minutes after T0 (source: Google Analytics, 'Right Now' visitors on site)
• about 20 000 HTTP hits per second peak (within estimates)
• servers load ~ 25% (good) with some spikes
www.distinct.ro
19. www.distinct.ro
4. Aftermath :: Numbers
• T0 + 9h: 65% percent of inventory sold
• T0 + 9h: 145.317 visits
• T0 + 9h: ~ 9000 orders
• T0 + 12h: 1.1 Million EUR sales
415 000 total visits
1.6 Million EUR sales
(~ 10% of year's revenue)
number visitors growth compared to the previous Blackfriday: +66%
newsletter total subscribers: +35.5% up (as many as gathered in the previous 4.5 years)
(data source: evoMAG)
T0 + 26 minutes: orders 'golden minute‘:
• 365 orders / minute
•10 000 unique visitors on site according to Google Analytics
Blackfriday totals:
20. 4. Aftermath :: Feedback
• positive feedback from the customer, Mihai Patrascu, CEO, evoMAG: “I am sending to everybody in the team a sincere THANK YOU !”,
• positive feedback from Internet users (blog comments/forum posts), random sample:
Translation: “Evomag was decent until now, haven't crashed at all. We'll see eMAG by morning”
Source: http://www.buhnici.ro/2013/11/22/lista-evomag-black-friday-2013/
www.distinct.ro
21. 4. Aftermath :: Feedback
•Positive mass media feedback, example PRO TV / “I like IT” (special edition about Blackfriday), starting from 4m:40s:
http://stirileprotv.ro/stiri/ilikeit/secretele-vanzarilor-black-friday-vor-fi-dezvaluite-live-greii-emag-evomag-sambata-la-ilikeit.html
www.distinct.ro
23. www.distinct.ro
Thanks !
This presentation (slides + video) available on www.bogdanbelu.com
Thanks also to our partners
Bogdan Belu, CEO Distinct
Email: bogdan.belu@distinctgroup.net