Giter Site home page Giter Site logo

clu's Introduction

clu(ster)

This repo contains all the necessary assets and configuration to deploy Playlist.com and related services onto our infrastructure. This repository is open source in the hopes that others will find it useful, though of course our application code is closed source. Happy hacking!

Requirements

  • Docker
  • Go
  • Ruby

Image Types

All images run consul for service discovery.

App

Contains the running code for our backend API - includes the Go runtime and database client libraries. Each server has a version associated with it, so that it can be targeted by the load balancer.

Database / Cache

Runs MySQL either in master or slave mode, Redis in cluster mode, ElasticSearch, OrientDB in cluster mode, and InfluxDB in cluster mode. It self-attaches disks at startup for data storage.

Load Balancer

This image load balances app instances - it builds its configuration based on consul and live reloads on changes.

Background / Monitor

This image provides web-accessible access to the cluster for administration purposes, as well as handles periodic background tasks (like MediaNet data imports and background analytics processing). It also collects the logs in a centralized place. It is a singleton.

Inspiration / Credits

hk, etcdctl, and terraform all provided excellent examples of Go CLI apps.

clu's People

Contributors

jacobwgillespie avatar

Watchers

 avatar Phil Larson avatar Stefan Gomez avatar Alex Tang avatar James Cloos avatar Alexander Kharevich avatar Eduardo Fonseca avatar Mehmet Bal avatar  avatar Binh Nguyen avatar Noah Appel avatar  avatar Karen Katz avatar Jarvis avatar  avatar  avatar Steve Petersen 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.