GithubHelp home page GithubHelp logo

ew-micro-services's Introduction

Micro services

You should navigate through the banches in the following order:

mono-app

This is the base monolith app, launch it with docker-compose -f mono.docker-compose.yml up --build and play with it!

You may launch Postman, import both the collection and environment files and run the queries to create a job offer and submit your resume (you should select a file like artillery/data/cv1.txt).

You may run artillery tests by going into ./artillery and run npx artillery run scenario.yml. You can configure your screnario in this very last file.

micro-services

This contains the 2 services (jobs and applications), launch it with docker-compose -f ms.docker-compose.yml up --build and play with it! Use Postman and Artillery (results should be better).

Please note that the app folder becomes useless!

micro-services-rabbitmq

This contains the 2 services with RabbitMQ for the comunication, launch it with docker-compose -f ms-rabbitmq.docker-compose.yml up --build and play with it!

You can check the RabbitMQ website to see your messages going through!

micro-services-rabbitmq

This contains the 2 services with RabbitMQ for the comunication and Nginx for the loadbalancing, launch it with docker-compose -f ms-rabbitmq-nginx.docker-compose.yml up --build --scale applications-app=3 and play with it!

Please note the new --scale applications-app=3 option that will tell Docker to create 3 replacas of this service.

Please note that you may have to update the ms-rabbitmq-nginx.docker-compose.yml and nginx/nginx.conf files by replacing the ew-micro-services string by your root folder name (if you changed it).

ew-micro-services's People

Contributors

aleygues avatar

Forkers

axelgourlin

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.