Giter VIP home page Giter VIP logo

microservices-comparison's Introduction

Microservices libraries comparison

Purpose

This project is the companion of this Blog article: https://cdelmas.github.io/2015/11/01/A-comparison-of-Microservices-Frameworks.html.

Setup

You will need a keystore. You can follow a tutorial here to set up a keystore with a self-signed certificate.

One of the client libraries requires you to import the Facebook’s certificate into the truststore. To do that, you can follow these instructions.

Build

To build the servers, just run gradlew shadowJar in the command line. By the way, you need a JDK 8, but I guess you’re up-to-date :)

Run

Then you can run each server using java -Djavax.net.ssl.trustStore=/path/to/trustStore.jks -Djavax.net.ssl.trustStorePassword=thepass -Djavax.net.ssl.keyStorePassword=thePass -Djavax.net.ssl.keyStorePath=/path/to/keyStore.jks -jar <server>.jar. Don’t forget to replace <server> with the correct jar name.

The Dropwizard server needs a special command line: java …​ -jar dropwizard.jar server /path/to/dropwizard-server.yml.

Notes

There are no unit tests, and it is fully assumed.

The missing guys

In a future version, I will add Restx, Payara and Swarm to the comparison. It is a long exercise though, but stay in touch ;)

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.