Coder Social home page Coder Social logo

glusk / hackathon-2021 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from etrel-development/hackaton-2021

0.0 0.0 0.0 230 KB

DevOps hackathon for infrastructure setup

Dockerfile 1.62% JavaScript 98.38%
devops docker docker-swarm hackathon haproxy

hackathon-2021's People

Contributors

alespermeetrel avatar etrel-development avatar glusk avatar

hackathon-2021's Issues

Sketch out the solution

The idea was inspired by the following blog post:
https://guido-barbaglia.blog/compose/

Lets have a single Docker image containing the project source code.

We can use a single image to define services with Docker Compose.

For now, lets add two services:

  • node-server
    Let this service use a single container on our test host machine to run the server
  • node-client
    Lets use this service to create 6 containers that will run on the same host and connect to the server

Update README

Current README doesn't properly reflect the state of the project.

Correct the npm scripts.

Show how to generate the Docker image and how it can be used.

Move docker-compose.yml directly into the README and let it serve as a sample.

Fix basic Docker config

Edit code and Dockerfile so that a basic docker image of the server can be generated and run.

Add CI

For now, lets just run:

npm ci
npm run lint

Fixing this and that (pun intended)

The simulator exhibits an unusual amount of disconnects (client side disconnects) when CONCURRENCY_LEVEL is set to about 10k or more.

Lets try to go through all this and that references in the code to see whether they're used appropriately.

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.