Giter Site home page Giter Site logo

larserikdahl / microservice_workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bobbyno/microservice_workshop

0.0 0.0 0.0 15.8 MB

Material (setup, sample services, etc) for MicroService Workshop

Clojure 2.17% C# 34.37% PowerShell 4.46% Java 31.49% Kotlin 5.61% Ruby 20.93% Dockerfile 0.98%

microservice_workshop's Introduction

MicroService Workshop by Fred George

Copyright 2015-17 by Fred George. May be copied with this notice, but not used in classroom training.

Before Class...

Before the class, attendees should install and compile the sample code for the language they will be using. Libraries (DLL's, Gems, etc) can then be preloaded before class without relying on spotty Internet connectivity in class.

Also since tools vary, detailed instructions for getting the code to run in your chosen environment is difficult. It's best if you don't spend valuable class time trying to get the code to run.

Occassionally attendee machines have been locked down in various ways by their company. Again, it is best to wrestle with these issues before class.

Optionally, RabbitMQ can be installed locally (natively or via Docker). The instructor will provide instances of RabbitMQ if this is not feasible.

Language Sample Setup

The starting code is designed to allow attendees to quickly begin designing and developing new MicroServices. The following languages have sample code:

  • Java
  • C#
  • Ruby

See the README.md files in each of the language-specific directories for setup instructions.

While some attendees have tried other languages (JavaScript and Clojure, among others), they have never caught up to the rest of the class.

RabbitMQ

RabbitMQ is used as the asynchronous message bus in the workshop. The instructor will have instances of RabbitMQ running under Docker on the instructor's machine. This does require attendees to attach wirelessly to the instructor's machine, and the Wifi load can be troublesome at times.

Alternatively if you have Docker installed locally, attendees can bring up their own RabbitMQ instances. Please use the standard rabbitmq:management pull.

Also, please make sure to configure your system to allow external access to your own RabbitMQ. Pairs share instances of RabbitMQ, and most OS will block the ports by default.

Service operation

Regardless of language, the startup parameters for the services are the same:

  • IP address of RabbitMQ
  • Port of RabbitMQ

By default, RabbitMQ uses port 5672 for access and 15672 for its management console.

The Docker instances of the instructor's machine have remapped the ports for each instance of RabbitMQ to:

  • 56xx (xx = 73-85) for RabbitMQ access, and
  • 156xx (xx = 73-85) for management console

For the admin console, RabbitMQ uses guest for the user id and password.

microservice_workshop's People

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.