Code Monkey home page Code Monkey logo

microservice-istio's Introduction

Microservice Istio Sample

Deutsche Anleitung zum Starten des Beispiels

This demo uses Kubernetes as Docker environment. Kubernetes also support service discovery and load balancing. An Apache httpd as a reverse proxy routes the calls to the services.

Also the demo uses Istio for features like monitoring, tracing, fault injection, and circuit breaking.

This project creates a complete micro service demo system in Docker containers. The services are implemented in Java using Spring Boot and Spring Cloud.

It uses three microservices:

  • Order to accept orders.
  • Shipping to ship the orders.
  • Invoicing to ship invoices.

How to run

See How to run.

Remarks on the Code

The microservices are:

The microservices have an Java main application in src/test/java to run them stand alone. microservice-demo-shipping and microservice-demo-invoicing both use a stub for the other order service for the tests.

The data of an order is copied - including the data of the customer and the items. So if a customer or item changes in the order system this does not influence existing shipments and invoices. It would be odd if a change to a price would also change existing invoices. Also only the information needed for the shipment and the invoice are copied over to the other systems.

The job to poll the order feed is run every 30 seconds.

microservice-istio's People

Contributors

joergm avatar lach1 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.