Git Product home page Git Product logo

ce-demo-lms's Introduction

Setup

  • Create a project to contain resources used in this demo

LMS setup

  • Open GCP Cloud Shell with SDK pointed at demo project
  • In Cloud Shell, run the deployment, providing preferred passwords for SQL and Supervisor
cd ~
git clone https://github.com/jwdavis/ce-demo-lms.git
cd ~/ce-demo-lms/deploy
. ./start_deployment.sh <sql_pass> <supervisor_pass>
  • Wait 60-90 seconds for load balancer to come online
  • Open browser pointed at load balancer IP and validate app is running

Demo instructions

Stage 1 - Show app

  • show home page
  • show modules
  • show module
  • show create module - don't actually create module

Stage 2 - Show architecture

Architecture diagram

  • walk them through diagram
  • point out pub/sub is there if you want

Stage 3 - Show load balancer

  • global ip
  • backend service page

Stage 4 - Show managed instance groups

  • show the three web and one transcode
  • show autoscaling setup

Stage 5 - show traffic distribution

  • start up test machines (if they have been stopped)
  • ssh into test machines in na,eu,asia
  • generate load from three regions ab -n 1500 -c 1 http://<your ip>/gcs/mantas.mp4
  • backend takes 30-60 seconds to refresh; stall
  • show traffic from origins going to correct backends

Stage 6 - show autoscaling web app

  • generate high rps load from each test machine ab -n 150000 -c 16 http://<your ip>/
  • show instance groups changing size
  • show backend page update

Stage 7 - show autoscaling transcoding servers

  • show raw media bucket
  • show transcoded media bucket
  • create module with video
  • backend takes 30-60 seconds to kickoff
  • show new server spinning up
  • show cpu utilization in instance group

optional Stage 8 - build the whole thing from scratch

ce-demo-lms's People

Contributors

jwdavis avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.