Coder Social home page Coder Social logo

playlist-microservice's Introduction

playlist-microservice

This is the playlist microservice application.

The playlist microservice is responsible for returning all playlists from the database.

In order to use the playlist microservice container, we will need to configure the following environment variables:

  • ENVIRONMENT = DEBUG (For now the only option).
  • REDIS_HOST = IP address or domain name of Redis database. In our case, we will use Azure Cache for Redis.
  • REDIS_PORT = In our case, we will use 6379 (NON TLS PORT for Redis).
  • PASSWORD = Redis database password.
  • VIDEOS_API_HOST = Video microservice IP or hostname.
  • VIDEOS_API_PORT = Video microservice port.
  • JAEGER_ENDPOINT = JAEGER endpoint (For traces).

This microservice will expose metrics at the port 8000.

We have defined some custom metrics for better observability like:

  • Number of playlists.
  • Number of videos.
  • Number of videos per playlist.

We expose the port 10010 for serving our web application.

We can get playlists by browsing /{id} route.

Additionally, we can take a look at the health of the application by checking /healthz route.

playlist-microservice's People

Contributors

oumaymacharrad1999 avatar ayadi-mohamed 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.