/do

Primary LanguageRuby

Echo Server

Echos an http requests with an additional echoed field.

Setup

Run bundle install from the root directory.

Tests

Run rspec from the root directory.

Linter

Run rubocop from the root directory.

Running

Run puma from the root directory.

Dockerized

To build the docker container: docker build -t echo:latest .

To run it inside docker: docker run -p 3000:3000 -p 9393:9393 echo:latest

SLOs/SLIs

Since the service is simple, we can establish SLIs with what we have as endpoints, for example

  • The response time of the POST/PUT endpoints
  • The error rate of the server i.e 5xx

These two SLIs as a start can formulate the SLO of the application and then the error budget also