Revamped and Automated the infrastructure for NTN Buzztime

Similar documents
利用 Mesos 打造高延展性 Container 環境. Frank, Microsoft MTC

Think Small to Scale Big

Managing Openstack in a cloud-native way

Document Sub Title. Yotpo. Technical Overview 07/18/ Yotpo

Client Success in an Open Source World. Udi Shamay Head of Client Strategy, Magento

Deploying and Operating Cloud Native.NET apps

Developing and Testing Java Microservices on Docker. Todd Fasullo Dir. Engineering

Retrospective: The Magento Commerce Cloud at Work

Deploying and Operating Cloud Native.NET apps

Ruby in the Sky with Diamonds. August, 2014 Sao Paulo, Brazil

OpenShift 3 Technical Architecture. Clayton Coleman, Dan McPherson Lead Engineers

WHITE PAPER. RedHat OpenShift Container Platform. Benefits: Abstract. 1.1 Introduction

The computing architecture for the ISOLPHARM_Ag project. Lisa Zangrando. Lisa Zangrando INFN-PD

By: Jeeva S. Chelladhurai

Case Study. Performance Optimization & OMS Brainvire Infotech Pvt. Ltd Page 1 of 1

Using DC/OS for Continuous Delivery

ENHANCE APPLICATION SCALABILITY AND AVAILABILITY WITH NGINX PLUS AND THE DIAMANTI BARE-METAL KUBERNETES PLATFORM

CONTINUOUS DELIVERY WITH MESOS, DC/OS AND JENKINS

Real World CI with Red Hat Cloud Suite. Sim Zacks - Principal Quality Engineer Oded Ramraz - Manager QE Ops TLV

CONTINUOUS DELIVERY WITH DC/OS AND JENKINS

Continuous Integration and Delivery with Spinnaker

The four forces of Cloud Native

Microservices at Netflix Scale. First Principles, Tradeoffs, Lessons Learned Ruslan

Migrating from Oracle to Espresso

[Docker] Containerization

Zero to Microservices in 5 minutes using Docker Containers. Mathew Lodge Weaveworks

Personal Statement. Skillset I MongoDB / Cassandra / Redis / CouchDB. My name is Dale-Kurt Murray. I'm a Solutiof

Oracle Real Application Clusters One Node

Important DevOps Technologies (3+2+3days) for Deployment

HOW TO STAND OUT IN DEVOPS

Docker for People. A brief and fairly painless introduction to Docker. Friday, November 17 th 11:00-11:45

Address new markets with new services

Container Orchestration on Amazon Web Services. Arun

ApsaraDB for Redis. Product Introduction

Basic Concepts of the Energy Lab 2.0 Co-Simulation Platform

How the Cloud is Enabling the Disruption of the Construction Industry. AWS Case Study Construction Industry. Abstract

Containers Infrastructure for Advanced Management. Federico Simoncelli Associate Manager, Red Hat October 2016

Virtual vs Physical ADC

MySQL As A Service. Operationalizing 19 Years of Infrastructure at GoDaddy

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

AKF Partners Case Study Engagement Type: Long Term Interim CTO Role Industry: Online Marketing Analytics

YOUR APPLICATION S JOURNEY TO THE CLOUD. What s the best way to get cloud native capabilities for your existing applications?

AGILE DEVELOPMENT AND PAAS USING THE MESOSPHERE DCOS

PHP Composer 9 Benefits of Using a Binary Repository Manager

Performance Testing in a Containerized World. Paola Rossaro

Continuous Delivery of Micro Applications with Jenkins, Docker & Kubernetes at Apollo

April 21, 2017 Revision GridDB Reliability and Robustness

5 reasons why choosing Apache Cassandra is planning for a multi-cloud future

Let s say that hosting a cloudbased application is like car ownership

KELIA A modern solution in Insurance Management software based on Oracle and PHP

Microservices. Chaos Kontrolle mit Kubernetes. Robert Kubis - Developer Advocate,

Microsoft Azure Databricks for data engineering. Building production data pipelines with Apache Spark in the cloud

DevOps Course Content

What Building Multiple Scalable DC/OS Deployments Taught Me about Running Stateful Services on DC/OS

IBM Planning Analytics Workspace Local Distributed Soufiane Azizi. IBM Planning Analytics

Carrier-grade VoIP platform with Kamailio at 1&1

RELIABILITY & AVAILABILITY IN THE CLOUD

Ingress Kubernetes Tutorial

Predictive Insight, Automation and Expertise Drive Added Value for Managed Services

Red Hat OpenShift Roadmap Q4 CY16 and H1 CY17 Releases. Lutz Lange Solution

Deploying Applications on DC/OS

The Long Road from Capistrano to Kubernetes

Sunil Shah SECURE, FLEXIBLE CONTINUOUS DELIVERY PIPELINES WITH GITLAB AND DC/OS Mesosphere, Inc. All Rights Reserved.

Top five Docker performance tips

Matthias Wobben working in Berlin, Germany. Senior Sales Engineer at Nextcloud

MULE ESB High Availability (HA) CLUSTERING

Scaling ColdFusion. Presenter Mike Collins, Sr. ColdFusion Consultant - SupportObjective

Introduction to the Active Everywhere Database

Brainstorm K Containerization with Docker. Crown Palm 2:30-3:30. Adam W Zheng Nebraska Educational Service Unit 10

Europeana Core Service Platform

STATE OF MODERN APPLICATIONS IN THE CLOUD

Use Case: Scalable applications

Take Back Lost Revenue by Activating Virtuozzo Storage Today

Advantages of using DC/OS Azure infrastructure and the implementation architecture Bill of materials used to construct DC/OS and the ACS clusters

9 Reasons To Use a Binary Repository for Front-End Development with Bower

Welcome to Docker Birthday # Docker Birthday events (list available at Docker.Party) RSVPs 600 mentors Big thanks to our global partners:

Managing Large-Scale PostgreSQL Deployments

Fixing the "It works on my machine!" Problem with Docker

MySQL High Availability. Michael Messina Senior Managing Consultant, Rolta-AdvizeX /

Roles. Ecosystem Flow of Information between Roles Accountability

FOR A WALL STREET INVESTMENT BANK JOSH WEST SOLUTIONS ARCHITECT RED HAT FINANCIAL SERVICES

Send me up to 5 good questions in your opinion, I ll use top ones Via direct message at slack. Can be a group effort. Try to add some explanation.

Microservices with Red Hat. JBoss Fuse

VMware vsphere Clusters in Security Zones

Percona XtraDB Cluster

WHITEPAPER. Embracing Containers & Microservices for future-proof application modernization

DELIVERING PERFORMANCE, SCALABILITY, AND AVAILABILITY ON THE SERVICENOW NONSTOP CLOUD

BeBanjo Infrastructure and Security Overview

FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS

San Jose Water Company Expedites New Feature Delivery with DevOps Help from ClearScale on AWS

The Future of Virtualization Desktop to the Datacentre. Raghu Raghuram Vice President Product and Solutions VMware

vsan Security Zone Deployment First Published On: Last Updated On:

ProphetStor DiskProphet Ensures SLA for VMware vsan

Deploying Liferay Digital Experience Platform in Amazon Web Services

Advanced Continuous Delivery Strategies for Containerized Applications Using DC/OS

Availability of. Datacenter

What I ll be talking about. About me & bol.com The CI/CD bol.com Current setup. The future in the cloud

VoltDB vs. Redis Benchmark

Core Services for ediscovery Perfection

High Availability High Performance Plone

Transcription:

Revamped and Automated the infrastructure for NTN Buzztime Executive Summary NTN Buzztime Inc. was looking for scalable infrastructure with a new platform that could support display of real-time restaurant menus on 50,000 devices placed across the United States. HashedIn modernized NTN Buzztime s infrastructure and enabled them to go to the market faster.

Problem Statement NTN Buzztime Inc. is an interactive gaming company known for introducing innovative dining technologies to bars and restaurants across the United States and Canada. Buzztime wanted to modernize their infrastructure to go to market faster. They wanted a new platform that would allow effective monitoring with zero downtime. Business Requirements Objective To Modernize architecture and provide a stable platform that performed consistently across all environments. Key Requirements Summarized requirements put forth by the client were as below: Modernize existing architecture with latest tech stack which will solve the cost and scalability Build a stable platform that can handle a large volume of requests with zero downtime Implement continuous deployment and delivery to enable Release Early and Often Standardize environment and version control Proactive infrastructure maintenance Impact and involvement of stakeholders Smartshift has a big user base. There is also a big network of operations team involved on a daily basis. Restaurant Customers & Employees: Food menu delivered to 50K tablets, so the platform was used by customers and employees in restaurants to place orders Website users: Website data was powered by the same platform to deliver data. Approx 200K requests were served in a day Web Trivia game users: Gamers used the Metadata for live web trivia games. The platform had to scale to serve a large number of live gamers Product Managers: Product managers were focused on delivering features early and often Infrastructure Admins: The admins focused on reducing time spent on release management tasks Developers: The developers were carrying out the task of identifying incidents before users were impacted.

Solution Approach Our Solution Structure Docker- Containerization using extremely lightweight Docker resulted in utilizing the VM resources effectively. This also bought inconsistency across environments. Isolation and segregation enabled by docker resulted in reducing the regression areas. Docker Swarm- Continuous deployment of containers was implemented in docker swarm clusters and swarm failover was enabled to protect from node outages and achieve zero downtime. Docker swarm was also set up to add or subtract container iteration as changing the computing demands resulted in cost deduction. Nginx reverse-proxy and load balancing was implemented with advanced security implementations which helped to avail 100% uptime Smart caching using Redis implementation enabled to serve real-time food menus in 50000 tablets across the US. A Redis sentinel setup with 3 redis servers and 3 hosts instead of one make the system more fault tolerant than the usual. A Gunicorn application server was implemented, tuned for high performance with lower response time. New-Relic was setup for enhanced monitoring, which helped in proactive maintenance of application & infrastructure. Log entries were implemented for centralized log management of docker and other applications, which helped in achieving proactive alert system in case of live incidents and also reduced the debugging time by 30%. Log rotate was setup for periodically collecting logs from each node of applications. This also includes periodic cleanup of old logs to maintain steady disk capabilities. Beanstalk and Jenkins were used in continuous integration and orchestration which resulted in smooth deployment and error-free build with fall back ability in case of failures. Apache workbench & Gatling (Automated testing) enabled automated performance testing, which helped in achieving stable systems during each deployment. HAProxy and Docker swarm contribute towards making the system more efficient to handle a large load. Apache workbench & Gatling (Automated testing) enabled automated performance testing, which helped in achieving stable systems during each deployment.

Solution Dynamics and Interactions The overall solution is composed of the following layers: HAProxy Layer HAProxy is the load balancer which is the first point of interaction from the coming request. It routes the requests forward to one of the swarm load balancers in the docker swarm cluster. Docker Swarm Load Balancer The Docker swarm load balancer s job is to forward the request to one of the multiple NGINX container across the three hosts. NGINX Layer The NGINX layer is connected with multiple upstreams, which essentially are containers for a different application supported by the platform. Each of which is a set of wsgi container running on different port. Each of the requests is routed to the correct container based on the URL. WSGI Layer This is the application server layer, this runs the Gunicorn server which is the process which handles the request. This layer has interaction with multiple external services like Database, Mongo DB, Firebase etc. Redis Layer The requests to Redis are the only ones which reach this layer. The redis follows a sentinel pattern, which consists of one master and two slaves, to avoid possible downtime.

Technology Stack Nginx Docker and Docker Swarm Gunicorn Redis Log entries New Relic Beanstalk Jenkins Apache workbench Business Outcomes The infrastructure delivered was serving 2 million requests with zero downtime. There was 4X improvement in application performance with the new infrastructure. The platform was stable since it went live. The continuous integration with automated performance testing enabled in finding issues earlier and in reducing development cycles. Consistency across environments via docker helped in stabilizing the program. HashedIn has helped many promising firms across the globe by building customized solutions to give the users a completely hassle-free experience. Kindly let us know if you have any specific problem/use case, where we can provide more information or consult you. https://hashedin.com/contact-us/