Giter Site home page Giter Site logo

chakra-coder / spring-cloud-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from garystafford/spring-cloud-demo

0.0 1.0 0.0 1.87 MB

Spring Cloud Project for a blog post, Diving Deeper into ‘Getting Started with Spring Cloud’

Home Page: http://wp.me/p1RD28-1N1

License: MIT License

Shell 49.28% Batchfile 34.96% Java 15.76%

spring-cloud-demo's Introduction

Diving Deeper into ‘Getting Started with Spring Cloud’

Explore the integration of Spring Cloud and Spring Cloud Netflix tooling, through a deep dive into Pivotal’s ‘Getting Started with Spring Cloud’ presentation.

Project repository for accompanying blog post: Diving Deeper into ‘Getting Started with Spring Cloud’

Introduction

The presentation, Getting Started with Spring Cloud, given by Josh Long and Dr. Dave Syer, at SpringOne2GX 2015, provides an excellent end-to-end technical overview of the latest Spring and Netflix technologies.

The accompanying post examines the technologies, components, code, and configuration presented in Getting Started with Spring Cloud. The goal of the post is to provide a greater understanding of the Spring Cloud and Spring Cloud Netflix technologies.

To clone project locally:

git clone https://github.com/garystafford/spring-cloud-demo-config-repo.git
git clone --recursive https://github.com/garystafford/spring-cloud-demo.git

System Overview

Overall System Diagram

The presentation’s example introduces a dizzying array of technologies, which include:

Spring Boot
Stand-alone, production-grade Spring-based applications

Spring Data REST / Spring HATEOAS
Spring-based applications following HATEOAS principles

Spring Cloud Config
Centralized external configuration management, backed by Git

Netflix Eureka
REST-based service discovery and registration for failover and load-balancing

Netflix Ribbon
IPC library with built-in client-side software load-balancers

Netflix Zuul
Dynamic routing, monitoring, resiliency, security, and more

Netflix Hystrix
Latency and fault tolerance for distributed system

Netflix Hystrix Dashboard
Web-based UI for monitoring Hystrix

Spring Cloud Stream
Messaging microservices, backed by Redis

Spring Data Redis
Configuration and access to Redis from a Spring app, using Jedis

Spring Cloud Sleuth
Distributed tracing solution for Spring Cloud, sends traces via Thrift to the Zipkin collector service

Twitter Zipkin
Distributed tracing system, backed by Apache Cassandra

H2
In-memory Java SQL database, embedded and server modes

Docker
Package applications with dependencies into standardized Linux containers

Project URLs

Reservation Service
http://localhost:8000/reservations
http://localhost:8000/reservations/search/by-name?rn=Amit
http://localhost:8000/configprops
http://localhost:8000/metrics
http://localhost:8000/health

Reservation Client
http://localhost:8050/reservation-service/reservations
http://localhost:8050/reservations/names
http://localhost:8050/reservations
http://localhost:8050/reservations/service-message
http://localhost:8050/reservations/client-message

Eureka Server
http://localhost:8761

Spring Cloud Config
http://localhost:8888/reservation-service/master
http://localhost:8888/reservation-client/master

Hystrix Dashboard
http://localhost:8050/hystrix.stream
http://localhost:8010/hystrix.html

Zipkin
http://192.168.99.100:8080
http://192.168.99.101:9990/admin

H2 http://192.168.99.1:6889

spring-cloud-demo's People

Contributors

garystafford avatar

Watchers

Chakra 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.