GithubHelp home page GithubHelp logo

saidrmansour / lifetimeline Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 895 KB

This is for compulsory assignment for DLS (Development of Large Systems)

C# 64.17% Dockerfile 9.41% HTML 20.50% CSS 5.00% JavaScript 0.93%

lifetimeline's Introduction

Lifetimeline

Lifetimeline is a demonstration of a distributed .NET microservices application, using Docker for orchestration and featuring monitoring and distributed tracing capabilities. This project exemplifies the use of distributed tracing, monitoring for distributed systems, asynchronous design, and the fire-and-forget principle. It showcases how microservices like BirthdayCollector and YearInHistoryService interact through a user interface, with the entire flow managed by Docker Compose. Monitoring is implemented using Seq (accessible at localhost:5342) and Zipkin (localhost:9411).

The application allows users to enter their birthdate to calculate their current age and fetch historical events from their birth year through an API gateway.

.NET Microservices Docker HTML5 JavaScript CSS3

Key Features

  • Asynchronous communication between the BirthdayCollector and YearInHistory services.
  • Utilization of circuit breakers and retry patterns via Polly for fault isolation and resilience.
  • Distributed tracing and monitoring using OpenTelemetry, Zipkin, and Seq.
  • UI service in MVC architecture acts as the domain that communicates with the BirthdayCollector service.

Components

  • BirthdayCollector: A microservice that calculates age from the birthdate and fetches historical events.
  • YearInHistoryService: Handles fetching historical events for a specific year.
  • UI Service: The front-end service providing the user interface for interaction.
  • Monitoring: Implements logging and tracing across services.

Technologies

  • .NET: For building microservices and the UI.
  • Docker: For containerization and orchestration.
  • Polly: For implementing resilience patterns.
  • OpenTelemetry: For distributed tracing.
  • Seq and Zipkin: For monitoring and tracing visualization.

Installation and Setup

To install and run the application:

  1. Install dependencies for each service:
    • BirthdayCollector: Newtonsoft.json
    • YearInHistory: Polly, Polly.Extensions.Http
    • Monitoring: OpenTelemetry packages, Serilog
    • UI: Polly, Microsoft.Extensions.Http.Polly, Newtonsoft.json
  2. Run docker compose up –build web-ui to start the application.
  3. Access
    • UI: localhost:8000
    • Seq: localhost:5342
    • Zipkin: localhost:9411

Contributing

Contributions are welcome. Special thanks to Wehba Korouni for the cooperation. This project is maintained by Said Mansour.

Contact

For any inquiries or contributions, please open an issue on the project's GitHub page.

lifetimeline's People

Contributors

saidrmansour avatar

Watchers

 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.