Coder Social home page Coder Social logo

todo-demo-malt's Introduction

TODO Demo

This repository contains a simple example of APIs for a TODO app that uses microservices to provide clean separation. The main premise is to highlight the MALT stack (metrics, alerting, logging, and tracing) along with service discovery. These particular examples use the following frameworks.

  • APIs : Spring MVC
  • Discovery : Eureka
  • Metrics : Dropwizard Metrics, Telegraf, InfluxDB, Grafana
  • Alerting : ElastAlert
  • Logging : Logback, Logstash, Elasticsearch, Kibana
  • Tracing : Zipkin
  • Service Broker : Kafka

The todo-app is the central API for the service. The app uses the Spring RestTemplate with the Netflix Ribbon API to pull data from the other available APIs via Service Discovery: auth-api-service for user information, task-api-service for task management, and friend-api-service to manage friendships. Each of these services use Spring Boot with Spring Cloud. The APIs use MySQL to fetch the data. Alongside each application is a Logstash collector responsible for parsing the necessary logs and shipping to Kafka.

The eureka-service is a Spring Boot application that sets up Eureka for service discovery. Each application registers itself with Eureka.

The zipkin-service is a Spring Boot application that sets up a Zipkin service for managing tracing between calls.

The alerting module sets up ElastAlert rules that query Elasticsearch for logs to determine if alerts need to be sent out.

The docker module provides a single docker compose configuration for loading all available applications. Warning that running this image requires lots of memory and CPU available to the host.

todo-demo-malt's People

Watchers

Nicholas Hagen avatar  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.