Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/silmar-alberti/rinha_backend_2024_q1

This project was made to participate for Brazilian backend challenge.
https://github.com/silmar-alberti/rinha_backend_2024_q1

docker frankenphp haproxy php postgresql symfony

Last synced: about 1 month ago
JSON representation

This project was made to participate for Brazilian backend challenge.

Awesome Lists containing this project

README

        

# Franken php backend

This project was made to participate for [Brazilian backend challenge](https://github.com/zanfranceschi/rinha-de-backend-2024-q1).

This application meets all challenge requirements:
- low memory usage 550MB to all services by the eccosystem.
- 1.5 cpu units provided.
- concurrent request handling
- stress test stability.

see some output data for stress test bellow.
for full report see [index.html](./assets/full-html-reports/index.html)

![stress-test-result](./assets/result-images/global-stress-test-result.png)

# Tools used

- [`Haproxy`](https://www.haproxy.org/) (load balancer)
- [`Postgres`](https://www.postgresql.org/) (database)
- [`php 8.3`](https://www.php.net/) (program language)
- [`Frankenphp`](https://frankenphp.dev/) (application server)
- [`Symfony`](https://symfony.com/) (framework)
- [`Docker`](https://www.docker.com/)

# Setup

- clone this project
- run `make up`
- The application should be running into [your localhost environment](http://localhost:9999/clientes/1/extrato)

# Author
[![linkedin](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/silmar-alberti/)
[![github](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/silmar-alberti)
[![Site](https://img.shields.io/badge/Site%20Pessoal-8A2BE2/?style=for-the-badge&color=blue)](https://dev.silmaralberti.com.br)