Code Monkey home page Code Monkey logo

2021-04-24-gophercon-russia's Introduction

GopherCon Russia 2021

This repository contains slides and code for my talk at GopherCon Russia 2021.

Slides

The slides/ directory has the slides for the talk. They are in reveal JS format. In order to run them, you need a static web server. Support is provided out of the box for Caddy. To use it, make sure you have Caddy v2 and run the following from the root of this repository (not the slides directory):

caddy run

Code

The other 3 directories are Go code:

  • origin/ - a simple HTTP server intended to be the "application" that we're proxying
  • scaler/ - a simple HTTP server intended to represent the system that scales replicas of the origin up and down. It also reports the number of replicas of the origin.

    The scaler doesn't actually scale replicas in this demo. It just reports a fake number of replicas

  • proxy/ - the service that accepts HTTP requests and forwards them to the origin. The proxy uses the scaler to determine how many replicas of the origin exist (it holds the request if there are no replicas) and intelligently forwards requests to the origin based on whether it can establish a TCP connection with it.

2021-04-24-gophercon-russia's People

Contributors

arschles avatar

Stargazers

 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.