diff --git a/STATUS-TESTES.md b/STATUS-TESTES.md index 7f270d445..ad698a483 100644 --- a/STATUS-TESTES.md +++ b/STATUS-TESTES.md @@ -1,7 +1,7 @@ # Status da Execução dos Testes Tabela com os status das execuções de testes para cada submissão. -Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. +Atualizada **Mon Mar 11 02:59:14 UTC 2024** com **736** submissões. | participante | status | p75 geral | | -- | -- | -- | @@ -15,6 +15,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [Fabricio-net8](./participantes/Fabricio-net8) | ok | 2 | | [FaelLima98](./participantes/FaelLima98) | ok | 5 | | [KitsuneSemCalda](./participantes/KitsuneSemCalda) | ok | 1 | +| [LeGustaLagosta](./participantes/LeGustaLagosta) | ok | 3 | | [LuisKpBeta](./participantes/LuisKpBeta) | ok | 2 | | [NathanFirmo](./participantes/NathanFirmo) | ok | 6 | | [PatrickChagastavares](./participantes/PatrickChagastavares) | ok | 3 | @@ -33,6 +34,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [adrian-e-henrique](./participantes/adrian-e-henrique) | ok | 3 | | [adrianbueno-rocket](./participantes/adrianbueno-rocket) | ok | 2 | | [adriano-moreira](./participantes/adriano-moreira) | ok | 4 | +| [adrianog3](./participantes/adrianog3) | ok | 3 | | [agostinho](./participantes/agostinho) | ok | 4 | | [agpsl](./participantes/agpsl) | ok | 2 | | [alan_albuquerque](./participantes/alan_albuquerque) | ok | 1 | @@ -233,12 +235,14 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [fernandomedeiros](./participantes/fernandomedeiros) | falha - [logs](./participantes/fernandomedeiros/docker-compose.logs) | -- | | [fernandomorais](./participantes/fernandomorais) | ok | 2 | | [fernanduandrade](./participantes/fernanduandrade) | ok | 2 | +| [fgarrido](./participantes/fgarrido) | ok | 2 | | [fhgm](./participantes/fhgm) | ok | 2 | | [fielcapao-javaslow-no-framework](./participantes/fielcapao-javaslow-no-framework) | falha - [logs](./participantes/fielcapao-javaslow-no-framework/docker-compose.logs) | -- | | [fielcapao](./participantes/fielcapao) | falha - [logs](./participantes/fielcapao/docker-compose.logs) | -- | | [filipemacedo](./participantes/filipemacedo) | ok | 3 | | [flpStrri](./participantes/flpStrri) | ok | 2 | | [fraidev](./participantes/fraidev) | falha - [logs](./participantes/fraidev/docker-compose.logs) | -- | +| [francoggm](./participantes/francoggm) | falha - [logs](./participantes/francoggm/docker-compose.logs) | -- | | [franklaercio](./participantes/franklaercio) | ok | 4 | | [ftathiago-blogdoft-csharp-aot](./participantes/ftathiago-blogdoft-csharp-aot) | ok | 2 | | [ftathiago-blogdoft-csharp](./participantes/ftathiago-blogdoft-csharp) | ok | 2 | @@ -372,6 +376,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [jrkessl](./participantes/jrkessl) | falha - [logs](./participantes/jrkessl/docker-compose.logs) | -- | | [julianojj](./participantes/julianojj) | ok | 7 | | [julioriffel-django](./participantes/julioriffel-django) | ok | 6 | +| [julioriffel-fastapi](./participantes/julioriffel-fastapi) | ok | 3 | | [juliorovesta](./participantes/juliorovesta) | ok | 1 | | [juliotsutsui-node](./participantes/juliotsutsui-node) | ok | 5 | | [juniodbl](./participantes/juniodbl) | falha - [logs](./participantes/juniodbl/docker-compose.logs) | -- | @@ -399,6 +404,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [leodf-go](./participantes/leodf-go) | ok | 2 | | [leoggo_golang](./participantes/leoggo_golang) | ok | 6 | | [leoggo_rust](./participantes/leoggo_rust) | ok | 6 | +| [leonardo-meireles](./participantes/leonardo-meireles) | falha - [logs](./participantes/leonardo-meireles/docker-compose.logs) | -- | | [leonardohofling](./participantes/leonardohofling) | ok | 2 | | [leonardoksn](./participantes/leonardoksn) | falha - [logs](./participantes/leonardoksn/docker-compose.logs) | -- | | [leonardovee](./participantes/leonardovee) | falha - [logs](./participantes/leonardovee/docker-compose.logs) | -- | @@ -422,7 +428,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [lsfratel-python-own-framework](./participantes/lsfratel-python-own-framework) | ok | 3 | | [lsfratel-python](./participantes/lsfratel-python) | ok | 3 | | [lsfratel](./participantes/lsfratel) | ok | 3 | -| [luan-javalin](./participantes/luan-javalin) | falha - [logs](./participantes/luan-javalin/docker-compose.logs) | -- | +| [luan-javalin](./participantes/luan-javalin) | ok | 2 | | [luanfrj-camel](./participantes/luanfrj-camel) | ok | 2 | | [lubien-multi-tenant-sqlite](./participantes/lubien-multi-tenant-sqlite) | ok | 2 | | [lubien-phoenixqlite](./participantes/lubien-phoenixqlite) | ok | 2 | @@ -438,7 +444,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [lucassperez-go-crebito](./participantes/lucassperez-go-crebito) | ok | 4 | | [lucaswilliameufrasio](./participantes/lucaswilliameufrasio) | ok | 4 | | [lucaswojahn](./participantes/lucaswojahn) | falha - [logs](./participantes/lucaswojahn/docker-compose.logs) | -- | -| [lucianovilela](./participantes/lucianovilela) | ok | 1 | +| [lucianovilela](./participantes/lucianovilela) | ok | 2 | | [luisescosta](./participantes/luisescosta) | ok | 2 | | [luizfrra](./participantes/luizfrra) | ok | 2 | | [luizgribeiro-monGo](./participantes/luizgribeiro-monGo) | ok | 1 | @@ -475,6 +481,8 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [mateuscolvr](./participantes/mateuscolvr) | ok | 4 | | [mateusdeitos-node](./participantes/mateusdeitos-node) | ok | 2 | | [mateusdeitos-php-swoole](./participantes/mateusdeitos-php-swoole) | ok | 2 | +| [mateuxlucax-dart](./participantes/mateuxlucax-dart) | ok | 2 | +| [mateuxlucax-quarkus](./participantes/mateuxlucax-quarkus) | ok | 1 | | [matheus-mr](./participantes/matheus-mr) | ok | 4 | | [matheus-trindade](./participantes/matheus-trindade) | ok | 2 | | [matheusbaptistella-rust](./participantes/matheusbaptistella-rust) | ok | 7 | @@ -521,9 +529,11 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [noriller-5](./participantes/noriller-5) | ok | 3 | | [noriller](./participantes/noriller) | ok | 3 | | [normanfrieman](./participantes/normanfrieman) | ok | 2 | +| [nosilex](./participantes/nosilex) | ok | 2 | | [not4rt-rspingora](./participantes/not4rt-rspingora) | ok | 1 | | [nyxawaits](./participantes/nyxawaits) | ok | 5 | | [ogabriel-elixir](./participantes/ogabriel-elixir) | ok | 2 | +| [ogabriel-golang](./participantes/ogabriel-golang) | ok | 1 | | [oliveiraeliel](./participantes/oliveiraeliel) | ok | 2 | | [oliveiratheone-rust](./participantes/oliveiratheone-rust) | ok | 1 | | [oloko64](./participantes/oloko64) | ok | 1 | @@ -557,18 +567,21 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [quokka](./participantes/quokka) | ok | 5 | | [rafaelktakahashi](./participantes/rafaelktakahashi) | ok | 2 | | [rafaelleoni](./participantes/rafaelleoni) | ok | 4 | +| [rafaelpadovezi-django-orm](./participantes/rafaelpadovezi-django-orm) | ok | 7 | | [rafaelpadovezi-django](./participantes/rafaelpadovezi-django) | ok | 5 | | [rafaelpadovezi-mongo](./participantes/rafaelpadovezi-mongo) | ok | 2 | | [rafaelpadovezi](./participantes/rafaelpadovezi) | ok | 5 | | [rafaelrcamargo](./participantes/rafaelrcamargo) | ok | 1 | | [rafaeltorquato-saitama](./participantes/rafaeltorquato-saitama) | ok | 1 | | [rafaqwe1](./participantes/rafaqwe1) | ok | 6 | +| [rafaumlemos](./participantes/rafaumlemos) | falha - [logs](./participantes/rafaumlemos/docker-compose.logs) | -- | | [raiane-dev](./participantes/raiane-dev) | ok | 2 | | [raissadev](./participantes/raissadev) | ok | 2 | | [ramondelemos](./participantes/ramondelemos) | ok | 2 | | [ramonmelod-node-express](./participantes/ramonmelod-node-express) | ok | 7 | | [ramosfabiano](./participantes/ramosfabiano) | ok | 3 | | [ramosfabiano_v2](./participantes/ramosfabiano_v2) | ok | 3 | +| [raphael_milani](./participantes/raphael_milani) | falha - [logs](./participantes/raphael_milani/docker-compose.logs) | -- | | [raphaelmonticello](./participantes/raphaelmonticello) | ok | 3 | | [rayan-elixir](./participantes/rayan-elixir) | ok | 1 | | [rayan-rust](./participantes/rayan-rust) | ok | 1 | @@ -614,6 +627,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [rschio](./participantes/rschio) | ok | 5 | | [rud-nodejs](./participantes/rud-nodejs) | ok | 1 | | [ruhtar](./participantes/ruhtar) | ok | 1 | +| [rust-cassiogangrel](./participantes/rust-cassiogangrel) | ok | 4 | | [rwillians-elixir](./participantes/rwillians-elixir) | ok | 4 | | [ryan_and_sena](./participantes/ryan_and_sena) | ok | 2 | | [ryansdb](./participantes/ryansdb) | ok | 2 | @@ -629,6 +643,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [santannaf_webflux_wu](./participantes/santannaf_webflux_wu) | ok | 5 | | [saulomendonca-rails](./participantes/saulomendonca-rails) | ok | 1 | | [savio04](./participantes/savio04) | ok | 3 | +| [schrammel-bun-prisma](./participantes/schrammel-bun-prisma) | ok | 5 | | [sergipebackend-java](./participantes/sergipebackend-java) | ok | 2 | | [silmar-alberti-franken-php](./participantes/silmar-alberti-franken-php) | ok | 2 | | [sinatrinha-do-povo](./participantes/sinatrinha-do-povo) | ok | 4 | @@ -659,10 +674,11 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [tomer](./participantes/tomer) | ok | 1 | | [tonholis-dotnet](./participantes/tonholis-dotnet) | ok | 2 | | [tonico](./participantes/tonico) | ok | 80 | -| [tonycarvalho1994-python](./participantes/tonycarvalho1994-python) | ok | 1 | +| [tonycarvalho1994-python](./participantes/tonycarvalho1994-python) | falha - [logs](./participantes/tonycarvalho1994-python/docker-compose.logs) | -- | | [tonycarvalho1994](./participantes/tonycarvalho1994) | ok | 4 | | [tortuga](./participantes/tortuga) | ok | 4 | | [trindadematheus-node](./participantes/trindadematheus-node) | ok | 1 | +| [tsugami](./participantes/tsugami) | ok | 4 | | [udleinati](./participantes/udleinati) | ok | 2 | | [vgdss](./participantes/vgdss) | ok | 1347 | | [vhogemann](./participantes/vhogemann) | ok | 4 | @@ -687,6 +703,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [vitor_weirich_java](./participantes/vitor_weirich_java) | ok | 148 | | [vitor_weirich_java_network_host](./participantes/vitor_weirich_java_network_host) | ok | 102 | | [vitorascorrea](./participantes/vitorascorrea) | ok | 2 | +| [vitorbgs](./participantes/vitorbgs) | ok | 3 | | [vitorlacerda-dotnet](./participantes/vitorlacerda-dotnet) | ok | 15 | | [vitorlacerda-golang](./participantes/vitorlacerda-golang) | ok | 3 | | [vitornorberto-micronaut](./participantes/vitornorberto-micronaut) | ok | 3 | @@ -702,6 +719,7 @@ Atualizada **Mon Mar 11 01:30:03 UTC 2024** com **718** submissões. | [wagner](./participantes/wagner) | ok | 1 | | [wdmatheus](./participantes/wdmatheus) | ok | 1 | | [welitonfreitas](./participantes/welitonfreitas) | falha - [logs](./participantes/welitonfreitas/docker-compose.logs) | -- | +| [wesleyav](./participantes/wesleyav) | falha - [logs](./participantes/wesleyav/docker-compose.logs) | -- | | [wesleyegberto](./participantes/wesleyegberto) | ok | 2 | | [wesleyricardi-rust](./participantes/wesleyricardi-rust) | ok | 1930 | | [weversonl](./participantes/weversonl) | ok | 2 | diff --git a/participantes/.gitignore b/participantes/.gitignore index fbb81d698..ed49a6c0a 100644 --- a/participantes/.gitignore +++ b/participantes/.gitignore @@ -1,6 +1,7 @@ mangar-golang/20240309_SERVER_02.log mangar-golang/20240309_SERVER_01.log isadora-souza-mongodb/init.sql +wesleyav/scripts diogoviana/storage diogoviana/tmp cleverton-rocha/postgresql.conf diff --git a/participantes/LeGustaLagosta/docker-compose.logs b/participantes/LeGustaLagosta/docker-compose.logs new file mode 100644 index 000000000..f43f039fd --- /dev/null +++ b/participantes/LeGustaLagosta/docker-compose.logs @@ -0,0 +1,500 @@ + Network rinha-nginx-2024q1 Creating + Network rinha-nginx-2024q1 Created + Container legustalagosta-db-1 Creating + Container legustalagosta-db-1 Created + Container legustalagosta-api02-1 Creating + Container legustalagosta-api01-1 Creating + Container legustalagosta-api02-1 Created + Container legustalagosta-api01-1 Created + Container legustalagosta-nginx-1 Creating + Container legustalagosta-nginx-1 Created +Attaching to api01-1, api02-1, db-1, nginx-1 +db-1 | The files belonging to this database system will be owned by user "postgres". +db-1 | This user must also own the server process. +db-1 | +db-1 | The database cluster will be initialized with locale "en_US.utf8". +db-1 | The default database encoding has accordingly been set to "UTF8". +db-1 | The default text search configuration will be set to "english". +db-1 | +db-1 | Data page checksums are disabled. +db-1 | +db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +db-1 | creating subdirectories ... ok +db-1 | selecting dynamic shared memory implementation ... posix +db-1 | selecting default max_connections ... 100 +db-1 | selecting default shared_buffers ... 128MB +db-1 | selecting default time zone ... Etc/UTC +db-1 | creating configuration files ... ok +db-1 | running bootstrap script ... ok +db-1 | performing post-bootstrap initialization ... ok +db-1 | initdb: warning: enabling "trust" authentication for local connections +db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +db-1 | syncing data to disk ... ok +db-1 | +db-1 | +db-1 | Success. You can now start the database server using: +db-1 | +db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +db-1 | +db-1 | waiting for server to start....2024-03-11 01:32:58.313 GMT [48] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:32:58.316 GMT [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 01:32:58.325 GMT [51] LOG: database system was shut down at 2024-03-11 01:32:56 GMT +db-1 | 2024-03-11 01:32:58.335 GMT [48] LOG: database system is ready to accept connections +db-1 | done +db-1 | server started +db-1 | CREATE DATABASE +db-1 | +db-1 | +db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql +db-1 | CREATE TABLE +db-1 | CREATE TABLE +db-1 | CREATE INDEX +db-1 | INSERT 0 1 +db-1 | INSERT 0 1 +db-1 | INSERT 0 1 +db-1 | INSERT 0 1 +db-1 | INSERT 0 1 +db-1 | +db-1 | +db-1 | waiting for server to shut down...2024-03-11 01:32:58.543 GMT [48] LOG: received fast shutdown request +db-1 | .2024-03-11 01:32:58.545 GMT [48] LOG: aborting any active transactions +db-1 | 2024-03-11 01:32:58.547 GMT [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 +db-1 | 2024-03-11 01:32:58.547 GMT [49] LOG: shutting down +db-1 | 2024-03-11 01:32:58.550 GMT [49] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 01:32:59.056 GMT [49] LOG: checkpoint complete: wrote 938 buffers (22.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.397 s, sync=0.098 s, total=0.509 s; sync files=308, longest=0.069 s, average=0.001 s; distance=4292 kB, estimate=4292 kB; lsn=0/191BCB8, redo lsn=0/191BCB8 +db-1 | 2024-03-11 01:32:59.064 GMT [48] LOG: database system is shut down +db-1 | done +db-1 | server stopped +db-1 | +db-1 | PostgreSQL init process complete; ready for start up. +db-1 | +db-1 | 2024-03-11 01:32:59.179 GMT [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:32:59.179 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +db-1 | 2024-03-11 01:32:59.179 GMT [1] LOG: listening on IPv6 address "::", port 5432 +db-1 | 2024-03-11 01:32:59.184 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 01:32:59.191 GMT [66] LOG: database system was shut down at 2024-03-11 01:32:59 GMT +db-1 | 2024-03-11 01:32:59.197 GMT [1] LOG: database system is ready to accept connections +api02-1 | 2024/03/11 01:33:01 Listening on port 8080 +api01-1 | 2024/03/11 01:33:01 Listening on port 8080 +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +nginx-1 | 2024/03/11 01:35:34 [alert] 1#1: worker process 29 exited on signal 9 +nginx-1 | 2024/03/11 01:35:39 [alert] 1#1: worker process 30 exited on signal 9 +nginx-1 | 2024/03/11 01:35:44 [alert] 1#1: worker process 31 exited on signal 9 +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64583 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64579 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64577 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64461 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64459 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64449 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64453 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64437 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64447 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64424 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64441 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64319 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64435 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64305 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64429 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64283 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64329 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64257 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64245 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64323 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64121 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64317 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64311 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64306 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64109 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64300 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64297 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64291 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64287 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64053 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64035 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 33#33: *64023 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64010 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *64003 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64259 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64253 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64247 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:47 [error] 32#32: *64123 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64117 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64111 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64055 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64572 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64043 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64039 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64033 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64027 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64021 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64015 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64009 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63983 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63977 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63971 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63965 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63959 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63955 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63951 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63945 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63919 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63851 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63845 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63839 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63835 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63829 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63823 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63817 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63783 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63779 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64193 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63713 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63583 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63579 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63575 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63571 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63567 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63563 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63559 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63555 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63551 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63547 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63543 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63539 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63535 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63531 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63525 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63521 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63515 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61929 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63511 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63507 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63503 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63499 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63495 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64187 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61835 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64423 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63483 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61833 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63479 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61831 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63475 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63471 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61829 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63467 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61827 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63771 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61825 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63457 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61821 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63441 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61819 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63437 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61817 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63433 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63429 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63709 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63421 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63417 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63379 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63375 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63371 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63367 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63363 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63359 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63307 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63303 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63299 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63295 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63291 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64417 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63239 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63235 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63227 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63223 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63219 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63215 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63211 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63207 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63705 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63167 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63163 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63159 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63155 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63907 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63035 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63029 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63023 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63017 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63011 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63005 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62999 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62993 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62967 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64527 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62957 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62951 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62947 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62943 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62899 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62893 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62695 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62691 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62685 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62679 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62673 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62667 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64185 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62555 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63767 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62543 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62881 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62351 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61815 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62875 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62339 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64521 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62327 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63985 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63973 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63961 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62321 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63843 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63825 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62289 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63526 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63458 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "GET /clientes/4/extrato HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62283 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62277 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61813 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63911 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63033 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62269 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63021 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62990 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63009 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62257 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62997 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62959 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62251 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62897 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62219 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64522 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62213 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62885 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62207 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62687 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62201 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62675 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62195 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62663 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62155 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62551 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62982 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62347 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64569 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62334 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62015 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62323 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62291 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62012 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62279 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62005 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63943 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61994 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62261 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61991 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62249 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61985 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62222 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61979 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62217 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61959 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62205 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62149 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61956 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62007 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63813 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *61987 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61938 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *61949 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61935 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *61894 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61933 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *61889 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61931 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62137 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61896 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62483 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62193 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62139 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64177 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64410 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *60253 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61737 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63763 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62421 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61811 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61724 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *60129 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61538 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63899 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61515 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64233 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62873 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61464 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62941 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61452 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64561 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61440 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64511 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61434 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61397 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61809 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61807 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61805 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61267 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62541 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61255 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61243 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61601 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61192 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61181 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61119 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64563 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *58934 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61106 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61095 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *58926 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63939 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *58924 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61081 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *58922 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61067 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *58918 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62083 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62651 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64179 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63995 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63203 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63095 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61669 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64165 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62075 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62661 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62124 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63449 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64393 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62133 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64097 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64105 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63854 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63037 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62981 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61503 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63453 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62077 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63901 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *60376 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64241 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *60327 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64403 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *60161 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *60137 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62423 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64235 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *60111 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *60099 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63755 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63701 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63649 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *60019 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62655 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62630 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *60001 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59969 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59907 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62477 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63697 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59821 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63751 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59788 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62417 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59765 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59753 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59741 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59883 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59616 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63693 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59605 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59567 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64515 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63151 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *60251 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59543 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61408 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59531 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59951 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64173 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62315 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61975 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64167 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59389 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63355 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59357 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62937 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63895 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59271 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62834 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59197 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59177 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64099 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59153 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64395 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *61925 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59141 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59129 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59084 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 34#34: *64409 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59060 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63409 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59041 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *59034 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *58975 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62473 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62497 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62869 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61379 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63747 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64229 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61231 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64557 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62931 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62863 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64551 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63889 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63199 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64389 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *62531 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *61581 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *63645 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 32#32: *64383 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62619 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62409 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63923 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62311 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *59012 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62829 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/4/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/4/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62817 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/5/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/5/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *63800 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/2/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/2/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *64381 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 01:35:48 [error] 33#33: *62861 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: , request: "POST /clientes/3/transacoes HTTP/1.1", upstream: "http://192.168.0.4:8080/clientes/3/transacoes", host: "localhost:9999" diff --git a/participantes/alfrederson-go/testada b/participantes/LeGustaLagosta/testada similarity index 66% rename from participantes/alfrederson-go/testada rename to participantes/LeGustaLagosta/testada index cfb68de55..284393c9c 100644 --- a/participantes/alfrederson-go/testada +++ b/participantes/LeGustaLagosta/testada @@ -1,2 +1,2 @@ -testada em Mon Mar 11 00:44:06 UTC 2024 +testada em Mon Mar 11 01:38:17 UTC 2024 abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/adrianog3/docker-compose.logs b/participantes/adrianog3/docker-compose.logs new file mode 100644 index 000000000..010b544cf --- /dev/null +++ b/participantes/adrianog3/docker-compose.logs @@ -0,0 +1,359 @@ + Container rinha_db Creating + Container rinha_db Created + Container rinha_api02 Creating + Container rinha_api01 Creating + Container rinha_api02 Created + Container rinha_api01 Created + Container rinha_nginx Creating + Container rinha_nginx Created +Attaching to rinha_api01, rinha_api02, rinha_db, rinha_nginx +rinha_db | The files belonging to this database system will be owned by user "postgres". +rinha_db | This user must also own the server process. +rinha_db | +rinha_db | The database cluster will be initialized with locale "en_US.utf8". +rinha_db | The default database encoding has accordingly been set to "UTF8". +rinha_db | The default text search configuration will be set to "english". +rinha_db | +rinha_db | Data page checksums are disabled. +rinha_db | +rinha_db | fixing permissions on existing directory /var/lib/postgresql/data ... ok +rinha_db | creating subdirectories ... ok +rinha_db | selecting dynamic shared memory implementation ... posix +rinha_db | selecting default max_connections ... 100 +rinha_db | selecting default shared_buffers ... 128MB +rinha_db | selecting default time zone ... UTC +rinha_db | creating configuration files ... ok +rinha_db | running bootstrap script ... ok +rinha_db | sh: locale: not found +rinha_db | 2024-03-11 01:38:30.715 UTC [30] WARNING: no usable system locales were found +rinha_db | performing post-bootstrap initialization ... ok +rinha_db | initdb: warning: enabling "trust" authentication for local connections +rinha_db | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +rinha_db | syncing data to disk ... ok +rinha_db | +rinha_db | +rinha_db | Success. You can now start the database server using: +rinha_db | +rinha_db | pg_ctl -D /var/lib/postgresql/data -l logfile start +rinha_db | +rinha_db | waiting for server to start....2024-03-11 01:38:31.553 UTC [42] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit +rinha_db | 2024-03-11 01:38:31.556 UTC [42] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +rinha_db | 2024-03-11 01:38:31.565 UTC [45] LOG: database system was shut down at 2024-03-11 01:38:31 UTC +rinha_db | 2024-03-11 01:38:31.571 UTC [42] LOG: database system is ready to accept connections +rinha_db | done +rinha_db | server started +rinha_db | CREATE DATABASE +rinha_db | +rinha_db | +rinha_db | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql +rinha_db | CREATE TABLE +rinha_db | CREATE TABLE +rinha_db | CREATE SEQUENCE +rinha_db | CREATE SEQUENCE +rinha_db | CREATE INDEX +rinha_db | INSERT 0 1 +rinha_db | INSERT 0 1 +rinha_db | INSERT 0 1 +rinha_db | INSERT 0 1 +rinha_db | INSERT 0 1 +rinha_db | +rinha_db | +rinha_db | waiting for server to shut down....2024-03-11 01:38:31.733 UTC [42] LOG: received fast shutdown request +rinha_db | 2024-03-11 01:38:31.735 UTC [42] LOG: aborting any active transactions +rinha_db | 2024-03-11 01:38:31.738 UTC [42] LOG: background worker "logical replication launcher" (PID 48) exited with exit code 1 +rinha_db | 2024-03-11 01:38:31.738 UTC [43] LOG: shutting down +rinha_db | 2024-03-11 01:38:31.741 UTC [43] LOG: checkpoint starting: shutdown immediate +rinha_db | 2024-03-11 01:38:32.257 UTC [43] LOG: checkpoint complete: wrote 938 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.419 s, sync=0.086 s, total=0.520 s; sync files=308, longest=0.054 s, average=0.001 s; distance=4304 kB, estimate=4304 kB; lsn=0/1924650, redo lsn=0/1924650 +rinha_db | 2024-03-11 01:38:32.263 UTC [42] LOG: database system is shut down +rinha_db | done +rinha_db | server stopped +rinha_db | +rinha_db | PostgreSQL init process complete; ready for start up. +rinha_db | +rinha_db | 2024-03-11 01:38:32.358 UTC [1] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit +rinha_db | 2024-03-11 01:38:32.358 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +rinha_db | 2024-03-11 01:38:32.358 UTC [1] LOG: listening on IPv6 address "::", port 5432 +rinha_db | 2024-03-11 01:38:32.364 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +rinha_db | 2024-03-11 01:38:32.372 UTC [60] LOG: database system was shut down at 2024-03-11 01:38:32 UTC +rinha_db | 2024-03-11 01:38:32.378 UTC [1] LOG: database system is ready to accept connections +rinha_db | 2024-03-11 01:38:32.451 UTC [70] FATAL: role "root" does not exist +rinha_nginx | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +rinha_nginx | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +rinha_nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +rinha_nginx | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +rinha_api01 | __ ____ __ _____ ___ __ ____ ______ +rinha_api01 | --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ +rinha_api01 | -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ +rinha_api01 | --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ +rinha_api01 | 2024-03-11 01:38:33,115 INFO [io.quarkus] (main) crebitos 1.0.0 native (powered by Quarkus 3.7.3) started in 0.161s. Listening on: http://0.0.0.0:8080 +rinha_api01 | 2024-03-11 01:38:33,115 INFO [io.quarkus] (main) Profile prod activated. +rinha_api01 | 2024-03-11 01:38:33,115 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, hibernate-validator, jdbc-postgresql, narayana-jta, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx] +rinha_api02 | __ ____ __ _____ ___ __ ____ ______ +rinha_api02 | --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ +rinha_api02 | -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ +rinha_api02 | --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ +rinha_api02 | 2024-03-11 01:38:33,116 INFO [io.quarkus] (main) crebitos 1.0.0 native (powered by Quarkus 3.7.3) started in 0.164s. Listening on: http://0.0.0.0:8081 +rinha_api02 | 2024-03-11 01:38:33,116 INFO [io.quarkus] (main) Profile prod activated. +rinha_api02 | 2024-03-11 01:38:33,116 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, hibernate-validator, jdbc-postgresql, narayana-jta, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx] +rinha_nginx | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +rinha_nginx | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +rinha_nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +rinha_nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +rinha_nginx | /docker-entrypoint.sh: Configuration complete; ready for start up +rinha_db | 2024-03-11 01:38:33.508 UTC [79] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:34.565 UTC [86] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:35.625 UTC [94] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:36.701 UTC [101] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:37.764 UTC [108] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:38.816 UTC [115] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:39.863 UTC [145] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:40.911 UTC [152] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:41.955 UTC [160] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:43.003 UTC [167] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:44.056 UTC [174] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:45.112 UTC [181] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:46.172 UTC [188] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:47.220 UTC [195] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:48.268 UTC [201] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:49.324 UTC [208] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:50.372 UTC [215] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:51.421 UTC [222] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:52.478 UTC [230] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:53.528 UTC [237] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:54.584 UTC [244] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:55.634 UTC [251] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:56.684 UTC [258] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:57.732 UTC [265] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:58.784 UTC [272] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:38:59.836 UTC [279] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:00.888 UTC [286] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:01.936 UTC [293] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:02.988 UTC [300] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:04.040 UTC [307] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:05.096 UTC [314] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:06.156 UTC [321] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:07.212 UTC [328] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:08.265 UTC [336] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:09.312 UTC [343] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:10.376 UTC [350] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:11.424 UTC [357] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:12.488 UTC [365] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:13.540 UTC [372] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:14.592 UTC [379] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:15.656 UTC [386] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:16.700 UTC [393] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:17.760 UTC [400] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:18.808 UTC [408] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:19.856 UTC [415] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:20.916 UTC [422] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:21.972 UTC [429] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:23.020 UTC [436] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:24.064 UTC [443] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:25.112 UTC [450] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:26.165 UTC [457] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:27.229 UTC [464] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:28.284 UTC [471] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:29.332 UTC [478] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:30.380 UTC [485] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:31.428 UTC [492] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:32.490 UTC [501] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:33.553 UTC [507] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:34.608 UTC [514] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:35.656 UTC [521] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:36.712 UTC [528] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:37.760 UTC [535] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:38.804 UTC [542] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:39.852 UTC [549] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:40.909 UTC [556] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:41.952 UTC [563] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:43.008 UTC [570] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:44.056 UTC [577] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:45.100 UTC [584] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:46.156 UTC [591] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:47.208 UTC [598] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:48.264 UTC [605] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:49.320 UTC [612] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:50.369 UTC [619] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:51.420 UTC [626] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:52.480 UTC [634] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:53.527 UTC [641] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:54.572 UTC [648] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:55.632 UTC [655] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:56.679 UTC [662] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:57.740 UTC [669] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:58.800 UTC [676] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:39:59.849 UTC [683] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:00.901 UTC [690] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:01.953 UTC [697] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:03.008 UTC [704] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:04.055 UTC [711] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:05.108 UTC [718] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:06.164 UTC [725] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:07.220 UTC [732] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:08.280 UTC [739] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:09.333 UTC [746] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:10.392 UTC [753] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:11.440 UTC [760] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:12.493 UTC [768] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:13.548 UTC [775] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:14.608 UTC [782] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:15.656 UTC [789] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:16.712 UTC [796] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:17.761 UTC [803] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:18.824 UTC [810] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:19.880 UTC [817] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:20.936 UTC [824] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:21.988 UTC [831] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:23.045 UTC [838] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:24.092 UTC [845] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:25.148 UTC [852] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:26.212 UTC [859] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:27.273 UTC [865] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:28.333 UTC [872] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:29.393 UTC [879] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:30.452 UTC [886] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:31.508 UTC [893] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:32.564 UTC [901] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:33.624 UTC [908] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:34.668 UTC [915] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:35.728 UTC [922] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:36.789 UTC [929] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:37.841 UTC [936] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:38.893 UTC [943] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:39.957 UTC [964] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:41.012 UTC [971] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:42.069 UTC [978] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:43.117 UTC [985] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:44.169 UTC [992] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:45.230 UTC [999] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:46.281 UTC [1005] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:47.325 UTC [1013] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:48.377 UTC [1020] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:49.428 UTC [1027] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:50.476 UTC [1034] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:51.520 UTC [1041] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:52.569 UTC [1049] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:53.625 UTC [1056] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:54.681 UTC [1063] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:55.733 UTC [1070] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:56.781 UTC [1077] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:57.828 UTC [1084] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:58.881 UTC [1091] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:40:59.933 UTC [1098] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:00.984 UTC [1105] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:02.037 UTC [1113] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:03.086 UTC [1121] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:04.133 UTC [1128] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:05.192 UTC [1135] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:06.236 UTC [1142] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:07.284 UTC [1149] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:08.337 UTC [1156] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:09.389 UTC [1163] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:10.440 UTC [1170] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:11.489 UTC [1176] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:12.545 UTC [1184] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:13.596 UTC [1191] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:14.664 UTC [1199] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:15.724 UTC [1206] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:16.777 UTC [1213] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:17.832 UTC [1220] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:18.889 UTC [1227] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:19.937 UTC [1234] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:20.989 UTC [1241] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:22.043 UTC [1248] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:23.096 UTC [1255] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:24.148 UTC [1262] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:25.200 UTC [1269] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:26.248 UTC [1276] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:27.305 UTC [1283] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:28.361 UTC [1290] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:29.413 UTC [1297] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:30.469 UTC [1304] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:31.533 UTC [1311] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:32.597 UTC [1319] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:33.648 UTC [1326] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:34.701 UTC [1333] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:35.753 UTC [1340] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:36.804 UTC [1347] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:37.853 UTC [1354] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:38.909 UTC [1361] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:39.956 UTC [1368] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:41.013 UTC [1375] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:42.068 UTC [1382] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:43.128 UTC [1389] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:44.180 UTC [1396] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:45.228 UTC [1403] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:46.276 UTC [1410] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:47.329 UTC [1417] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:48.381 UTC [1425] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:49.429 UTC [1432] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:50.497 UTC [1439] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:51.544 UTC [1446] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:52.605 UTC [1454] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:53.661 UTC [1461] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:54.717 UTC [1468] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:55.760 UTC [1475] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:56.812 UTC [1482] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:57.861 UTC [1490] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:58.925 UTC [1497] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:41:59.981 UTC [1504] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:01.033 UTC [1511] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:02.088 UTC [1518] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:03.145 UTC [1525] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:04.193 UTC [1532] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:05.245 UTC [1539] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:06.304 UTC [1546] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:07.360 UTC [1554] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:08.421 UTC [1561] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:09.477 UTC [1568] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:10.529 UTC [1575] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:11.581 UTC [1582] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:12.641 UTC [1590] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:13.704 UTC [1597] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:14.760 UTC [1603] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:15.813 UTC [1610] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:16.877 UTC [1617] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:17.929 UTC [1624] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:18.984 UTC [1631] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:20.037 UTC [1638] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:21.096 UTC [1645] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:22.148 UTC [1652] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:23.196 UTC [1660] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:24.256 UTC [1667] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:25.304 UTC [1674] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:26.373 UTC [1681] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:27.429 UTC [1688] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:28.481 UTC [1695] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:29.540 UTC [1702] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:30.584 UTC [1709] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:31.633 UTC [1716] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:32.696 UTC [1724] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:33.756 UTC [1731] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:34.804 UTC [1739] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:35.865 UTC [1746] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:36.917 UTC [1753] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:37.969 UTC [1760] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:39.008 UTC [1767] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:40.060 UTC [1774] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:41.112 UTC [1781] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:42.165 UTC [1788] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:43.221 UTC [1795] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:44.284 UTC [1802] FATAL: role "root" does not exist +rinha_db | 2024-03-11 01:42:45.348 UTC [1809] FATAL: role "root" does not exist +rinha_nginx exited with code 0 +rinha_nginx exited with code 0 +rinha_api02 | 2024-03-11 01:42:46,313 INFO [io.quarkus] (Shutdown thread) crebitos stopped in 0.025s +rinha_api01 | 2024-03-11 01:42:46,314 INFO [io.quarkus] (main) crebitos stopped in 0.025s +rinha_db | 2024-03-11 01:42:46.396 UTC [1816] FATAL: role "root" does not exist +rinha_api02 exited with code 0 +rinha_api02 exited with code 143 +rinha_api01 exited with code 0 +rinha_api01 exited with code 143 +rinha_db | 2024-03-11 01:42:46.743 UTC [1] LOG: received fast shutdown request +rinha_db | 2024-03-11 01:42:46.747 UTC [1] LOG: aborting any active transactions +rinha_db | 2024-03-11 01:42:46.750 UTC [1] LOG: background worker "logical replication launcher" (PID 63) exited with exit code 1 +rinha_db | 2024-03-11 01:42:46.750 UTC [58] LOG: shutting down +rinha_db | 2024-03-11 01:42:46.754 UTC [58] LOG: checkpoint starting: shutdown immediate +rinha_db | 2024-03-11 01:42:46.906 UTC [58] LOG: checkpoint complete: wrote 747 buffers (4.6%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.010 s, sync=0.100 s, total=0.156 s; sync files=30, longest=0.094 s, average=0.004 s; distance=19724 kB, estimate=19724 kB; lsn=0/2C676B0, redo lsn=0/2C676B0 +rinha_db | 2024-03-11 01:42:46.910 UTC [1] LOG: database system is shut down +rinha_db exited with code 0 diff --git a/participantes/ryan_and_sena/testada b/participantes/adrianog3/testada similarity index 66% rename from participantes/ryan_and_sena/testada rename to participantes/adrianog3/testada index 67a876b26..698ab8930 100644 --- a/participantes/ryan_and_sena/testada +++ b/participantes/adrianog3/testada @@ -1,2 +1,2 @@ -testada em Sat Mar 9 22:59:00 UTC 2024 +testada em Mon Mar 11 01:42:47 UTC 2024 abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/danilosiqueira/README.md b/participantes/danilosiqueira/README.md new file mode 100644 index 000000000..6533abcaa --- /dev/null +++ b/participantes/danilosiqueira/README.md @@ -0,0 +1,7 @@ +Participação de Danilo da Silva Siqueira na Rinha de Backend 2024 Q1 - Segunda Edição + +Veja como foi minha jornada para participar da Rinha no [YouTube](https://www.youtube.com/@olegadodev). + +[GitHub](https://github.com/danilosiqueira) +| [Repositório](https://github.com/danilosiqueira/rinha-de-backend-2024-q1-api) +| [LinkedIn](https://www.linkedin.com/in/danilo-da-silva-siqueira/) \ No newline at end of file diff --git a/participantes/danilosiqueira/docker-compose.yml b/participantes/danilosiqueira/docker-compose.yml new file mode 100644 index 000000000..75d03199c --- /dev/null +++ b/participantes/danilosiqueira/docker-compose.yml @@ -0,0 +1,80 @@ +version: "3.5" + +services: + api01: &api + # Lembre-se de que seu serviço HTTP deve estar hospedado num repositório + # publicamente acessível! Ex.: hub.docker.com + image: danilosiqueira/rinha-de-backend-api:latest + hostname: api01 + environment: + - DB_HOSTNAME=db + + # # Não é necessário expor qualquer porta além da porta do load balancer, + # # mas é comum as pessoas o fazerem para testarem suas APIs e conectarem + # # ao banco de dados na fase de desenvolvimento. + ports: + - "8081:8080" + depends_on: + - db + deploy: + resources: + limits: + cpus: "0.6" + memory: "200MB" + + api02: + # # Essa sintaxe reusa o que foi declarado em 'api01'. + <<: *api + hostname: api02 + environment: + - DB_HOSTNAME=db + ports: + - "8082:8080" + + nginx: + image: nginx:latest + volumes: + - ./nginx.conf:/etc/nginx/nginx.conf:ro + depends_on: + - api01 + - api02 + ports: + # Obrigatório expor/usar a porta 9999 no load balancer! + - "9999:9999" + deploy: + resources: + limits: + cpus: "0.17" + memory: "10MB" + + db: + image: postgres:latest + hostname: db + environment: + - POSTGRES_USER=admin + - POSTGRES_PASSWORD=123 + - POSTGRES_DB=rinha + ports: + - "5432:5432" + volumes: + - ./script.sql:/docker-entrypoint-initdb.d/script.sql + deploy: + resources: + limits: + # Note que a soma de todos os limites dos serviços + # aqui declarados é de 1.5 unidades de CPU e 550MB + # de memória. A distribuição feita aqui é apenas + # um exemplo – distribua como quiser. + cpus: "0.13" + memory: "140MB" + +# O uso do modo `bridge` deve ser adequado à carga que será usada no teste. +# A edição anterior se beneficiou do modo host pois o volume de requisições +# era relativamente alto e a virtualização da rede se tornou um gargalo, mas +# este modo é mais complexo de ser configurado. Fique à vontade para usar o +# modo que quiser desde que não conflite com portas trivialmente usadas em um +# SO. +networks: + default: + driver: bridge + name: rinha-nginx-2024q1 diff --git a/participantes/danilosiqueira/nginx.conf b/participantes/danilosiqueira/nginx.conf new file mode 100644 index 000000000..60b677f39 --- /dev/null +++ b/participantes/danilosiqueira/nginx.conf @@ -0,0 +1,21 @@ +events { + worker_connections 1000; +} + +http { + access_log off; + sendfile on; + + upstream api { + server api01:8080; + server api02:8080; + } + + server { + listen 9999; # Lembra da porta 9999 obrigatória? + + location / { + proxy_pass http://api; + } + } +} diff --git a/participantes/danilosiqueira/script.sql b/participantes/danilosiqueira/script.sql new file mode 100644 index 000000000..51fa2d492 --- /dev/null +++ b/participantes/danilosiqueira/script.sql @@ -0,0 +1,28 @@ +CREATE TABLE clientes ( + id serial not null primary key, + nome varchar(100) not null, + limite bigint not null default 0, + saldo bigint not null default 0 +); + +CREATE TABLE transacoes ( + id serial not null primary key, + valor bigint not null, + tipo char(1) not null, + descricao varchar(10), + realizada_em timestamp not null default CURRENT_TIMESTAMP, + cliente_id integer not null references clientes (id) +); + +CREATE INDEX idx_transacoes_cliente_id ON transacoes (cliente_id); + +DO $$ +BEGIN + INSERT INTO clientes (nome, limite) + VALUES + ('o barato sai caro', 1000 * 100), + ('zan corp ltda', 800 * 100), + ('les cruders', 10000 * 100), + ('padaria joia de cocaia', 100000 * 100), + ('kid mais', 5000 * 100); +END; $$ \ No newline at end of file diff --git a/participantes/duke-bank/README.md b/participantes/duke-bank/README.md new file mode 100644 index 000000000..0f2402054 --- /dev/null +++ b/participantes/duke-bank/README.md @@ -0,0 +1,15 @@ +# Submissão para Rinha de Backend, Segunda Edição: 2024/Q1 - Controle de Concorrência + +## Duke Bank by Fernando Comunello + +Submissão feita com: +- `Java 21` como linguagem de programação. +- `Quarkus` como framework/plataforma. +- `Vert.x & GraalVM` como runtime. +- `PostgreSQL` como banco de dados relacional. +- `NGINX` como Load Balancer. + +- [repositório da api](https://github.com/fercomunello/duke-bank-rb-2024) + +[@fercomunello](https://twitter.com/fercomunello) @ twitter + diff --git a/participantes/duke-bank/bank-schema.sql b/participantes/duke-bank/bank-schema.sql new file mode 100644 index 000000000..7fd1c8572 --- /dev/null +++ b/participantes/duke-bank/bank-schema.sql @@ -0,0 +1,52 @@ +/* +##### Rinha de Backend ###### +# Revanche dos Javeiros # +############################# +*/ + +DROP SCHEMA IF EXISTS api CASCADE; +CREATE SCHEMA api; + +SET search_path TO api; +ALTER DATABASE rinhadb SET search_path TO api; + +SET TIME ZONE 'UTC'; + +CREATE TYPE TXTYPE AS ENUM ('c', 'd'); + +CREATE UNLOGGED TABLE bank_accounts ( + id BIGSERIAL, + credit_limit BIGINT NOT NULL DEFAULT 0 CHECK ( credit_limit >= 0 ), + balance BIGINT NOT NULL DEFAULT 0, + PRIMARY KEY (id) +); + +CREATE UNLOGGED TABLE bank_transactions ( + id BIGSERIAL, + account_id BIGINT NOT NULL, + type TXTYPE NOT NULL, + amount BIGINT NOT NULL CHECK ( amount > 0 ), + description VARCHAR(10) NOT NULL, + issued_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), + PRIMARY KEY (id), + FOREIGN KEY (account_id) REFERENCES bank_accounts (id) +); + +CREATE INDEX idx_tx_account_id ON bank_transactions (account_id); +CREATE INDEX idx_tx_issued_filter ON bank_transactions (issued_at DESC); + +GRANT INSERT ON bank_accounts TO duke; +GRANT UPDATE ON bank_accounts TO duke; +REVOKE DELETE ON bank_accounts FROM duke; + +GRANT INSERT ON bank_transactions TO duke; +REVOKE UPDATE ON bank_transactions FROM duke; +REVOKE DELETE ON bank_transactions FROM duke; + +INSERT INTO bank_accounts + (credit_limit, balance) +VALUES (1000 * 100, 0), -- 1 | $1,000.00 == 100000 + (800 * 100, 0), -- 2 | $80,000.00 == 80000 + (10000 * 100, 0), -- 3 | $10,000.00 == 1000000 + (100000 * 100, 0), -- 4 | $100,000.00 == 10000000 + (5000 * 100, 0); -- 5 | $5,000.00 == 500000 \ No newline at end of file diff --git a/participantes/duke-bank/docker-compose.yaml b/participantes/duke-bank/docker-compose.yaml new file mode 100644 index 000000000..85f454029 --- /dev/null +++ b/participantes/duke-bank/docker-compose.yaml @@ -0,0 +1,84 @@ +services: + duke-bank-1: + image: fercomunello/rinha-backend-duke-bank-2024q1:latest + network_mode: host + environment: + - QUARKUS_HTTP_PORT=8081 + - QUARKUS_DATASOURCE_REACTIVE_MAX_SIZE=1 + - QUARKUS_HTTP_SO_REUSE_PORT=true + - QUARKUS_HTTP_TCP_QUICK_ACK=true + - QUARKUS_HTTP_TCP_CORK=true + - QUARKUS_HTTP_TCP_FAST_OPEN=true + - QUARKUS_LOG_MIN_LEVEL=OFF + - QUARKUS_LOG_CONSOLE_ENABLE=false + - QUARKUS_VERTX_EVENT_LOOPS_POOL_SIZE=1 + - QUARKUS_DATASOURCE_REACTIVE_EVENT_LOOP_SIZE=1 + - QUARKUS_DATASOURCE_REACTIVE_POSTGRESQL_PIPELINING_LIMIT=256 + depends_on: + duke-bank-postgres: + condition: service_healthy + deploy: + resources: + limits: + cpus: 0.35 + memory: 150M + + duke-bank-2: + image: fercomunello/rinha-backend-duke-bank-2024q1:latest + network_mode: host + environment: + - QUARKUS_HTTP_PORT=8082 + - QUARKUS_DATASOURCE_REACTIVE_MAX_SIZE=1 + - QUARKUS_HTTP_SO_REUSE_PORT=true + - QUARKUS_HTTP_TCP_QUICK_ACK=true + - QUARKUS_HTTP_TCP_CORK=true + - QUARKUS_HTTP_TCP_FAST_OPEN=true + - QUARKUS_LOG_MIN_LEVEL=OFF + - QUARKUS_LOG_CONSOLE_ENABLE=false + - QUARKUS_VERTX_EVENT_LOOPS_POOL_SIZE=1 + - QUARKUS_DATASOURCE_REACTIVE_EVENT_LOOP_SIZE=1 + - QUARKUS_DATASOURCE_REACTIVE_POSTGRESQL_PIPELINING_LIMIT=256 + depends_on: + duke-bank-postgres: + condition: service_healthy + deploy: + resources: + limits: + cpus: 0.35 + memory: 150M + + duke-bank-postgres: + image: postgres:latest + command: postgres -c config_file=/etc/postgresql/postgresql.conf + environment: + - POSTGRES_DB=rinhadb + - POSTGRES_USER=duke + - POSTGRES_PASSWORD=duke + network_mode: host + volumes: + - ./postgresql.conf:/etc/postgresql/postgresql.conf + - ./bank-schema.sql:/docker-entrypoint-initdb.d/bank-schema.sql + healthcheck: + test: ["CMD-SHELL", "pg_isready", "-U", "${POSTGRES_USER}", "-d", "${POSTGRES_DB}"] + interval: 3s + timeout: 10s + retries: 10 + deploy: + resources: + limits: + cpus: 0.6 + memory: 125M + + duke-bank-nginx: + image: nginx:latest + network_mode: host + volumes: + - ./nginx.conf:/etc/nginx/nginx.conf:ro + depends_on: + - duke-bank-1 + - duke-bank-2 + deploy: + resources: + limits: + cpus: 0.2 + memory: 125M diff --git a/participantes/duke-bank/nginx.conf b/participantes/duke-bank/nginx.conf new file mode 100644 index 000000000..2e4a97296 --- /dev/null +++ b/participantes/duke-bank/nginx.conf @@ -0,0 +1,21 @@ +worker_processes auto; + +events { + use epoll; +} +http { + access_log off; + sendfile on; + + upstream api { + server 127.0.0.1:8081; + server 127.0.0.1:8082; + } + server { + listen 9999; + + location / { + proxy_pass http://api; + } + } +} \ No newline at end of file diff --git a/participantes/duke-bank/postgresql.conf b/participantes/duke-bank/postgresql.conf new file mode 100644 index 000000000..b78e9e70f --- /dev/null +++ b/participantes/duke-bank/postgresql.conf @@ -0,0 +1,25 @@ +# ----------------------------- +# PostgreSQL configuration file +# ----------------------------- + +listen_addresses = '*' + +random_page_cost = 1.1 +effective_io_concurrency = 4 +shared_buffers = 96MB +work_mem = 4MB + +# PostgreSQL server will try to make sure that updates are physically written to disk by default. +# This ensures that the database cluster can recover to a consistent state after an operating system or hardware crash. +# We can disable it because we are not taking into account data recovery requirements. +fsync = off +full_page_writes = off + +# Turn of logging as we do not need troubleshooting features. +log_checkpoints = off +log_statement = none +logging_collector = off +debug_pretty_print = off + +# We can disable RLS (Row-Level-Security) because this is NOT a multitenancy application. +row_security = off diff --git a/participantes/felipemarkson-rust/README.md b/participantes/felipemarkson-rust/README.md new file mode 100644 index 000000000..e863a87d1 --- /dev/null +++ b/participantes/felipemarkson-rust/README.md @@ -0,0 +1,15 @@ +# Submissão para Rinha de Backend, Segunda Edição: 2024/Q1 - Controle de Concorrência + +Basicamente porque [C virou ilegal](https://www.infoworld.com/article/3713203/white-house-urges-developers-to-dump-c-and-c.html). + +## Felipe Markson dos Santos Monteiro +Submissão feita com: +- `Rust` como load balancer +- `Rust` como database +- `Rust` como backend +- [repositório da api](https://github.com/felipemarkson/rust-pq-c-esta-proibido) + +[f-monteiro.com](https://f-monteiro.com/) +[GitHub](https://github.com/felipemarkson) +[LinkedIn](https://www.linkedin.com/in/felipemarkson/) +[Twitter](https://twitter.com/flpmrksn) diff --git a/participantes/felipemarkson-rust/docker-compose.yml b/participantes/felipemarkson-rust/docker-compose.yml new file mode 100644 index 000000000..d88dca705 --- /dev/null +++ b/participantes/felipemarkson-rust/docker-compose.yml @@ -0,0 +1,37 @@ +services: + db: + restart: always + image: fmarkson/rinha-backend-q1-2024-rust:database_r1 + network_mode: "host" + deploy: + resources: + limits: + cpus: "0.5" + memory: "260MB" + + api1: &api + restart: always + image: fmarkson/rinha-backend-q1-2024-rust:backend_r1 + environment: + PORT: 8000 + network_mode: "host" + deploy: + resources: + limits: + cpus: "0.25" + memory: "6MB" # 2MB is enougth, but docker only permit 6MB :( + + api2: + <<: *api + environment: + PORT: 8001 + + loadbalancer: + restart: always + image: fmarkson/rinha-backend-q1-2024-rust:httpserver_r1 + network_mode: "host" + deploy: + resources: + limits: + cpus: "0.5" + memory: "260MB" \ No newline at end of file diff --git a/participantes/fgarrido/docker-compose.logs b/participantes/fgarrido/docker-compose.logs new file mode 100644 index 000000000..2bce01625 --- /dev/null +++ b/participantes/fgarrido/docker-compose.logs @@ -0,0 +1,500 @@ + Network rinha-nginx-2024q1 Creating + Network rinha-nginx-2024q1 Created + Container fgarrido-db-1 Creating + Container fgarrido-db-1 Created + Container fgarrido-api02-1 Creating + Container fgarrido-api01-1 Creating + Container fgarrido-api02-1 Created + Container fgarrido-api01-1 Created + Container fgarrido-haproxy-1 Creating + Container fgarrido-haproxy-1 Created +Attaching to api01-1, api02-1, db-1, haproxy-1 +db-1 | The files belonging to this database system will be owned by user "postgres". +db-1 | This user must also own the server process. +db-1 | +db-1 | The database cluster will be initialized with locale "en_US.utf8". +db-1 | The default database encoding has accordingly been set to "UTF8". +db-1 | The default text search configuration will be set to "english". +db-1 | +db-1 | Data page checksums are disabled. +db-1 | +db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +db-1 | creating subdirectories ... ok +db-1 | selecting dynamic shared memory implementation ... posix +db-1 | selecting default max_connections ... 100 +db-1 | selecting default shared_buffers ... 128MB +db-1 | selecting default time zone ... Etc/UTC +db-1 | creating configuration files ... ok +db-1 | running bootstrap script ... ok +api02-1 | warn: Microsoft.AspNetCore.Hosting.Diagnostics[15] +api02-1 | Overriding HTTP_PORTS '8080' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://+:80'. +api02-1 | info: Microsoft.Hosting.Lifetime[14] +api02-1 | Now listening on: http://[::]:80 +api02-1 | info: Microsoft.Hosting.Lifetime[0] +api02-1 | Application started. Press Ctrl+C to shut down. +api02-1 | info: Microsoft.Hosting.Lifetime[0] +api02-1 | Hosting environment: Production +api02-1 | info: Microsoft.Hosting.Lifetime[0] +api02-1 | Content root path: /app +api01-1 | warn: Microsoft.AspNetCore.Hosting.Diagnostics[15] +api01-1 | Overriding HTTP_PORTS '8080' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://+:80'. +api01-1 | info: Microsoft.Hosting.Lifetime[14] +api01-1 | Now listening on: http://[::]:80 +api01-1 | info: Microsoft.Hosting.Lifetime[0] +api01-1 | Application started. Press Ctrl+C to shut down. +api01-1 | info: Microsoft.Hosting.Lifetime[0] +api01-1 | Hosting environment: Production +api01-1 | info: Microsoft.Hosting.Lifetime[0] +api01-1 | Content root path: /app +haproxy-1 | [NOTICE] (1) : New worker (8) forked +haproxy-1 | [NOTICE] (1) : Loading success. +db-1 | performing post-bootstrap initialization ... ok +db-1 | syncing data to disk ... ok +db-1 | +db-1 | +db-1 | Success. You can now start the database server using: +db-1 | +db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +db-1 | +db-1 | initdb: warning: enabling "trust" authentication for local connections +db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +db-1 | waiting for server to start....2024-03-11 01:42:58.057 UTC [49] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:42:58.060 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 01:42:58.070 UTC [52] LOG: database system was shut down at 2024-03-11 01:42:56 UTC +db-1 | 2024-03-11 01:42:58.077 UTC [49] LOG: database system is ready to accept connections +db-1 | done +db-1 | server started +db-1 | CREATE DATABASE +db-1 | +db-1 | +db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql +db-1 | CREATE TABLE +db-1 | CREATE TABLE +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | DO +db-1 | +db-1 | +db-1 | waiting for server to shut down...2024-03-11 01:42:58.290 UTC [49] LOG: received fast shutdown request +db-1 | .2024-03-11 01:42:58.293 UTC [49] LOG: aborting any active transactions +db-1 | 2024-03-11 01:42:58.314 UTC [49] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1 +db-1 | 2024-03-11 01:42:58.315 UTC [50] LOG: shutting down +db-1 | 2024-03-11 01:42:58.317 UTC [50] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 01:42:58.824 UTC [50] LOG: checkpoint complete: wrote 940 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.384 s, sync=0.111 s, total=0.510 s; sync files=317, longest=0.058 s, average=0.001 s; distance=4293 kB, estimate=4293 kB; lsn=0/191C1E8, redo lsn=0/191C1E8 +db-1 | 2024-03-11 01:42:58.829 UTC [49] LOG: database system is shut down +db-1 | done +db-1 | server stopped +db-1 | +db-1 | PostgreSQL init process complete; ready for start up. +db-1 | +db-1 | 2024-03-11 01:42:58.915 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:42:58.915 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +db-1 | 2024-03-11 01:42:58.915 UTC [1] LOG: listening on IPv6 address "::", port 5432 +db-1 | 2024-03-11 01:42:58.921 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 01:42:58.928 UTC [67] LOG: database system was shut down at 2024-03-11 01:42:58 UTC +db-1 | 2024-03-11 01:42:58.935 UTC [1] LOG: database system is ready to accept connections +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 1 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 1 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 6 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 5 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 3 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 2 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 4 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 4 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 3 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 5 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 2 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 4 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 3 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 1 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 2 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 5 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 2 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 2 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 2 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 3 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 3 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 3 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 5 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 5 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 1 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 1 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 4 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 4 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 1 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 4 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 5 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 2 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 5 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 2 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 4 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 2 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 2 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 5 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 2 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 2 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos[0] +api01-1 | Obtendo extrato do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos[0] +api02-1 | Obtendo extrato do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 1 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 3 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 1 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 5 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 4 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 3 +api02-1 | info: Crebitos.ClienteEndpoints[0] +api02-1 | Movimentando a conta do cliente 4 +api01-1 | info: Crebitos.ClienteEndpoints[0] +api01-1 | Movimentando a conta do cliente 2 +api02-1 | info: Crebitos.ClienteEndpoints[0] diff --git a/participantes/joaobittencourt-php/testada b/participantes/fgarrido/testada similarity index 66% rename from participantes/joaobittencourt-php/testada rename to participantes/fgarrido/testada index 35b265f73..13c59b094 100644 --- a/participantes/joaobittencourt-php/testada +++ b/participantes/fgarrido/testada @@ -1,2 +1,2 @@ -testada em Sun Mar 10 22:29:24 UTC 2024 +testada em Mon Mar 11 01:47:14 UTC 2024 abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/francoggm/docker-compose.logs b/participantes/francoggm/docker-compose.logs new file mode 100644 index 000000000..1fce16ef0 --- /dev/null +++ b/participantes/francoggm/docker-compose.logs @@ -0,0 +1,74 @@ + Network francoggm_default Creating + Network francoggm_default Created + Container francoggm-neo-1 Creating + Container francoggm-neo-1 Created + Container francoggm-api02-1 Creating + Container francoggm-api01-1 Creating + Container francoggm-api01-1 Created + Container francoggm-api02-1 Created + Container francoggm-nginx-1 Creating + Container francoggm-nginx-1 Created +Attaching to api01-1, api02-1, neo-1, nginx-1 +api02-1 | 2024/03/11 01:47:30 Error in conectivity=ConnectivityError: dial tcp 192.168.32.2:7687: connect: connection refused +api01-1 | 2024/03/11 01:47:30 Error in conectivity=ConnectivityError: dial tcp 192.168.32.2:7687: connect: connection refused +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +nginx-1 | 2024/03/11 01:47:33 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.32.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:33 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.32.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:35 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:37 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +neo-1 | Changed password for user 'neo4j'. IMPORTANT: this change will only take effect if performed before the database is started for the first time. +nginx-1 | 2024/03/11 01:47:39 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api02-1 | 2024/03/11 01:47:40 Error in conectivity=ConnectivityError: dial tcp 192.168.32.2:7687: connect: connection refused +api01-1 | 2024/03/11 01:47:40 Error in conectivity=ConnectivityError: dial tcp 192.168.32.2:7687: connect: connection refused +nginx-1 | 2024/03/11 01:47:41 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:43 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:45 [error] 29#29: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.32.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:45 [error] 29#29: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.32.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:47 [error] 29#29: *12 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +neo-1 | 2024-03-11 01:47:47.830+0000 INFO Logging config in use: File '/var/lib/neo4j/conf/user-logs.xml' +neo-1 | 2024-03-11 01:47:47.927+0000 INFO Starting... +api02-1 | 2024/03/11 01:47:49 Error in conectivity=ConnectivityError: dial tcp 192.168.32.2:7687: connect: connection refused +api01-1 | 2024/03/11 01:47:49 Error in conectivity=ConnectivityError: dial tcp 192.168.32.2:7687: connect: connection refused +nginx-1 | 2024/03/11 01:47:49 [error] 29#29: *13 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:51 [error] 29#29: *14 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +neo-1 | 2024-03-11 01:47:51.917+0000 INFO This instance is ServerId{734feb2a} (734feb2a-55a9-409a-a66f-bc5b2bfb5418) +nginx-1 | 2024/03/11 01:47:53 [error] 29#29: *15 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +neo-1 | 2024-03-11 01:47:54.337+0000 INFO ======== Neo4j 5.17.0 ======== +nginx-1 | 2024/03/11 01:47:55 [error] 29#29: *16 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api02-1 | 2024/03/11 01:47:57 Error in conectivity=ConnectivityError: dial tcp 192.168.32.2:7687: connect: connection refused +api01-1 | 2024/03/11 01:47:57 Error in conectivity=ConnectivityError: dial tcp 192.168.32.2:7687: connect: connection refused +nginx-1 | 2024/03/11 01:47:57 [error] 29#29: *17 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.32.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:57 [error] 29#29: *17 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.32.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:47:59 [error] 29#29: *20 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +neo-1 | 2024-03-11 01:48:01.226+0000 INFO Bolt enabled on 0.0.0.0:7687. +nginx-1 | 2024/03/11 01:48:01 [error] 29#29: *21 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +neo-1 | 2024-03-11 01:48:03.430+0000 INFO HTTP enabled on 0.0.0.0:7474. +neo-1 | 2024-03-11 01:48:03.515+0000 INFO Remote interface available at http://localhost:7474/ +neo-1 | 2024-03-11 01:48:03.518+0000 INFO id: 50330596FC1442A774B5BC02CD9FC8E510B6D19820D7A93520B16A54BD6DFAA5 +neo-1 | 2024-03-11 01:48:03.519+0000 INFO name: system +neo-1 | 2024-03-11 01:48:03.519+0000 INFO creationDate: 2024-03-11T01:47:56.523Z +neo-1 | 2024-03-11 01:48:03.519+0000 INFO Started. +nginx-1 | 2024/03/11 01:48:03 [error] 29#29: *22 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:48:05 [error] 29#29: *23 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:48:07 [error] 29#29: *24 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:48:09 [error] 29#29: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.32.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:48:09 [error] 29#29: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.32.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:48:11 [error] 29#29: *28 no live upstreams while connecting to upstream, client: 192.168.32.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 exited with code 0 +nginx-1 exited with code 0 +api02-1 exited with code 0 +api02-1 exited with code 2 +api01-1 exited with code 0 +api01-1 exited with code 2 +neo-1 | 2024-03-11 01:48:15.544+0000 INFO Neo4j Server shutdown initiated by request +neo-1 | 2024-03-11 01:48:15.544+0000 INFO Stopping... +neo-1 | 2024-03-11 01:48:20.606+0000 INFO Stopped. +neo-1 exited with code 0 diff --git a/participantes/vitorsalgado-custom-lb-db-conf/testada b/participantes/francoggm/testada similarity index 66% rename from participantes/vitorsalgado-custom-lb-db-conf/testada rename to participantes/francoggm/testada index 0d4650c0e..0818ff318 100644 --- a/participantes/vitorsalgado-custom-lb-db-conf/testada +++ b/participantes/francoggm/testada @@ -1,2 +1,2 @@ -testada em Sun Mar 10 21:34:57 UTC 2024 +testada em Mon Mar 11 01:48:21 UTC 2024 abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/g-otn/README.md b/participantes/g-otn/README.md new file mode 100644 index 000000000..ac0a248d9 --- /dev/null +++ b/participantes/g-otn/README.md @@ -0,0 +1,24 @@ +# Submission for "Rinha de Backend, Segunda Edição: 2024/Q1 - Controle de Concorrência" + +logo nginx +
+logo nodejs +
+logo node-cache +
+logo postgres + +## Gabriel Otani + +Submission made with: + +- `NGINX` as load balancer +- `Javascript` as programming language +- `Node.js` as runtime +- `HyperExpress` as webserver +- `node-cache` as a memory cache +- `PostgreSQL` as database + +Source code: https://github.com/g-otn/rinha-de-backend-2024-q1-submissao + +Twitter: [@g_0tn](https://twitter.com/g_0tn) diff --git a/participantes/g-otn/docker-compose.yml b/participantes/g-otn/docker-compose.yml new file mode 100644 index 000000000..3e9b322b8 --- /dev/null +++ b/participantes/g-otn/docker-compose.yml @@ -0,0 +1,81 @@ +version: "3.5" + +services: + api01: &api + image: g0tn/rinha-de-backend-2024-q1-submissao + hostname: api01 + environment: + - DB_HOST=db + ports: + - "3001:3000" + depends_on: + - db + deploy: + resources: + limits: + cpus: "0.16" + memory: "85MB" + + api02: + <<: *api + hostname: api02 + ports: + - "3002:3000" + + api03: + <<: *api + hostname: api03 + ports: + - "3003:3000" + + api04: + <<: *api + hostname: api04 + ports: + - "3004:3000" + + nginx: + image: nginx:latest + volumes: + - ./nginx.conf:/etc/nginx/nginx.conf:ro + depends_on: + - api01 + - api02 + - api03 + - api04 + ports: + - "9999:9999" + deploy: + resources: + limits: + cpus: "0.3" + memory: "10MB" + + db: + image: postgres:latest + hostname: db + environment: + - POSTGRES_PASSWORD=postgres + - POSTGRES_USER=postgres + - POSTGRES_DB=rinha + ports: + - "5432:5432" + volumes: + - ./postgres.conf:/etc/postgresql/postgresql.conf + - ./init.sql:/docker-entrypoint-initdb.d/init.sql + command: postgres -c checkpoint_timeout=600 -c max_wal_size=4096 -c synchronous_commit=0 -c full_page_writes=0 + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 5s + timeout: 5s + retries: 5 + deploy: + resources: + limits: + cpus: "0.5" + memory: "140MB" + +networks: + default: + driver: bridge + name: rinha-nginx-2024q1 diff --git a/participantes/g-otn/init.sql b/participantes/g-otn/init.sql new file mode 100644 index 000000000..b4cd75a51 --- /dev/null +++ b/participantes/g-otn/init.sql @@ -0,0 +1,116 @@ +CREATE UNLOGGED TABLE clientes ( + id SERIAL PRIMARY KEY, + nome VARCHAR(50) NOT NULL, + limite INTEGER NOT NULL +); + +CREATE UNLOGGED TABLE transacoes ( + id SERIAL PRIMARY KEY, + cliente_id INTEGER NOT NULL, + valor INTEGER NOT NULL, + tipo CHAR(1) NOT NULL, + descricao VARCHAR(10) NOT NULL, + realizada_em TIMESTAMP NOT NULL DEFAULT NOW(), + CONSTRAINT fk_clientes_transacoes_id + FOREIGN KEY (cliente_id) REFERENCES clientes(id) +); + +CREATE UNLOGGED TABLE saldos ( + id SERIAL PRIMARY KEY, + cliente_id INTEGER NOT NULL, + valor INTEGER NOT NULL, + CONSTRAINT fk_clientes_saldos_id + FOREIGN KEY (cliente_id) REFERENCES clientes(id) +); + +DO $$ +BEGIN + INSERT INTO clientes (nome, limite) + VALUES + ('Cliente 1', 1000 * 100), + ('Cliente 2', 800 * 100), + ('Cliente 3', 10000 * 100), + ('Cliente 4', 100000 * 100), + ('Cliente 5', 5000 * 100); + + INSERT INTO saldos (cliente_id, valor) + SELECT id, 0 FROM clientes; +END; +$$; + +CREATE OR REPLACE FUNCTION debitar( + cliente_id_tx INT, + valor_tx INT, + descricao_tx VARCHAR(10)) +RETURNS TABLE ( + novo_saldo INT, + possui_erro BOOL, + mensagem VARCHAR(20)) +LANGUAGE plpgsql +AS $$ +DECLARE + saldo_atual int; + limite_atual int; +BEGIN + PERFORM pg_advisory_xact_lock(cliente_id_tx); + SELECT + c.limite, + COALESCE(s.valor, 0) + INTO + limite_atual, + saldo_atual + FROM clientes c + LEFT JOIN saldos s + ON c.id = s.cliente_id + WHERE c.id = cliente_id_tx; + + IF saldo_atual - valor_tx >= limite_atual * -1 THEN + INSERT INTO transacoes + VALUES(DEFAULT, cliente_id_tx, valor_tx, 'd', descricao_tx, NOW()); + + UPDATE saldos + SET valor = valor - valor_tx + WHERE cliente_id = cliente_id_tx; + + RETURN QUERY + SELECT + valor, + FALSE, + 'ok'::VARCHAR(20) + FROM saldos + WHERE cliente_id = cliente_id_tx; + ELSE + RETURN QUERY + SELECT + valor, + TRUE, + 'saldo insuficente'::VARCHAR(20) + FROM saldos + WHERE cliente_id = cliente_id_tx; + END IF; +END; +$$; + +CREATE OR REPLACE FUNCTION creditar( + cliente_id_tx INT, + valor_tx INT, + descricao_tx VARCHAR(10)) +RETURNS TABLE ( + novo_saldo INT, + possui_erro BOOL, + mensagem VARCHAR(20)) +LANGUAGE plpgsql +AS $$ +BEGIN + PERFORM pg_advisory_xact_lock(cliente_id_tx); + + INSERT INTO transacoes + VALUES(DEFAULT, cliente_id_tx, valor_tx, 'c', descricao_tx, NOW()); + + RETURN QUERY + UPDATE saldos + SET valor = valor + valor_tx + WHERE cliente_id = cliente_id_tx + RETURNING valor, FALSE, 'ok'::VARCHAR(20); +END; +$$; diff --git a/participantes/g-otn/nginx.conf b/participantes/g-otn/nginx.conf new file mode 100644 index 000000000..5bca2f6ea --- /dev/null +++ b/participantes/g-otn/nginx.conf @@ -0,0 +1,30 @@ +events { + worker_connections 1000; + multi_accept on; +} + +http { + access_log off; + sendfile on; + + upstream api { + server api01:3000; + server api02:3000; + server api03:3000; + server api04:3000; + } + + server { + listen 9999; + + location / { + proxy_pass http://api; + + proxy_http_version 1.1; # Define to 1.1 version because hyper-express just accept this version + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection 'upgrade'; + proxy_set_header Host $host; + proxy_cache_bypass $http_upgrade; + } + } +} \ No newline at end of file diff --git a/participantes/g-otn/postgres.conf b/participantes/g-otn/postgres.conf new file mode 100644 index 000000000..c1326fec4 --- /dev/null +++ b/participantes/g-otn/postgres.conf @@ -0,0 +1,36 @@ +max_connections = 300 + +fsync = off +synchronous_commit = off +full_page_writes = off +wal_level = minimal +max_wal_senders = 0 +wal_sender_timeout = 0 +row_security = off +wal_writer_delay = '10ms' +client_min_messages = error +autovacuum = false +checkpoint_completion_target = 0.9 + +log_min_duration_statement = '10s' +log_checkpoints = off +log_statement = 'none' +log_error_verbosity = terse +log_min_messages = panic +logging_collector = off +log_directory = '/dev/null' +log_min_error_statement = panic +client_min_messages = error +debug_pretty_print = off + +max_connections = 50 +shared_buffers = 70MB +effective_cache_size = 210MB +maintenance_work_mem = 17920kB +checkpoint_completion_target = 0.9 +wal_buffers = 2150kB +default_statistics_target = 100 +random_page_cost = 1.1 +effective_io_concurrency = 200 +work_mem = 716kB +huge_pages = off \ No newline at end of file diff --git a/participantes/gavageovanni-kotlin/README.md b/participantes/gavageovanni-kotlin/README.md new file mode 100644 index 000000000..77e5bf742 --- /dev/null +++ b/participantes/gavageovanni-kotlin/README.md @@ -0,0 +1,33 @@ +# Rinha de Backend 2024 Q1 + +- [challenge repository](https://github.com/zanfranceschi/rinha-de-backend-2024-q1) +- [source project](https://github.com/gavageovanni/rinhav2-kotlin) + +## Tech Stack + +- kotlin, spring webflux, r2dbc +- postgres + +## Run + +- Run: + +```bash +# Up +docker-compose up +``` + +```bash +# Down +docker-compose down -v +``` + +```bash +# Run tests +cd load-test +chmod +x run-test.sh +./run-test.sh +``` + + +![img.png](result.png) \ No newline at end of file diff --git a/participantes/gavageovanni-kotlin/config/nginx.conf b/participantes/gavageovanni-kotlin/config/nginx.conf new file mode 100644 index 000000000..32e0c06e6 --- /dev/null +++ b/participantes/gavageovanni-kotlin/config/nginx.conf @@ -0,0 +1,20 @@ +events { + worker_connections 6000; +} + +http { + access_log off; + + upstream api { + server api01:8080; + server api02:8080; + } + + server { + listen 9999; + + location / { + proxy_pass http://api; + } + } +} \ No newline at end of file diff --git a/participantes/gavageovanni-kotlin/config/postgres.conf b/participantes/gavageovanni-kotlin/config/postgres.conf new file mode 100644 index 000000000..b67db0a46 --- /dev/null +++ b/participantes/gavageovanni-kotlin/config/postgres.conf @@ -0,0 +1,8 @@ +shared_buffers=220MB +synchronous_commit=off +fsync=off +full_page_writes=off +max_wal_size = 1GB +wal_level = replica +statement_timeout = 0 +lock_timeout = 1s \ No newline at end of file diff --git a/participantes/gavageovanni-kotlin/config/script.sql b/participantes/gavageovanni-kotlin/config/script.sql new file mode 100644 index 000000000..839d69374 --- /dev/null +++ b/participantes/gavageovanni-kotlin/config/script.sql @@ -0,0 +1,44 @@ +DO +$$ + BEGIN +-- SET statement_timeout = 0; +-- SET lock_timeout = 0; +-- SET idle_in_transaction_session_timeout = 0; +-- SET client_encoding = 'UTF8'; +-- SET standard_conforming_strings = on; +-- SET check_function_bodies = false; +-- SET xmloption = content; +-- SET client_min_messages = warning; +-- SET row_security = off; +-- +-- SET default_tablespace = ''; +-- +-- SET default_table_access_method = heap; + + create unlogged table public.users + ( + id serial primary key, + account_limit integer not null, + balance integer default 0 + ); + + create unlogged table public.transaction + ( + created_at timestamp not null, + value integer not null, + description varchar(10) not null, + user_id integer not null, + type char(1) not null + ); + + create index transaction_user_idx ON transaction USING btree (user_id, created_at); + +-- initial data + INSERT INTO users (id, balance, account_limit) VALUES (1, 0, 100000); + INSERT INTO users (id, balance, account_limit) VALUES (2, 0, 80000); + INSERT INTO users (id, balance, account_limit) VALUES (3, 0, 1000000); + INSERT INTO users (id, balance, account_limit) VALUES (4, 0, 10000000); + INSERT INTO users (id, balance, account_limit) VALUES (5, 0, 500000); + + END +$$; \ No newline at end of file diff --git a/participantes/gavageovanni-kotlin/docker-compose.yml b/participantes/gavageovanni-kotlin/docker-compose.yml new file mode 100644 index 000000000..b14e95991 --- /dev/null +++ b/participantes/gavageovanni-kotlin/docker-compose.yml @@ -0,0 +1,66 @@ +version: '3.7' + +services: + db: + image: postgres:latest + hostname: db + environment: + - POSTGRES_PASSWORD=rinhav2 + - POSTGRES_USER=rinhav2 + - POSTGRES_DB=rinhav2 + ports: + - "5432:5432" + restart: always + volumes: + - ./config/postgres.conf:/etc/postgresql/postgresql.conf + - ./config/script.sql:/docker-entrypoint-initdb.d/script.sql +# command: 'postgres -c max_connections=1000 -c shared_buffers=128MB -c synchronous_commit=off -c fsync=off -c full_page_writes=off' + healthcheck: + test: [ "CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB" ] + interval: 5s + timeout: 5s + retries: 20 + start_period: 10s + deploy: + resources: + limits: + cpus: "0.50" + memory: "150MB" + + api01: &api + image: geovannigava/rinhav2-kotlin:v16 + environment: + - "POSTGRES_HOST=r2dbc:postgresql://db:5432/rinhav2" + hostname: api01 + depends_on: + db: + condition: service_healthy + deploy: + resources: + limits: + cpus: "0.40" + memory: "150MB" + + api02: + <<: *api + hostname: api02 + + nginx: + image: nginx:latest + volumes: + - ./config/nginx.conf:/etc/nginx/nginx.conf:ro + depends_on: + - api01 + - api02 + ports: + - 9999:9999 + deploy: + resources: + limits: + cpus: "0.20" + memory: "100MB" + +networks: + default: + driver: bridge + name: rinhav2 \ No newline at end of file diff --git a/participantes/gavageovanni-kotlin/result.png b/participantes/gavageovanni-kotlin/result.png new file mode 100644 index 000000000..69a68d0bf Binary files /dev/null and b/participantes/gavageovanni-kotlin/result.png differ diff --git a/participantes/gmafrac-golang/docker-compose.logs b/participantes/gmafrac-golang/docker-compose.logs index c76fcb263..10bcff876 100644 --- a/participantes/gmafrac-golang/docker-compose.logs +++ b/participantes/gmafrac-golang/docker-compose.logs @@ -2,10 +2,10 @@ Network gmafrac-golang_default Created Container gmafrac-golang-db-1 Creating Container gmafrac-golang-db-1 Created - Container gmafrac-golang-api1-1 Creating Container gmafrac-golang-api2-1 Creating - Container gmafrac-golang-api2-1 Created + Container gmafrac-golang-api1-1 Creating Container gmafrac-golang-api1-1 Created + Container gmafrac-golang-api2-1 Created Container gmafrac-golang-nginx-1 Creating Container gmafrac-golang-nginx-1 Created Attaching to api1-1, api2-1, db-1, nginx-1 @@ -26,10 +26,19 @@ db-1 | selecting default shared_buffers ... 128MB db-1 | selecting default time zone ... Etc/UTC db-1 | creating configuration files ... ok db-1 | running bootstrap script ... ok -api2-1 | 2024/03/10 16:58:40 Starting server...postgres://user:password@db:5432/crebito -api2-1 | 2024/03/10 16:58:40 Server started at :8000 -api1-1 | 2024/03/10 16:58:41 Starting server...postgres://user:password@db:5432/crebito -api1-1 | 2024/03/10 16:58:41 Server started at :8000 +api1-1 | 2024/03/11 01:48:52 Starting server...postgres://user:password@db:5432/crebito +api1-1 | 2024/03/11 01:48:52 Server started at :8000 +api2-1 | 2024/03/11 01:48:52 Starting server...postgres://user:password@db:5432/crebito +api2-1 | 2024/03/11 01:48:52 Server started at :8000 +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up db-1 | performing post-bootstrap initialization ... ok db-1 | initdb: warning: enabling "trust" authentication for local connections db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. @@ -40,19 +49,10 @@ db-1 | Success. You can now start the database server using: db-1 | db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start db-1 | -db-1 | waiting for server to start....2024-03-10 16:58:42.470 UTC [48] LOG: starting PostgreSQL 16.1 (Debian 16.1-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit -db-1 | 2024-03-10 16:58:42.473 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" -db-1 | 2024-03-10 16:58:42.484 UTC [51] LOG: database system was shut down at 2024-03-10 16:58:41 UTC -db-1 | 2024-03-10 16:58:42.490 UTC [48] LOG: database system is ready to accept connections -nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration -nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ -nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh -nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf -nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf -nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh -nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh -nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh -nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +db-1 | waiting for server to start....2024-03-11 01:48:54.441 UTC [48] LOG: starting PostgreSQL 16.1 (Debian 16.1-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:48:54.444 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 01:48:54.456 UTC [51] LOG: database system was shut down at 2024-03-11 01:48:52 UTC +db-1 | 2024-03-11 01:48:54.462 UTC [48] LOG: database system is ready to accept connections db-1 | done db-1 | server started db-1 | CREATE DATABASE @@ -64,35 +64,35 @@ db-1 | CREATE TABLE db-1 | DO db-1 | db-1 | -db-1 | waiting for server to shut down...2024-03-10 16:58:42.691 UTC [48] LOG: received fast shutdown request -db-1 | .2024-03-10 16:58:42.694 UTC [48] LOG: aborting any active transactions -db-1 | 2024-03-10 16:58:42.696 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 -db-1 | 2024-03-10 16:58:42.715 UTC [49] LOG: shutting down -db-1 | 2024-03-10 16:58:42.718 UTC [49] LOG: checkpoint starting: shutdown immediate -db-1 | 2024-03-10 16:58:43.242 UTC [49] LOG: checkpoint complete: wrote 940 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.422 s, sync=0.090 s, total=0.528 s; sync files=313, longest=0.055 s, average=0.001 s; distance=4295 kB, estimate=4295 kB; lsn=0/191C608, redo lsn=0/191C608 -db-1 | 2024-03-10 16:58:43.246 UTC [48] LOG: database system is shut down +db-1 | waiting for server to shut down....2024-03-11 01:48:54.678 UTC [48] LOG: received fast shutdown request +db-1 | 2024-03-11 01:48:54.681 UTC [48] LOG: aborting any active transactions +db-1 | 2024-03-11 01:48:54.688 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 +db-1 | 2024-03-11 01:48:54.689 UTC [49] LOG: shutting down +db-1 | 2024-03-11 01:48:54.691 UTC [49] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 01:48:55.229 UTC [49] LOG: checkpoint complete: wrote 940 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.420 s, sync=0.104 s, total=0.541 s; sync files=313, longest=0.057 s, average=0.001 s; distance=4295 kB, estimate=4295 kB; lsn=0/191C608, redo lsn=0/191C608 +db-1 | 2024-03-11 01:48:55.233 UTC [48] LOG: database system is shut down db-1 | done db-1 | server stopped db-1 | db-1 | PostgreSQL init process complete; ready for start up. db-1 | -db-1 | 2024-03-10 16:58:43.315 UTC [1] LOG: starting PostgreSQL 16.1 (Debian 16.1-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit -db-1 | 2024-03-10 16:58:43.315 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 -db-1 | 2024-03-10 16:58:43.315 UTC [1] LOG: listening on IPv6 address "::", port 5432 -db-1 | 2024-03-10 16:58:43.323 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" -db-1 | 2024-03-10 16:58:43.331 UTC [66] LOG: database system was shut down at 2024-03-10 16:58:43 UTC -db-1 | 2024-03-10 16:58:43.338 UTC [1] LOG: database system is ready to accept connections +db-1 | 2024-03-11 01:48:55.302 UTC [1] LOG: starting PostgreSQL 16.1 (Debian 16.1-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:48:55.302 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +db-1 | 2024-03-11 01:48:55.302 UTC [1] LOG: listening on IPv6 address "::", port 5432 +db-1 | 2024-03-11 01:48:55.309 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 01:48:55.316 UTC [66] LOG: database system was shut down at 2024-03-11 01:48:55 UTC +db-1 | 2024-03-11 01:48:55.324 UTC [1] LOG: database system is ready to accept connections nginx-1 exited with code 0 nginx-1 exited with code 0 -api2-1 exited with code 0 -api2-1 exited with code 2 api1-1 exited with code 0 api1-1 exited with code 2 -db-1 | 2024-03-10 17:02:57.786 UTC [1] LOG: received fast shutdown request -db-1 | 2024-03-10 17:02:57.790 UTC [1] LOG: aborting any active transactions -db-1 | 2024-03-10 17:02:57.793 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1 -db-1 | 2024-03-10 17:02:57.793 UTC [64] LOG: shutting down -db-1 | 2024-03-10 17:02:57.798 UTC [64] LOG: checkpoint starting: shutdown immediate -db-1 | 2024-03-10 17:02:57.929 UTC [64] LOG: checkpoint complete: wrote 621 buffers (3.8%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.012 s, sync=0.105 s, total=0.137 s; sync files=30, longest=0.094 s, average=0.004 s; distance=3836 kB, estimate=3836 kB; lsn=0/1CDB848, redo lsn=0/1CDB848 -db-1 | 2024-03-10 17:02:57.933 UTC [1] LOG: database system is shut down +api2-1 exited with code 0 +api2-1 exited with code 2 +db-1 | 2024-03-11 01:53:10.615 UTC [1] LOG: received fast shutdown request +db-1 | 2024-03-11 01:53:10.619 UTC [1] LOG: aborting any active transactions +db-1 | 2024-03-11 01:53:10.620 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1 +db-1 | 2024-03-11 01:53:10.621 UTC [64] LOG: shutting down +db-1 | 2024-03-11 01:53:10.627 UTC [64] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 01:53:10.764 UTC [64] LOG: checkpoint complete: wrote 619 buffers (3.8%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.013 s, sync=0.084 s, total=0.144 s; sync files=31, longest=0.076 s, average=0.003 s; distance=3814 kB, estimate=3814 kB; lsn=0/1CD6068, redo lsn=0/1CD6068 +db-1 | 2024-03-11 01:53:10.768 UTC [1] LOG: database system is shut down db-1 exited with code 0 diff --git a/participantes/gmafrac-golang/testada b/participantes/gmafrac-golang/testada new file mode 100644 index 000000000..2281821be --- /dev/null +++ b/participantes/gmafrac-golang/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 01:53:11 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/joao-peterson/README.md b/participantes/joao-peterson/README.md new file mode 100644 index 000000000..ec026dcc6 --- /dev/null +++ b/participantes/joao-peterson/README.md @@ -0,0 +1,16 @@ +# Rinha de gal... backend + +Meu projeto para [rinha de backend 2024 Q1](https://github.com/zanfranceschi/rinha-de-backend-2024-q1) feito em C. + +Feito usando [facil.io](https://facil.io), uma biblioteca C que traz um web server performante + mini http framework. Special thanks to [boazsegev](https://github.com/boazsegev/facil.io) for the lib! + +Lib do próprio postgres para conexão com a db. Sem caching **externo**, como Redis por exemplo. + +## João Peterson +Submissão feita com: +- `nginx` como load balancer +- `postgres` como banco de dados +- `c` para api com as libs `libpg` e `facil.io` +- [repositório da api](https://github.com/Joao-Peterson/rinhabackend2014Q1) + +[@joptr_](https://twitter.com/joptr_) @ twitter diff --git a/participantes/joao-peterson/docker-compose.yml b/participantes/joao-peterson/docker-compose.yml new file mode 100644 index 000000000..9726ac96e --- /dev/null +++ b/participantes/joao-peterson/docker-compose.yml @@ -0,0 +1,75 @@ +version: '3.5' + +services: + api1: &apiconf + image: petersonsheff/rinhabackend2024q1capi:latest + environment: + - SERVER_PORT=5001 + - SERVER_DB_CONNS=21 + - SERVER_THREADS=20 + - SERVER_WORKERS=1 + - DB_HOST=localhost + - DB_PORT=5432 + - DB_DATABASE=pguser + - DB_USER=pguser + - DB_PASSWORD=admin + restart: always + depends_on: + db: + condition: service_healthy + network_mode: host + deploy: + resources: + limits: + cpus: '0.1' + memory: '100MB' + + api2: + <<: *apiconf + environment: + - SERVER_PORT=5002 + - SERVER_DB_CONNS=21 + - SERVER_THREADS=20 + - SERVER_WORKERS=1 + - DB_HOST=localhost + - DB_PORT=5432 + - DB_DATABASE=pguser + - DB_USER=pguser + - DB_PASSWORD=admin + + nginx: + image: nginx:latest + volumes: + - ./nginx.conf:/etc/nginx/nginx.conf:ro + depends_on: + - api1 + - api2 + network_mode: host + deploy: + resources: + limits: + cpus: '0.1' + memory: '50MB' + + db: + image: postgres:15 + restart: always + healthcheck: + test: ["CMD", "pg_isready", "-U", "capi"] + interval: 1s + timeout: 1m + retries: 5 + start_period: 5s + environment: + - POSTGRES_USER=pguser + - POSTGRES_PASSWORD=admin + network_mode: "host" + volumes: + - ./init.sql:/docker-entrypoint-initdb.d/init.sql + - ./postgresql.conf:/docker-entrypoint-initdb.d/postgresql.conf + command: postgres -c config_file=/docker-entrypoint-initdb.d/postgresql.conf + deploy: + resources: + limits: + cpus: '1.2' + memory: '300MB' \ No newline at end of file diff --git a/participantes/joao-peterson/init.sql b/participantes/joao-peterson/init.sql new file mode 100644 index 000000000..7b263693d --- /dev/null +++ b/participantes/joao-peterson/init.sql @@ -0,0 +1,68 @@ +create unlogged table clientes( + id int primary key, + limite bigint not null, + saldo bigint not null default 0 +); + +-- default clients +insert into clientes (id, limite) values + (1, 100000), + (2, 80000), + (3, 1000000), + (4, 10000000), + (5, 500000); + +-- partioned +create unlogged table transacoes( + id bigserial not null, + cliente int not null, + tipo boolean not null, + valor int not null, + descricao varchar(10) not null, + realizada_em timestamp not null, + constraint fk_transacoes_clientes foreign key (cliente) references clientes (id) +) +partition by list (cliente); + +-- partition per client +create table transacoes_1 partition of transacoes for values in (1); +create table transacoes_2 partition of transacoes for values in (2); +create table transacoes_3 partition of transacoes for values in (3); +create table transacoes_4 partition of transacoes for values in (4); +create table transacoes_5 partition of transacoes for values in (5); +create table transacoes_default partition of transacoes default; + +-- indexes +create index on transacoes (id); +create index on transacoes (cliente); +create index on transacoes (realizada_em desc); + +-- insert transaction +create or replace procedure transar(cliente_in int, tipo_in boolean, valor_in int, descricao_in varchar(10)) +language plpgsql as +$$ +begin + -- record transaction + insert into transacoes(cliente, tipo, valor, descricao, realizada_em) + values (cliente_in, tipo_in, valor_in, descricao_in, now()); +end +$$; + +-- update saldo +create or replace procedure saldar(cliente_in int, saldo_in int) +language plpgsql as +$$ +begin + -- record saldo + update clientes set saldo = saldo_in where id = cliente_in; +end +$$; + +-- get extrato +create or replace function extrato(cliente_in int) returns table(valor int, tipo bool, descricao varchar(10), realizada_em timestamp) +language plpgsql as +$$ +begin + return query select t.valor, t.tipo, t.descricao, t.realizada_em from transacoes as t where t.cliente = cliente_in order by t.realizada_em desc limit 10; +end +$$ diff --git a/participantes/joao-peterson/nginx.conf b/participantes/joao-peterson/nginx.conf new file mode 100644 index 000000000..6b93bfdba --- /dev/null +++ b/participantes/joao-peterson/nginx.conf @@ -0,0 +1,44 @@ +worker_processes auto; +worker_rlimit_nofile 500000; + +events { + use epoll; + worker_connections 1024; +} + +http { + access_log off; + error_log /dev/null emerg; + + upstream api1 { + server localhost:5001; + keepalive 200; + } + + upstream api2 { + server localhost:5002; + keepalive 200; + } + + server { + listen 9999; + + location ~ /clientes/(1|2|3)/ { + proxy_buffering off; + proxy_set_header Connection ""; + proxy_http_version 1.1; + proxy_set_header Keep-Alive ""; + proxy_set_header Proxy-Connection "keep-alive"; + proxy_pass http://api1; + } + + location ~ /clientes/(4|5)/ { + proxy_buffering off; + proxy_set_header Connection ""; + proxy_http_version 1.1; + proxy_set_header Keep-Alive ""; + proxy_set_header Proxy-Connection "keep-alive"; + proxy_pass http://api2; + } + } +} \ No newline at end of file diff --git a/participantes/joao-peterson/postgresql.conf b/participantes/joao-peterson/postgresql.conf new file mode 100644 index 000000000..61546a91d --- /dev/null +++ b/participantes/joao-peterson/postgresql.conf @@ -0,0 +1,29 @@ +listen_addresses = '*' +max_connections = 75 + +# pgtune given +shared_buffers = 75MB +effective_cache_size = 225MB +maintenance_work_mem = 19200kB +checkpoint_completion_target = 0.9 +wal_buffers = 2304kB +default_statistics_target = 100 +random_page_cost = 1.1 +effective_io_concurrency = 200 +work_mem = 1920kB +huge_pages = off +min_wal_size = 1GB +max_wal_size = 4GB + +superuser_reserved_connections = 3 +unix_socket_directories = '/var/run/postgresql' +checkpoint_timeout = 10min +autovacuum = on +log_statement = 'none' +log_duration = off +log_lock_waits = on +log_error_verbosity = terse +log_min_messages = panic +log_min_error_statement = panic +enable_partition_pruning = true +fsync = 0 \ No newline at end of file diff --git a/participantes/joaobittencourt-php/docker-compose.logs b/participantes/joaobittencourt-php/docker-compose.logs deleted file mode 100644 index a3fa7b47e..000000000 --- a/participantes/joaobittencourt-php/docker-compose.logs +++ /dev/null @@ -1,135 +0,0 @@ - Container joaobittencourt-php-db-1 Creating - Container joaobittencourt-php-api02-1 Creating - Container joaobittencourt-php-api01-1 Creating - Container joaobittencourt-php-api01-1 Created - Container joaobittencourt-php-db-1 Created - Container joaobittencourt-php-api02-1 Created - Container joaobittencourt-php-nginx-1 Creating - Container joaobittencourt-php-nginx-1 Created -Attaching to api01-1, api02-1, db-1, nginx-1 -db-1 | The files belonging to this database system will be owned by user "postgres". -db-1 | This user must also own the server process. -db-1 | -db-1 | The database cluster will be initialized with locale "en_US.utf8". -db-1 | The default database encoding has accordingly been set to "UTF8". -db-1 | The default text search configuration will be set to "english". -db-1 | -db-1 | Data page checksums are disabled. -db-1 | -db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok -db-1 | creating subdirectories ... ok -db-1 | selecting dynamic shared memory implementation ... posix -db-1 | selecting default max_connections ... 100 -db-1 | selecting default shared_buffers ... 128MB -api02-1 | [Sun Mar 10 22:28:29 2024] PHP 8.3.3 Development Server (http://0.0.0.0:8082) started -api01-1 | [Sun Mar 10 22:28:29 2024] PHP 8.3.3 Development Server (http://0.0.0.0:8081) started -db-1 | selecting default time zone ... UTC -db-1 | creating configuration files ... ok -nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration -nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ -nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh -nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf -db-1 | running bootstrap script ... ok -nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf -nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh -nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh -nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh -nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up -db-1 | sh: locale: not found -db-1 | 2024-03-10 22:28:29.437 UTC [30] WARNING: no usable system locales were found -db-1 | performing post-bootstrap initialization ... ok -db-1 | initdb: warning: enabling "trust" authentication for local connections -db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. -db-1 | syncing data to disk ... ok -db-1 | -db-1 | -db-1 | Success. You can now start the database server using: -db-1 | -db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start -db-1 | -db-1 | waiting for server to start.... done -db-1 | server started -db-1 | CREATE DATABASE -db-1 | -db-1 | -db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql -db-1 | CREATE TABLE -db-1 | CREATE TABLE -db-1 | CREATE INDEX -db-1 | CREATE INDEX -db-1 | INSERT 0 5 -db-1 | -db-1 | -db-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/postgresql.conf -db-1 | -db-1 | waiting for server to shut down.... done -db-1 | server stopped -db-1 | -db-1 | PostgreSQL init process complete; ready for start up. -db-1 | -api01-1 | [Sun Mar 10 22:28:33 2024] 127.0.0.1:35438 Accepted -api01-1 | [Sun Mar 10 22:28:33 2024] 127.0.0.1:35438 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:28:33 2024] 127.0.0.1:35438 Closing -api02-1 | [Sun Mar 10 22:28:35 2024] 127.0.0.1:35380 Accepted -api02-1 | [Sun Mar 10 22:28:35 2024] 127.0.0.1:35380 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:28:35 2024] 127.0.0.1:35380 Closing -api01-1 | [Sun Mar 10 22:28:37 2024] 127.0.0.1:35446 Accepted -api01-1 | [Sun Mar 10 22:28:37 2024] 127.0.0.1:35446 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:28:37 2024] 127.0.0.1:35446 Closing -api02-1 | [Sun Mar 10 22:28:39 2024] 127.0.0.1:57284 Accepted -api02-1 | [Sun Mar 10 22:28:39 2024] 127.0.0.1:57284 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:28:39 2024] 127.0.0.1:57284 Closing -api01-1 | [Sun Mar 10 22:28:41 2024] 127.0.0.1:35734 Accepted -api01-1 | [Sun Mar 10 22:28:41 2024] 127.0.0.1:35734 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:28:41 2024] 127.0.0.1:35734 Closing -api02-1 | [Sun Mar 10 22:28:43 2024] 127.0.0.1:57288 Accepted -api02-1 | [Sun Mar 10 22:28:43 2024] 127.0.0.1:57288 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:28:43 2024] 127.0.0.1:57288 Closing -api01-1 | [Sun Mar 10 22:28:45 2024] 127.0.0.1:35738 Accepted -api01-1 | [Sun Mar 10 22:28:45 2024] 127.0.0.1:35738 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:28:45 2024] 127.0.0.1:35738 Closing -api02-1 | [Sun Mar 10 22:28:47 2024] 127.0.0.1:57304 Accepted -api02-1 | [Sun Mar 10 22:28:47 2024] 127.0.0.1:57304 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:28:47 2024] 127.0.0.1:57304 Closing -api01-1 | [Sun Mar 10 22:28:49 2024] 127.0.0.1:40408 Accepted -api01-1 | [Sun Mar 10 22:28:49 2024] 127.0.0.1:40408 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:28:49 2024] 127.0.0.1:40408 Closing -api02-1 | [Sun Mar 10 22:28:51 2024] 127.0.0.1:50540 Accepted -api02-1 | [Sun Mar 10 22:28:51 2024] 127.0.0.1:50540 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:28:51 2024] 127.0.0.1:50540 Closing -api01-1 | [Sun Mar 10 22:28:53 2024] 127.0.0.1:40420 Accepted -api01-1 | [Sun Mar 10 22:28:53 2024] 127.0.0.1:40420 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:28:53 2024] 127.0.0.1:40420 Closing -api02-1 | [Sun Mar 10 22:28:55 2024] 127.0.0.1:50542 Accepted -api02-1 | [Sun Mar 10 22:28:55 2024] 127.0.0.1:50542 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:28:55 2024] 127.0.0.1:50542 Closing -api01-1 | [Sun Mar 10 22:28:57 2024] 127.0.0.1:40430 Accepted -api01-1 | [Sun Mar 10 22:28:57 2024] 127.0.0.1:40430 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:28:57 2024] 127.0.0.1:40430 Closing -api02-1 | [Sun Mar 10 22:28:59 2024] 127.0.0.1:41754 Accepted -api02-1 | [Sun Mar 10 22:28:59 2024] 127.0.0.1:41754 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:28:59 2024] 127.0.0.1:41754 Closing -api01-1 | [Sun Mar 10 22:29:01 2024] 127.0.0.1:53764 Accepted -api01-1 | [Sun Mar 10 22:29:01 2024] 127.0.0.1:53764 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:29:01 2024] 127.0.0.1:53764 Closing -api02-1 | [Sun Mar 10 22:29:03 2024] 127.0.0.1:41764 Accepted -api02-1 | [Sun Mar 10 22:29:03 2024] 127.0.0.1:41764 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:29:03 2024] 127.0.0.1:41764 Closing -api01-1 | [Sun Mar 10 22:29:05 2024] 127.0.0.1:53780 Accepted -api01-1 | [Sun Mar 10 22:29:05 2024] 127.0.0.1:53780 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:29:05 2024] 127.0.0.1:53780 Closing -api02-1 | [Sun Mar 10 22:29:07 2024] 127.0.0.1:41780 Accepted -api02-1 | [Sun Mar 10 22:29:07 2024] 127.0.0.1:41780 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:29:07 2024] 127.0.0.1:41780 Closing -api01-1 | [Sun Mar 10 22:29:09 2024] 127.0.0.1:50830 Accepted -api01-1 | [Sun Mar 10 22:29:09 2024] 127.0.0.1:50830 [404]: GET /clientes/1/extrato - No such file or directory -api01-1 | [Sun Mar 10 22:29:09 2024] 127.0.0.1:50830 Closing -api02-1 | [Sun Mar 10 22:29:11 2024] 127.0.0.1:35150 Accepted -api02-1 | [Sun Mar 10 22:29:11 2024] 127.0.0.1:35150 [404]: GET /clientes/1/extrato - No such file or directory -api02-1 | [Sun Mar 10 22:29:11 2024] 127.0.0.1:35150 Closing -db-1 exited with code 0 -db-1 exited with code 0 -nginx-1 exited with code 0 -nginx-1 exited with code 0 -api02-1 exited with code 0 -api01-1 exited with code 0 diff --git a/participantes/joaobittencourt-php/nginx.conf b/participantes/joaobittencourt-php/nginx.conf index 5b00c1682..7e3e2d5de 100644 --- a/participantes/joaobittencourt-php/nginx.conf +++ b/participantes/joaobittencourt-php/nginx.conf @@ -9,7 +9,6 @@ http { tcp_nodelay on; gzip on; - http2 on; upstream api { server localhost:8081; diff --git a/participantes/julioriffel-fastapi/docker-compose.logs b/participantes/julioriffel-fastapi/docker-compose.logs new file mode 100644 index 000000000..7fd1e0f05 --- /dev/null +++ b/participantes/julioriffel-fastapi/docker-compose.logs @@ -0,0 +1,316 @@ + Network rinha-nginx-2024q1 Creating + Network rinha-nginx-2024q1 Created + Container julioriffel-fastapi-db-1 Creating + Container julioriffel-fastapi-redis-1 Creating + Container julioriffel-fastapi-redis-1 Created + Container julioriffel-fastapi-db-1 Created + Container julioriffel-fastapi-api-2 Creating + Container julioriffel-fastapi-api-1 Creating + Container julioriffel-fastapi-api-2 Created + Container julioriffel-fastapi-api-1 Created + Container julioriffel-fastapi-nginx-1 Creating + Container julioriffel-fastapi-nginx-1 Created +Attaching to api-1, api-2, db-1, nginx-1, redis-1 +redis-1 | 1:C 11 Mar 2024 01:53:23.633 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. +redis-1 | 1:C 11 Mar 2024 01:53:23.633 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo +redis-1 | 1:C 11 Mar 2024 01:53:23.633 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=1, just started +redis-1 | 1:C 11 Mar 2024 01:53:23.633 * Configuration loaded +redis-1 | 1:M 11 Mar 2024 01:53:23.633 * monotonic clock: POSIX clock_gettime +redis-1 | 1:M 11 Mar 2024 01:53:23.634 * Running mode=standalone, port=6379. +redis-1 | 1:M 11 Mar 2024 01:53:23.634 * Server initialized +redis-1 | 1:M 11 Mar 2024 01:53:23.634 * Ready to accept connections tcp +db-1 | The files belonging to this database system will be owned by user "postgres". +db-1 | This user must also own the server process. +db-1 | +db-1 | The database cluster will be initialized with locale "en_US.utf8". +db-1 | The default database encoding has accordingly been set to "UTF8". +db-1 | The default text search configuration will be set to "english". +db-1 | +db-1 | Data page checksums are disabled. +db-1 | +db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +db-1 | creating subdirectories ... ok +db-1 | selecting dynamic shared memory implementation ... posix +db-1 | selecting default max_connections ... 100 +db-1 | selecting default shared_buffers ... 128MB +db-1 | selecting default time zone ... Etc/UTC +db-1 | creating configuration files ... ok +api-1 | [2024-03-11 01:53:24 +0000] [1] [INFO] Starting gunicorn 21.2.0 +api-1 | [2024-03-11 01:53:24 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1) +api-1 | [2024-03-11 01:53:24 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker +api-1 | [2024-03-11 01:53:24 +0000] [7] [INFO] Booting worker with pid: 7 +api-1 | [2024-03-11 01:53:24 +0000] [8] [INFO] Booting worker with pid: 8 +api-2 | [2024-03-11 01:53:24 +0000] [1] [INFO] Starting gunicorn 21.2.0 +api-2 | [2024-03-11 01:53:24 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1) +api-2 | [2024-03-11 01:53:24 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker +api-2 | [2024-03-11 01:53:24 +0000] [7] [INFO] Booting worker with pid: 7 +api-2 | [2024-03-11 01:53:24 +0000] [8] [INFO] Booting worker with pid: 8 +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +db-1 | running bootstrap script ... ok +db-1 | performing post-bootstrap initialization ... ok +api-1 | [2024-03-11 01:53:27 +0000] [7] [INFO] Started server process [7] +api-1 | [2024-03-11 01:53:27 +0000] [7] [INFO] Waiting for application startup. +api-1 | [2024-03-11 01:53:27 +0000] [7] [ERROR] Traceback (most recent call last): +api-1 | File "/code/main.py", line 17, in lifespan +api-1 | app.state.pool = await get_pool() +api-1 | ^^^^^^^^^^^^^^^^ +api-1 | File "/code/core/database.py", line 12, in get_pool +api-1 | pool = await asyncpg.create_pool( +api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/pool.py", line 403, in _async__init__ +api-1 | await self._initialize() +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/pool.py", line 430, in _initialize +api-1 | await first_ch.connect() +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/pool.py", line 128, in connect +api-1 | self._con = await self._pool._get_new_connection() +api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/pool.py", line 502, in _get_new_connection +api-1 | con = await connection.connect( +api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connection.py", line 2329, in connect +api-1 | return await connect_utils._connect( +api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 1017, in _connect +api-1 | raise last_error or exceptions.TargetServerAttributeNotMatched( +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 991, in _connect +api-1 | conn = await _connect_addr( +api-1 | ^^^^^^^^^^^^^^^^^^^^ +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 828, in _connect_addr +api-1 | return await __connect_addr(params, True, *args) +api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 873, in __connect_addr +api-1 | tr, pr = await connector +api-1 | ^^^^^^^^^^^^^^^ +api-1 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 744, in _create_ssl_connection +api-1 | tr, pr = await loop.create_connection( +api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-1 | File "uvloop/loop.pyx", line 2039, in create_connection +api-1 | File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection +api-1 | ConnectionRefusedError: [Errno 111] Connection refused +api-1 | +api-1 | During handling of the above exception, another exception occurred: +api-1 | +api-1 | Traceback (most recent call last): +api-1 | File "/usr/local/lib/python3.12/site-packages/starlette/datastructures.py", line 699, in __getattr__ +api-1 | return self._state[key] +api-1 | ~~~~~~~~~~~^^^^^ +api-1 | KeyError: 'pool' +api-1 | +api-1 | During handling of the above exception, another exception occurred: +api-1 | +api-1 | Traceback (most recent call last): +api-1 | File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 734, in lifespan +api-1 | async with self.lifespan_context(app) as maybe_state: +api-1 | File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__ +api-1 | return await anext(self.gen) +api-1 | ^^^^^^^^^^^^^^^^^^^^^ +api-1 | File "/code/main.py", line 20, in lifespan +api-1 | await app.state.pool.close() +api-1 | ^^^^^^^^^^^^^^ +api-1 | File "/usr/local/lib/python3.12/site-packages/starlette/datastructures.py", line 702, in __getattr__ +api-1 | raise AttributeError(message.format(self.__class__.__name__, key)) +api-1 | AttributeError: 'State' object has no attribute 'pool' +api-1 | +api-1 | [2024-03-11 01:53:27 +0000] [7] [ERROR] Application startup failed. Exiting. +api-1 | [2024-03-11 01:53:27 +0000] [7] [INFO] Worker exiting (pid: 7) +api-2 | [2024-03-11 01:53:27 +0000] [7] [INFO] Started server process [7] +api-2 | [2024-03-11 01:53:27 +0000] [7] [INFO] Waiting for application startup. +api-2 | [2024-03-11 01:53:27 +0000] [7] [ERROR] Traceback (most recent call last): +api-2 | File "/code/main.py", line 17, in lifespan +api-2 | app.state.pool = await get_pool() +api-2 | ^^^^^^^^^^^^^^^^ +api-2 | File "/code/core/database.py", line 12, in get_pool +api-2 | pool = await asyncpg.create_pool( +api-2 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/pool.py", line 403, in _async__init__ +api-2 | await self._initialize() +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/pool.py", line 430, in _initialize +api-2 | await first_ch.connect() +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/pool.py", line 128, in connect +api-2 | self._con = await self._pool._get_new_connection() +api-2 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/pool.py", line 502, in _get_new_connection +api-2 | con = await connection.connect( +api-2 | ^^^^^^^^^^^^^^^^^^^^^^^^^ +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connection.py", line 2329, in connect +api-2 | return await connect_utils._connect( +api-2 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 1017, in _connect +api-2 | raise last_error or exceptions.TargetServerAttributeNotMatched( +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 991, in _connect +api-2 | conn = await _connect_addr( +api-2 | ^^^^^^^^^^^^^^^^^^^^ +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 828, in _connect_addr +api-2 | return await __connect_addr(params, True, *args) +api-2 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 873, in __connect_addr +api-2 | tr, pr = await connector +api-2 | ^^^^^^^^^^^^^^^ +api-2 | File "/usr/local/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 744, in _create_ssl_connection +api-2 | tr, pr = await loop.create_connection( +api-2 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api-2 | File "uvloop/loop.pyx", line 2039, in create_connection +api-2 | File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection +api-2 | ConnectionRefusedError: [Errno 111] Connection refused +api-2 | +api-2 | During handling of the above exception, another exception occurred: +api-2 | +api-2 | Traceback (most recent call last): +api-2 | File "/usr/local/lib/python3.12/site-packages/starlette/datastructures.py", line 699, in __getattr__ +api-2 | return self._state[key] +api-2 | ~~~~~~~~~~~^^^^^ +api-2 | KeyError: 'pool' +api-2 | +api-2 | During handling of the above exception, another exception occurred: +api-2 | +api-2 | Traceback (most recent call last): +api-2 | File "/usr/local/lib/python3.12/site-packages/starlette/routing.py", line 734, in lifespan +api-2 | async with self.lifespan_context(app) as maybe_state: +api-2 | File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__ +api-2 | return await anext(self.gen) +api-2 | ^^^^^^^^^^^^^^^^^^^^^ +api-2 | File "/code/main.py", line 20, in lifespan +api-2 | await app.state.pool.close() +api-2 | ^^^^^^^^^^^^^^ +api-2 | File "/usr/local/lib/python3.12/site-packages/starlette/datastructures.py", line 702, in __getattr__ +api-2 | raise AttributeError(message.format(self.__class__.__name__, key)) +api-2 | AttributeError: 'State' object has no attribute 'pool' +api-2 | +api-2 | [2024-03-11 01:53:27 +0000] [7] [ERROR] Application startup failed. Exiting. +api-2 | [2024-03-11 01:53:27 +0000] [7] [INFO] Worker exiting (pid: 7) +api-1 | [2024-03-11 01:53:27 +0000] [1] [ERROR] Worker (pid:7) exited with code 3 +api-1 | [2024-03-11 01:53:27 +0000] [1] [ERROR] Worker (pid:8) was sent SIGTERM! +api-1 | [2024-03-11 01:53:27 +0000] [1] [ERROR] Shutting down: Master +api-1 | [2024-03-11 01:53:27 +0000] [1] [ERROR] Reason: Worker failed to boot. +api-2 | [2024-03-11 01:53:27 +0000] [1] [ERROR] Worker (pid:7) exited with code 3 +api-2 | [2024-03-11 01:53:27 +0000] [1] [ERROR] Worker (pid:8) was sent SIGTERM! +nginx-1 | 2024/03/11 01:53:27 [error] 29#29: *1 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.64.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.64.5:8000/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:53:27 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.64.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.64.4:8000/clientes/1/extrato", host: "localhost:9999" +api-2 | [2024-03-11 01:53:27 +0000] [1] [ERROR] Shutting down: Master +api-2 | [2024-03-11 01:53:27 +0000] [1] [ERROR] Reason: Worker failed to boot. +db-1 | syncing data to disk ... ok +db-1 | +db-1 | +db-1 | Success. You can now start the database server using: +db-1 | +db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +db-1 | +db-1 | initdb: warning: enabling "trust" authentication for local connections +db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +db-1 | waiting for server to start....2024-03-11 01:53:29.232 UTC [48] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:53:29.232 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 01:53:29.234 UTC [51] LOG: database system was shut down at 2024-03-11 01:53:27 UTC +db-1 | 2024-03-11 01:53:29.318 UTC [48] LOG: database system is ready to accept connections +db-1 | done +db-1 | server started +db-1 | +db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql +db-1 | BEGIN +db-1 | CREATE TABLE +db-1 | CREATE TABLE +db-1 | INSERT 0 5 +db-1 | COMMIT +db-1 | +db-1 | +db-1 | waiting for server to shut down...2024-03-11 01:53:29.625 UTC [48] LOG: received fast shutdown request +db-1 | 2024-03-11 01:53:29.625 UTC [48] LOG: aborting any active transactions +db-1 | .2024-03-11 01:53:29.627 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 +db-1 | 2024-03-11 01:53:29.628 UTC [49] LOG: shutting down +db-1 | 2024-03-11 01:53:29.628 UTC [49] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 01:53:29.630 UTC [49] LOG: checkpoint complete: wrote 52 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.002 s; sync files=0, longest=0.000 s, average=0.000 s; distance=24 kB, estimate=24 kB; lsn=0/14F0AE8, redo lsn=0/14F0AE8 +db-1 | 2024-03-11 01:53:29.718 UTC [48] LOG: database system is shut down +db-1 | done +db-1 | server stopped +db-1 | +db-1 | PostgreSQL init process complete; ready for start up. +db-1 | +db-1 | 2024-03-11 01:53:29.817 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:53:29.840 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +db-1 | 2024-03-11 01:53:29.840 UTC [1] LOG: listening on IPv6 address "::", port 5432 +nginx-1 | 2024/03/11 01:53:29 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 192.168.64.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +db-1 | 2024-03-11 01:53:29.840 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 01:53:29.842 UTC [64] LOG: database system was shut down at 2024-03-11 01:53:29 UTC +db-1 | 2024-03-11 01:53:29.846 UTC [1] LOG: database system is ready to accept connections +api-1 exited with code 0 +api-2 exited with code 0 +api-1 | [2024-03-11 01:53:30 +0000] [1] [INFO] Starting gunicorn 21.2.0 +api-1 | [2024-03-11 01:53:30 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1) +api-1 | [2024-03-11 01:53:30 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker +api-1 | [2024-03-11 01:53:30 +0000] [7] [INFO] Booting worker with pid: 7 +api-1 | [2024-03-11 01:53:30 +0000] [8] [INFO] Booting worker with pid: 8 +api-2 | [2024-03-11 01:53:30 +0000] [1] [INFO] Starting gunicorn 21.2.0 +api-2 | [2024-03-11 01:53:30 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1) +api-2 | [2024-03-11 01:53:30 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker +api-2 | [2024-03-11 01:53:30 +0000] [7] [INFO] Booting worker with pid: 7 +api-2 | [2024-03-11 01:53:30 +0000] [8] [INFO] Booting worker with pid: 8 +nginx-1 | 2024/03/11 01:53:31 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 192.168.64.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api-2 | [2024-03-11 01:53:33 +0000] [7] [INFO] Started server process [7] +api-2 | [2024-03-11 01:53:33 +0000] [7] [INFO] Waiting for application startup. +api-1 | [2024-03-11 01:53:33 +0000] [7] [INFO] Started server process [7] +api-1 | [2024-03-11 01:53:33 +0000] [7] [INFO] Waiting for application startup. +api-1 | [2024-03-11 01:53:33 +0000] [8] [INFO] Started server process [8] +api-1 | [2024-03-11 01:53:33 +0000] [8] [INFO] Waiting for application startup. +nginx-1 | 2024/03/11 01:53:33 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 192.168.64.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api-2 | [2024-03-11 01:53:33 +0000] [8] [INFO] Started server process [8] +api-2 | [2024-03-11 01:53:33 +0000] [8] [INFO] Waiting for application startup. +api-1 | [2024-03-11 01:53:35 +0000] [8] [INFO] Application startup complete. +api-2 | [2024-03-11 01:53:35 +0000] [7] [INFO] Application startup complete. +api-1 | [2024-03-11 01:53:35 +0000] [7] [INFO] Application startup complete. +api-2 | [2024-03-11 01:53:35 +0000] [8] [INFO] Application startup complete. +nginx-1 | 2024/03/11 01:53:35 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 192.168.64.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 01:53:37 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 192.168.64.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 exited with code 0 +nginx-1 exited with code 0 +api-1 | [2024-03-11 01:57:52 +0000] [1] [INFO] Handling signal: term +api-2 | [2024-03-11 01:57:52 +0000] [1] [INFO] Handling signal: term +api-1 | [2024-03-11 01:57:52 +0000] [7] [INFO] Shutting down +api-1 | [2024-03-11 01:57:52 +0000] [7] [INFO] Error while closing socket [Errno 9] Bad file descriptor +api-2 | [2024-03-11 01:57:52 +0000] [7] [INFO] Shutting down +api-2 | [2024-03-11 01:57:52 +0000] [7] [INFO] Error while closing socket [Errno 9] Bad file descriptor +api-1 | [2024-03-11 01:57:52 +0000] [8] [INFO] Shutting down +api-1 | [2024-03-11 01:57:52 +0000] [8] [INFO] Error while closing socket [Errno 9] Bad file descriptor +api-2 | [2024-03-11 01:57:52 +0000] [8] [INFO] Shutting down +api-2 | [2024-03-11 01:57:52 +0000] [8] [INFO] Error while closing socket [Errno 9] Bad file descriptor +api-1 | [2024-03-11 01:57:52 +0000] [7] [INFO] Waiting for application shutdown. +api-2 | [2024-03-11 01:57:52 +0000] [7] [INFO] Waiting for application shutdown. +api-1 | [2024-03-11 01:57:52 +0000] [8] [INFO] Waiting for application shutdown. +api-2 | [2024-03-11 01:57:53 +0000] [8] [INFO] Waiting for application shutdown. +api-1 | [2024-03-11 01:57:53 +0000] [7] [INFO] Application shutdown complete. +api-1 | [2024-03-11 01:57:53 +0000] [7] [INFO] Finished server process [7] +api-1 | [2024-03-11 01:57:53 +0000] [7] [INFO] Worker exiting (pid: 7) +api-1 | [2024-03-11 01:57:53 +0000] [8] [INFO] Application shutdown complete. +api-1 | [2024-03-11 01:57:53 +0000] [8] [INFO] Finished server process [8] +api-1 | [2024-03-11 01:57:53 +0000] [8] [INFO] Worker exiting (pid: 8) +api-2 | [2024-03-11 01:57:53 +0000] [8] [INFO] Application shutdown complete. +api-2 | [2024-03-11 01:57:53 +0000] [8] [INFO] Finished server process [8] +api-2 | [2024-03-11 01:57:53 +0000] [8] [INFO] Worker exiting (pid: 8) +api-2 | [2024-03-11 01:57:53 +0000] [7] [INFO] Application shutdown complete. +api-2 | [2024-03-11 01:57:53 +0000] [7] [INFO] Finished server process [7] +api-2 | [2024-03-11 01:57:53 +0000] [7] [INFO] Worker exiting (pid: 7) +api-1 | [2024-03-11 01:57:53 +0000] [1] [INFO] Shutting down: Master +api-2 | [2024-03-11 01:57:53 +0000] [1] [INFO] Shutting down: Master +api-1 exited with code 0 +api-1 exited with code 0 +api-2 exited with code 0 +api-2 exited with code 0 +redis-1 | 1:signal-handler (1710122274) Received SIGTERM scheduling shutdown... +db-1 | 2024-03-11 01:57:54.512 UTC [1] LOG: received fast shutdown request +db-1 | 2024-03-11 01:57:54.512 UTC [1] LOG: aborting any active transactions +db-1 | 2024-03-11 01:57:54.514 UTC [1] LOG: background worker "logical replication launcher" (PID 67) exited with exit code 1 +db-1 | 2024-03-11 01:57:54.514 UTC [62] LOG: shutting down +db-1 | 2024-03-11 01:57:54.514 UTC [62] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 01:57:54.517 UTC [62] LOG: checkpoint complete: wrote 637 buffers (3.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.001 s, total=0.004 s; sync files=0, longest=0.000 s, average=0.000 s; distance=1887 kB, estimate=1887 kB; lsn=0/16C89A8, redo lsn=0/16C89A8 +db-1 | 2024-03-11 01:57:54.520 UTC [1] LOG: database system is shut down +redis-1 | 1:M 11 Mar 2024 01:57:54.524 * User requested shutdown... +redis-1 | 1:M 11 Mar 2024 01:57:54.524 # Redis is now ready to exit, bye bye... +db-1 exited with code 0 +db-1 exited with code 0 +redis-1 exited with code 0 diff --git a/participantes/julioriffel-fastapi/testada b/participantes/julioriffel-fastapi/testada new file mode 100644 index 000000000..f508999e1 --- /dev/null +++ b/participantes/julioriffel-fastapi/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 01:57:55 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/juniorleaoo-go/README.md b/participantes/juniorleaoo-go/README.md new file mode 100644 index 000000000..569655fd0 --- /dev/null +++ b/participantes/juniorleaoo-go/README.md @@ -0,0 +1,10 @@ +## GO + +Github: [@juniorleaoo](https://github.com/juniorleaoo) + +Repositório : [juniorleaoo/rinha-de-backend-2024-q1](https://github.com/juniorleaoo/rinha-de-backend-2024-q1) + +## Stack +- GO +- PostgreSQL +- pgx diff --git a/participantes/juniorleaoo-go/docker-compose.yml b/participantes/juniorleaoo-go/docker-compose.yml new file mode 100644 index 000000000..6a7398c05 --- /dev/null +++ b/participantes/juniorleaoo-go/docker-compose.yml @@ -0,0 +1,64 @@ +version: '3.5' + +services: + api1: &api + image: juniorleaoo/rinha-go:latest + hostname: api1 + platform: linux/amd64 + depends_on: + db: + condition: service_healthy + environment: + - DATABASE_URL=postgres://admin:123456@localhost:5432/app + - MAX_CONNECTION_POOL_SIZE=50 + - SERVER_PORT=3000 + network_mode: host + deploy: + resources: + limits: + cpus: '0.3' + memory: '50MB' + + api2: + <<: *api + hostname: api2 + environment: + - DATABASE_URL=postgres://admin:123456@localhost:5432/app + - MAX_CONNECTION_POOL_SIZE=50 + - SERVER_PORT=3001 + + nginx: + image: nginx:latest + volumes: + - ./nginx-host.conf:/etc/nginx/nginx.conf:ro + depends_on: + - api1 + - api2 + network_mode: host + deploy: + resources: + limits: + cpus: '0.2' + memory: '80MB' + + db: + image: postgres:16.2-alpine + command: 'postgres -c synchronous_commit=off -c max_connections=120 -c fsync=off -c full_page_writes=off' + environment: + - POSTGRES_DB=app + - POSTGRES_USER=admin + - POSTGRES_PASSWORD=123456 + network_mode: host + volumes: + - ./schema.sql:/docker-entrypoint-initdb.d/schema.sql + healthcheck: + test: [ "CMD-SHELL", "sh -c 'pg_isready -U admin -d app'" ] + interval: 5s + timeout: 5s + retries: 20 + start_period: 5s + deploy: + resources: + limits: + cpus: '0.7' + memory: '370MB' \ No newline at end of file diff --git a/participantes/juniorleaoo-go/nginx-host.conf b/participantes/juniorleaoo-go/nginx-host.conf new file mode 100644 index 000000000..0c442e15d --- /dev/null +++ b/participantes/juniorleaoo-go/nginx-host.conf @@ -0,0 +1,22 @@ +events { + worker_connections 1000; +} +http { + access_log off; + + upstream api { + server localhost:3000; + server localhost:3001; + } + server { + listen 9999; + location / { + proxy_buffering off; + proxy_set_header Connection ""; + proxy_http_version 1.1; + proxy_set_header Keep-Alive ""; + proxy_set_header Proxy-Connection "keep-alive"; + proxy_pass http://api; + } + } +} \ No newline at end of file diff --git a/participantes/juniorleaoo-go/schema.sql b/participantes/juniorleaoo-go/schema.sql new file mode 100644 index 000000000..bbc5e0dab --- /dev/null +++ b/participantes/juniorleaoo-go/schema.sql @@ -0,0 +1,62 @@ +SET statement_timeout = 0; +SET lock_timeout = 0; +SET idle_in_transaction_session_timeout = 0; +SET check_function_bodies = false; +SET row_security = off; +SET default_table_access_method = heap; + +CREATE UNLOGGED TABLE cliente ( + id SERIAL PRIMARY KEY, + saldo integer NOT NULL, + limite integer NOT NULL +); + +CREATE UNLOGGED TABLE transacao ( + id SERIAL PRIMARY KEY, + valor integer NOT NULL, + tipo varchar(1) NOT NULL, + descricao varchar(10) NOT NULL, + realizada_em timestamp NOT NULL DEFAULT (now()), + cliente_id integer NOT NULL +); + +CREATE INDEX idx_cliente_id ON transacao(cliente_id); +CREATE INDEX idx_realizada_em ON transacao(realizada_em); + +INSERT INTO cliente (id, limite, saldo) VALUES (1, 100000, 0); +INSERT INTO cliente (id, limite, saldo) VALUES (2, 80000, 0); +INSERT INTO cliente (id, limite, saldo) VALUES (3, 1000000, 0); +INSERT INTO cliente (id, limite, saldo) VALUES (4, 10000000, 0); +INSERT INTO cliente (id, limite, saldo) VALUES (5, 500000, 0); + +CREATE OR REPLACE FUNCTION criar_transacao(cliente_id integer, valor integer, descricao varchar(10), tipo varchar(1)) + RETURNS TABLE (saldoR integer, limiteR integer) AS $$ + + DECLARE saldoNovo integer; + clienteASerAtualizado cliente%rowtype; + clienteR cliente%rowtype; + +BEGIN + SELECT * FROM cliente INTO clienteASerAtualizado WHERE id = cliente_id FOR UPDATE; + + IF not found THEN + RAISE EXCEPTION 'cliente nao encontrado'; + END IF; + + IF tipo = 'd' THEN + IF clienteASerAtualizado.saldo + clienteASerAtualizado.limite >= valor THEN + saldoNovo := clienteASerAtualizado.saldo - valor; + ELSE + RAISE EXCEPTION 'nao possui limite'; + END IF; + ELSE + saldoNovo := clienteASerAtualizado.saldo + valor; + END IF; + + UPDATE cliente SET saldo = saldoNovo WHERE id = cliente_id RETURNING * INTO clienteR; + + INSERT INTO transacao (cliente_id, valor, tipo, descricao) VALUES (cliente_id, valor, tipo, descricao); + + RETURN QUERY SELECT clienteR.saldo, clienteR.limite; +END; +$$ LANGUAGE plpgsql; \ No newline at end of file diff --git a/participantes/leandroaa/docker-compose.yml b/participantes/leandroaa/docker-compose.yml index 640cbfe53..522d14593 100644 --- a/participantes/leandroaa/docker-compose.yml +++ b/participantes/leandroaa/docker-compose.yml @@ -14,7 +14,7 @@ services: resources: limits: cpus: "0.40" - memory: "150MB" + memory: "200MB" api02: <<: *api @@ -65,4 +65,4 @@ services: networks: default: driver: bridge - name: rinha-nginx-2024q1 \ No newline at end of file + name: rinha-nginx-2024q1 diff --git a/participantes/leonardo-meireles/docker-compose.logs b/participantes/leonardo-meireles/docker-compose.logs new file mode 100644 index 000000000..b4aacef57 --- /dev/null +++ b/participantes/leonardo-meireles/docker-compose.logs @@ -0,0 +1,10 @@ +#0 building with "default" instance using docker driver + +#1 [api01 internal] load build definition from Dockerfile +#1 transferring dockerfile: 2B done +#1 DONE 0.1s + +#2 [api02 internal] load build definition from Dockerfile +#2 transferring dockerfile: 2B done +#2 DONE 0.1s +failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory diff --git a/participantes/leonardo-meireles/testada b/participantes/leonardo-meireles/testada new file mode 100644 index 000000000..4dd20e5ba --- /dev/null +++ b/participantes/leonardo-meireles/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 01:58:54 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/luan-javalin/docker-compose.logs b/participantes/luan-javalin/docker-compose.logs new file mode 100644 index 000000000..e487b0c83 --- /dev/null +++ b/participantes/luan-javalin/docker-compose.logs @@ -0,0 +1,148 @@ + Network rinha-nginx-2024q1 Creating + Network rinha-nginx-2024q1 Created + Container luan-javalin-db-1 Creating + Container luan-javalin-db-1 Created + Container luan-javalin-api02-1 Creating + Container luan-javalin-api01-1 Creating + Container luan-javalin-api01-1 Created + Container luan-javalin-api02-1 Created + Container luan-javalin-nginx-1 Creating + Container luan-javalin-nginx-1 Created +Attaching to api01-1, api02-1, db-1, nginx-1 +db-1 | The files belonging to this database system will be owned by user "postgres". +db-1 | This user must also own the server process. +db-1 | +db-1 | The database cluster will be initialized with locale "en_US.utf8". +db-1 | The default database encoding has accordingly been set to "UTF8". +db-1 | The default text search configuration will be set to "english". +db-1 | +db-1 | Data page checksums are disabled. +db-1 | +db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +db-1 | creating subdirectories ... ok +db-1 | selecting dynamic shared memory implementation ... posix +db-1 | selecting default max_connections ... 100 +db-1 | selecting default shared_buffers ... 128MB +db-1 | selecting default time zone ... Etc/UTC +db-1 | creating configuration files ... ok +db-1 | running bootstrap script ... ok +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +db-1 | performing post-bootstrap initialization ... ok +db-1 | syncing data to disk ... ok +db-1 | +db-1 | +db-1 | Success. You can now start the database server using: +db-1 | +db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +db-1 | +db-1 | initdb: warning: enabling "trust" authentication for local connections +db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +db-1 | waiting for server to start....2024-03-11 01:59:11.212 UTC [48] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:59:11.222 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +api01-1 | [main] INFO io.javalin.Javalin - Starting Javalin ... +api01-1 | [main] INFO org.eclipse.jetty.server.Server - jetty-11.0.19; built: 2023-12-15T20:54:39.802Z; git: f781e475c8fa9e9c8ce18b1eaa03110d510f905f; jvm 21.0.2+13-jvmci-23.1-b30 +db-1 | 2024-03-11 01:59:11.232 UTC [51] LOG: database system was shut down at 2024-03-11 01:59:09 UTC +db-1 | 2024-03-11 01:59:11.238 UTC [48] LOG: database system is ready to accept connections +db-1 | done +db-1 | server started +db-1 | CREATE DATABASE +db-1 | +db-1 | +db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql +db-1 | psql:/docker-entrypoint-initdb.d/init.sql:1: NOTICE: table "saldos" does not exist, skipping +db-1 | DROP TABLE +db-1 | psql:/docker-entrypoint-initdb.d/init.sql:2: NOTICE: table "transacoes" does not exist, skipping +db-1 | psql:/docker-entrypoint-initdb.d/init.sql:3: NOTICE: table "clientes" does not exist, skipping +db-1 | DROP TABLE +db-1 | DROP TABLE +db-1 | CREATE TABLE +db-1 | CREATE TABLE +db-1 | CREATE TABLE +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | DO +db-1 | CREATE FUNCTION +db-1 | +db-1 | +db-1 | waiting for server to shut down...2024-03-11 01:59:11.487 UTC [48] LOG: received fast shutdown request +db-1 | .2024-03-11 01:59:11.490 UTC [48] LOG: aborting any active transactions +db-1 | 2024-03-11 01:59:11.492 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 +db-1 | 2024-03-11 01:59:11.493 UTC [49] LOG: shutting down +db-1 | 2024-03-11 01:59:11.514 UTC [49] LOG: checkpoint starting: shutdown immediate +api02-1 | [main] INFO io.javalin.Javalin - Starting Javalin ... +api02-1 | [main] INFO org.eclipse.jetty.server.Server - jetty-11.0.19; built: 2023-12-15T20:54:39.802Z; git: f781e475c8fa9e9c8ce18b1eaa03110d510f905f; jvm 21.0.2+13-jvmci-23.1-b30 +api01-1 | [main] INFO org.eclipse.jetty.server.session.DefaultSessionIdManager - Session workerName=node0 +api01-1 | [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@291ae{/,null,AVAILABLE} +api01-1 | [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@27d415d9{HTTP/1.1, (http/1.1)}{0.0.0.0:3000} +db-1 | 2024-03-11 01:59:12.039 UTC [49] LOG: checkpoint complete: wrote 948 buffers (5.8%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.381 s, sync=0.122 s, total=0.546 s; sync files=323, longest=0.058 s, average=0.001 s; distance=4316 kB, estimate=4316 kB; lsn=0/1921B50, redo lsn=0/1921B50 +db-1 | 2024-03-11 01:59:12.043 UTC [48] LOG: database system is shut down +db-1 | done +db-1 | server stopped +db-1 | +db-1 | PostgreSQL init process complete; ready for start up. +db-1 | +db-1 | 2024-03-11 01:59:12.112 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 01:59:12.112 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +db-1 | 2024-03-11 01:59:12.112 UTC [1] LOG: listening on IPv6 address "::", port 5432 +db-1 | 2024-03-11 01:59:12.117 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +api02-1 | [main] INFO org.eclipse.jetty.server.session.DefaultSessionIdManager - Session workerName=node0 +db-1 | 2024-03-11 01:59:12.125 UTC [66] LOG: database system was shut down at 2024-03-11 01:59:12 UTC +api01-1 | [main] INFO org.eclipse.jetty.server.Server - Started Server@1188e820{STARTING}[11.0.19,sto=0] @2832ms +api01-1 | [main] INFO io.javalin.Javalin - +api01-1 | __ ___ _____ +api01-1 | / /___ __ ______ _/ (_)___ / ___/ +api01-1 | __ / / __ `/ | / / __ `/ / / __ \ / __ \ +api01-1 | / /_/ / /_/ /| |/ / /_/ / / / / / / / /_/ / +api01-1 | \____/\__,_/ |___/\__,_/_/_/_/ /_/ \____/ +api01-1 | +api01-1 | https://javalin.io/documentation +api01-1 | +db-1 | 2024-03-11 01:59:12.136 UTC [1] LOG: database system is ready to accept connections +api01-1 | [main] INFO io.javalin.Javalin - Javalin started in 1808ms \o/ +api01-1 | [main] INFO io.javalin.Javalin - Listening on http://localhost:3000/ +api02-1 | [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@291ae{/,null,AVAILABLE} +api01-1 | [main] INFO io.javalin.Javalin - You are running Javalin 6.0.0 (released January 27, 2024). +api02-1 | [main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@27d415d9{HTTP/1.1, (http/1.1)}{0.0.0.0:3000} +api02-1 | [main] INFO org.eclipse.jetty.server.Server - Started Server@1188e820{STARTING}[11.0.19,sto=0] @3027ms +api02-1 | [main] INFO io.javalin.Javalin - +api02-1 | __ ___ _____ +api02-1 | / /___ __ ______ _/ (_)___ / ___/ +api02-1 | __ / / __ `/ | / / __ `/ / / __ \ / __ \ +api02-1 | / /_/ / /_/ /| |/ / /_/ / / / / / / / /_/ / +api02-1 | \____/\__,_/ |___/\__,_/_/_/_/ /_/ \____/ +api02-1 | +api02-1 | https://javalin.io/documentation +api02-1 | +api02-1 | [main] INFO io.javalin.Javalin - Javalin started in 1912ms \o/ +api02-1 | [main] INFO io.javalin.Javalin - Listening on http://localhost:3000/ +api02-1 | [main] INFO io.javalin.Javalin - You are running Javalin 6.0.0 (released January 27, 2024). +api01-1 | [Thread-1] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... +api01-1 | [Thread-1] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@450363e3 +api01-1 | [Thread-1] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. +api01-1 | [Thread-1] INFO org.cache2k.core.Cache2kCoreProviderImpl - cache2k starting. version=2.6.1.Final +api02-1 | [Thread-1] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting... +api02-1 | [Thread-1] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@1dcc4378 +api02-1 | [Thread-1] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed. +api02-1 | [Thread-1] INFO org.cache2k.core.Cache2kCoreProviderImpl - cache2k starting. version=2.6.1.Final +nginx-1 exited with code 0 +nginx-1 exited with code 0 +api01-1 exited with code 0 +api01-1 exited with code 143 +api02-1 exited with code 0 +api02-1 exited with code 143 +db-1 | 2024-03-11 02:03:34.383 UTC [1] LOG: received fast shutdown request +db-1 | 2024-03-11 02:03:34.387 UTC [1] LOG: aborting any active transactions +db-1 | 2024-03-11 02:03:34.389 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1 +db-1 | 2024-03-11 02:03:34.389 UTC [64] LOG: shutting down +db-1 | 2024-03-11 02:03:34.392 UTC [64] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 02:03:34.571 UTC [64] LOG: checkpoint complete: wrote 808 buffers (4.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.011 s, sync=0.129 s, total=0.182 s; sync files=34, longest=0.123 s, average=0.004 s; distance=2465 kB, estimate=2465 kB; lsn=0/1B8A200, redo lsn=0/1B8A200 +db-1 | 2024-03-11 02:03:34.575 UTC [1] LOG: database system is shut down +db-1 exited with code 0 diff --git a/participantes/luan-javalin/testada b/participantes/luan-javalin/testada new file mode 100644 index 000000000..97357cb26 --- /dev/null +++ b/participantes/luan-javalin/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:03:35 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/lucianovilela/docker-compose.logs b/participantes/lucianovilela/docker-compose.logs new file mode 100644 index 000000000..652f9696f --- /dev/null +++ b/participantes/lucianovilela/docker-compose.logs @@ -0,0 +1,113 @@ + Container lucianovilela-db-1 Creating + Container lucianovilela-db-1 Created + Container lucianovilela-api02-1 Creating + Container lucianovilela-api01-1 Creating + Container lucianovilela-api02-1 Created + Container lucianovilela-api01-1 Created + Container lucianovilela-nginx-1 Creating + Container lucianovilela-nginx-1 Created +Attaching to api01-1, api02-1, db-1, nginx-1 +db-1 | The files belonging to this database system will be owned by user "postgres". +db-1 | This user must also own the server process. +db-1 | +db-1 | The database cluster will be initialized with locale "en_US.utf8". +db-1 | The default database encoding has accordingly been set to "UTF8". +db-1 | The default text search configuration will be set to "english". +db-1 | +db-1 | Data page checksums are disabled. +db-1 | +db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +db-1 | creating subdirectories ... ok +db-1 | selecting dynamic shared memory implementation ... posix +db-1 | selecting default max_connections ... 100 +db-1 | selecting default shared_buffers ... 128MB +db-1 | selecting default time zone ... Etc/UTC +db-1 | creating configuration files ... ok +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +db-1 | running bootstrap script ... ok +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +api02-1 | Erro ao conectar com o banco de dados 2024-03-11T02:04:04.918Z +api01-1 | Erro ao conectar com o banco de dados 2024-03-11T02:04:04.926Z +api01-1 | Erro ao conectar com o banco de dados 2024-03-11T02:04:04.931Z +api02-1 | Erro ao conectar com o banco de dados 2024-03-11T02:04:04.948Z +db-1 | performing post-bootstrap initialization ... ok +db-1 | initdb: warning: enabling "trust" authentication for local connections +db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +db-1 | syncing data to disk ... ok +db-1 | +db-1 | +db-1 | Success. You can now start the database server using: +db-1 | +db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +db-1 | +db-1 | waiting for server to start.... done +db-1 | server started +db-1 | CREATE DATABASE +db-1 | +db-1 | +db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql +db-1 | CREATE TABLE +db-1 | CREATE TABLE +db-1 | CREATE INDEX +db-1 | CREATE TABLE +db-1 | DO +db-1 | +db-1 | +api02-1 | Erro ao conectar com o banco de dados 2024-03-11T02:04:06.923Z +api01-1 | Erro ao conectar com o banco de dados 2024-03-11T02:04:06.932Z +api01-1 | Erro ao conectar com o banco de dados 2024-03-11T02:04:06.934Z +api02-1 | Erro ao conectar com o banco de dados 2024-03-11T02:04:06.951Z +db-1 | waiting for server to shut down.... done +db-1 | server stopped +db-1 | +db-1 | PostgreSQL init process complete; ready for start up. +db-1 | +nginx-1 | 2024/03/11 02:04:08 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://127.0.0.1:9000/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:08 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://127.0.0.1:9001/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:08 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://127.0.0.1:9003/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:08 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://127.0.0.1:9004/clientes/1/extrato", host: "localhost:9999" +api02-1 | Conexão com o banco de dados estabelecida com sucesso +api01-1 | Conexão com o banco de dados estabelecida com sucesso +api02-1 | Servidor rodando na porta 9003 +api01-1 | Conexão com o banco de dados estabelecida com sucesso +api01-1 | Servidor rodando na porta 9000 +api01-1 | Servidor rodando na porta 9001 +api02-1 | Conexão com o banco de dados estabelecida com sucesso +api02-1 | Servidor rodando na porta 9004 +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *11 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *12 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *14 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *13 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *15 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *19 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *21 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *22 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *26 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *23 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *27 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *24 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *25 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *17 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *18 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:14 [error] 29#29: *20 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:16 [error] 29#29: *84 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:16 [error] 29#29: *85 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:16 [error] 29#29: *86 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:18 [error] 29#29: *150 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:18 [error] 29#29: *152 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:18 [error] 29#29: *150 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999" +nginx-1 | 2024/03/11 02:04:18 [error] 29#29: *152 no live upstreams while connecting to upstream, client: 127.0.0.1, server: , request: "POST /clientes/1/transacoes HTTP/1.1", upstream: "http://api/clientes/1/transacoes", host: "localhost:9999", referrer: "http://localhost:9999/clientes/1/transacoes" +nginx-1 exited with code 0 +nginx-1 exited with code 0 +api01-1 exited with code 0 +api01-1 exited with code 137 +api02-1 exited with code 0 +api02-1 exited with code 137 +db-1 exited with code 0 diff --git a/participantes/lucianovilela/testada b/participantes/lucianovilela/testada new file mode 100644 index 000000000..8746da2b1 --- /dev/null +++ b/participantes/lucianovilela/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:08:33 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/magusd/.gitignore b/participantes/magusd/.gitignore new file mode 100644 index 000000000..4e0da9965 --- /dev/null +++ b/participantes/magusd/.gitignore @@ -0,0 +1,5 @@ +docker/api +*.go +*.mod +*.sum + diff --git a/participantes/magusd/README.md b/participantes/magusd/README.md new file mode 100644 index 000000000..f5ff1a013 --- /dev/null +++ b/participantes/magusd/README.md @@ -0,0 +1,10 @@ +# rinha-2024-q1 + +- stack + - go + - nginx + +- author: + - [gh](https://github.com/magusd/) + - [in](https://www.linkedin.com/in/magusd/) + - [x](https://twitter.com/unclelobs) diff --git a/participantes/magusd/docker-compose.yaml b/participantes/magusd/docker-compose.yaml new file mode 100644 index 000000000..4780ef14f --- /dev/null +++ b/participantes/magusd/docker-compose.yaml @@ -0,0 +1,51 @@ +services: + + lb: + restart: unless-stopped + platform: linux/amd64 + image: nginx:latest + volumes: + - ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro + ports: + - "9999:80" + depends_on: + - api01 + - api02 + deploy: + resources: + limits: + cpus: "0.4" + memory: "50MB" + + api01: &api + restart: unless-stopped + platform: linux/amd64 + image: unclelobs/rinha-2024q1:latest + build: + context: . + dockerfile: ./docker/api/Dockerfile + deploy: + resources: + limits: + cpus: "0.3" + memory: "50MB" + depends_on: + - db + + api02: + <<: *api + + db: + platform: linux/amd64 + image: postgres:16-alpine + environment: + - POSTGRES_PASSWORD=rinha + volumes: + - ./docker/postgresql/script.sql:/docker-entrypoint-initdb.d/script.sql + ports: + - "5432:5432" + deploy: + resources: + limits: + cpus: "0.5" + memory: "400MB" \ No newline at end of file diff --git a/participantes/magusd/docker/nginx/nginx.conf b/participantes/magusd/docker/nginx/nginx.conf new file mode 100644 index 000000000..9a75bd063 --- /dev/null +++ b/participantes/magusd/docker/nginx/nginx.conf @@ -0,0 +1,30 @@ +worker_rlimit_nofile 2048; + +events { + worker_connections 2048; +} + +http { + access_log off; + + upstream api { + server api01:8080; + server api02:8080; + keepalive 500; + } + + server { + listen 80; + + access_log off; + + location / { + proxy_buffering off; + proxy_set_header Connection ""; + proxy_http_version 1.1; + proxy_set_header Keep-Alive ""; + proxy_set_header Proxy-Connection "keep-alive"; + proxy_pass http://api; + } + } +} \ No newline at end of file diff --git a/participantes/magusd/docker/postgresql/script.sql b/participantes/magusd/docker/postgresql/script.sql new file mode 100644 index 000000000..3b9d9ebc9 --- /dev/null +++ b/participantes/magusd/docker/postgresql/script.sql @@ -0,0 +1,29 @@ +DROP TABLE IF EXISTS accounts; +CREATE UNLOGGED TABLE accounts ( + id SERIAL PRIMARY KEY, + credit integer, + balance integer DEFAULT 0 +); +DROP TABLE IF EXISTS transactions; +CREATE UNLOGGED TABLE transactions ( + account_id integer, + amount integer, + op character(1), + description character(10), + created_at timestamp DEFAULT CURRENT_TIMESTAMP +); + +DROP INDEX IF EXISTS idx_account_id; +CREATE INDEX idx_account_id ON transactions(account_id); +--explain select * from transactions where account_id = 1 order by created_at, account_id desc; + + +INSERT INTO "accounts"("id","credit","balance") +VALUES +(1,100000,0), +(2, 80000,0), +(3,1000000,0), +(4,10000000,0), +(5,500000,0); + +select * from accounts; diff --git a/participantes/mateuxlucax-dart/docker-compose.logs b/participantes/mateuxlucax-dart/docker-compose.logs new file mode 100644 index 000000000..18acc3de8 --- /dev/null +++ b/participantes/mateuxlucax-dart/docker-compose.logs @@ -0,0 +1,83 @@ + Container rinha-db Creating + Container rinha-db Created + Container rinha-api01 Creating + Container rinha-api02 Creating + Container rinha-api02 Created + Container rinha-api01 Created + Container rinha-nginx Creating + Container rinha-nginx Created +Attaching to rinha-api01, rinha-api02, rinha-db, rinha-nginx +rinha-db | The files belonging to this database system will be owned by user "postgres". +rinha-db | This user must also own the server process. +rinha-db | +rinha-db | The database cluster will be initialized with locale "en_US.utf8". +rinha-db | The default database encoding has accordingly been set to "UTF8". +rinha-db | The default text search configuration will be set to "english". +rinha-db | +rinha-db | Data page checksums are disabled. +rinha-db | +rinha-db | fixing permissions on existing directory /var/lib/postgresql/data ... ok +rinha-db | creating subdirectories ... ok +rinha-db | selecting dynamic shared memory implementation ... posix +rinha-db | selecting default max_connections ... 100 +rinha-db | selecting default shared_buffers ... 128MB +rinha-db | selecting default time zone ... Etc/UTC +rinha-db | creating configuration files ... ok +rinha-db | running bootstrap script ... ok +rinha-db | performing post-bootstrap initialization ... ok +rinha-db | initdb: warning: enabling "trust" authentication for local connections +rinha-db | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +rinha-db | syncing data to disk ... ok +rinha-db | +rinha-db | +rinha-db | Success. You can now start the database server using: +rinha-db | +rinha-db | pg_ctl -D /var/lib/postgresql/data -l logfile start +rinha-db | +rinha-db | waiting for server to start.... done +rinha-db | server started +rinha-db | CREATE DATABASE +rinha-db | +rinha-db | +rinha-db | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | CREATE TABLE +rinha-db | CREATE INDEX +rinha-db | INSERT 0 5 +rinha-db | CREATE TABLE +rinha-db | CREATE INDEX +rinha-db | CREATE PROCEDURE +rinha-db | +rinha-db | +rinha-db | waiting for server to shut down.... done +rinha-db | server stopped +rinha-db | +rinha-db | PostgreSQL init process complete; ready for start up. +rinha-db | +rinha-api02 | server running on port 8081 - 12 database connections +rinha-api01 | server running on port 8080 - 12 database connections +rinha-nginx | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +rinha-nginx | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +rinha-nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +rinha-nginx | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +rinha-nginx | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +rinha-nginx | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +rinha-nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +rinha-nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +rinha-nginx | /docker-entrypoint.sh: Configuration complete; ready for start up +rinha-nginx exited with code 0 +rinha-nginx exited with code 0 +rinha-api02 exited with code 0 +rinha-api01 exited with code 0 +rinha-api01 exited with code 137 +rinha-db exited with code 0 diff --git a/participantes/mateuxlucax-dart/testada b/participantes/mateuxlucax-dart/testada new file mode 100644 index 000000000..1905a95cd --- /dev/null +++ b/participantes/mateuxlucax-dart/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:13:07 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/mateuxlucax-quarkus/docker-compose.logs b/participantes/mateuxlucax-quarkus/docker-compose.logs new file mode 100644 index 000000000..a5de2bcdd --- /dev/null +++ b/participantes/mateuxlucax-quarkus/docker-compose.logs @@ -0,0 +1,98 @@ + Container rinha-db Creating + Container rinha-db Created + Container rinha-api02 Creating + Container rinha-api01 Creating + Container rinha-api02 Created + Container rinha-api01 Created + Container rinha-nginx Creating + Container rinha-nginx Created +Attaching to rinha-api01, rinha-api02, rinha-db, rinha-nginx +rinha-db | The files belonging to this database system will be owned by user "postgres". +rinha-db | This user must also own the server process. +rinha-db | +rinha-db | The database cluster will be initialized with locale "en_US.utf8". +rinha-db | The default database encoding has accordingly been set to "UTF8". +rinha-db | The default text search configuration will be set to "english". +rinha-db | +rinha-db | Data page checksums are disabled. +rinha-db | +rinha-db | fixing permissions on existing directory /var/lib/postgresql/data ... ok +rinha-db | creating subdirectories ... ok +rinha-db | selecting dynamic shared memory implementation ... posix +rinha-db | selecting default max_connections ... 100 +rinha-db | selecting default shared_buffers ... 128MB +rinha-db | selecting default time zone ... Etc/UTC +rinha-db | creating configuration files ... ok +rinha-db | running bootstrap script ... ok +rinha-db | performing post-bootstrap initialization ... ok +rinha-db | syncing data to disk ... ok +rinha-db | +rinha-db | +rinha-db | Success. You can now start the database server using: +rinha-db | +rinha-db | pg_ctl -D /var/lib/postgresql/data -l logfile start +rinha-db | +rinha-db | initdb: warning: enabling "trust" authentication for local connections +rinha-db | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +rinha-db | waiting for server to start.... done +rinha-db | server started +rinha-db | CREATE DATABASE +rinha-db | +rinha-db | +rinha-db | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | SET +rinha-db | CREATE TABLE +rinha-db | CREATE INDEX +rinha-db | INSERT 0 5 +rinha-db | CREATE TABLE +rinha-db | CREATE INDEX +rinha-db | CREATE PROCEDURE +rinha-db | +rinha-db | +rinha-db | waiting for server to shut down.... done +rinha-db | server stopped +rinha-db | +rinha-db | PostgreSQL init process complete; ready for start up. +rinha-db | +rinha-api02 | __ ____ __ _____ ___ __ ____ ______ +rinha-api02 | --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ +rinha-api02 | -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ +rinha-api02 | --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ +rinha-api02 | 2024-03-11 02:13:20,424 INFO [io.quarkus] (main) rinha-de-backend-2024-q1-kotlin 1.0.0 native (powered by Quarkus 3.7.1) started in 0.080s. Listening on: http://0.0.0.0:8081 +rinha-api02 | 2024-03-11 02:13:20,424 INFO [io.quarkus] (main) Profile prod activated. +rinha-api02 | 2024-03-11 02:13:20,424 INFO [io.quarkus] (main) Installed features: [agroal, cdi, jdbc-postgresql, kotlin, narayana-jta, reactive-pg-client, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx] +rinha-api01 | __ ____ __ _____ ___ __ ____ ______ +rinha-api01 | --/ __ \/ / / / _ | / _ \/ //_/ / / / __/ +rinha-api01 | -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \ +rinha-api01 | --\___\_\____/_/ |_/_/|_/_/|_|\____/___/ +rinha-api01 | 2024-03-11 02:13:20,431 INFO [io.quarkus] (main) rinha-de-backend-2024-q1-kotlin 1.0.0 native (powered by Quarkus 3.7.1) started in 0.087s. Listening on: http://0.0.0.0:8080 +rinha-api01 | 2024-03-11 02:13:20,431 INFO [io.quarkus] (main) Profile prod activated. +rinha-api01 | 2024-03-11 02:13:20,431 INFO [io.quarkus] (main) Installed features: [agroal, cdi, jdbc-postgresql, kotlin, narayana-jta, reactive-pg-client, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, vertx] +rinha-nginx | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +rinha-nginx | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +rinha-nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +rinha-nginx | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +rinha-nginx | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +rinha-nginx | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +rinha-nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +rinha-nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +rinha-nginx | /docker-entrypoint.sh: Configuration complete; ready for start up +rinha-nginx exited with code 0 +rinha-nginx exited with code 0 +rinha-api02 | 2024-03-11 02:17:33,269 INFO [io.quarkus] (main) rinha-de-backend-2024-q1-kotlin stopped in 0.009s +rinha-api01 | 2024-03-11 02:17:33,284 INFO [io.quarkus] (main) rinha-de-backend-2024-q1-kotlin stopped in 0.009s +rinha-api02 exited with code 0 +rinha-api02 exited with code 143 +rinha-api01 exited with code 0 +rinha-api01 exited with code 143 +rinha-db exited with code 0 diff --git a/participantes/mateuxlucax-quarkus/testada b/participantes/mateuxlucax-quarkus/testada new file mode 100644 index 000000000..a54a1f3a1 --- /dev/null +++ b/participantes/mateuxlucax-quarkus/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:17:34 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/mauroue/docker-compose.logs b/participantes/mauroue/docker-compose.logs new file mode 100644 index 000000000..ab24c803e --- /dev/null +++ b/participantes/mauroue/docker-compose.logs @@ -0,0 +1,10 @@ +#0 building with "default" instance using docker driver + +#1 [api02 internal] load build definition from Dockerfile +#1 transferring dockerfile: 2B done +#1 DONE 0.1s + +#2 [api01 internal] load build definition from Dockerfile +#2 transferring dockerfile: 2B done +#2 DONE 0.1s +failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory diff --git a/participantes/mauroue/testada b/participantes/mauroue/testada new file mode 100644 index 000000000..1daa76dbc --- /dev/null +++ b/participantes/mauroue/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:18:38 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/nosilex/docker-compose.logs b/participantes/nosilex/docker-compose.logs new file mode 100644 index 000000000..a78e360a6 --- /dev/null +++ b/participantes/nosilex/docker-compose.logs @@ -0,0 +1,154 @@ + Network rinha-network Creating + Network rinha-network Created + Container rinha-db Creating + Container rinha-db Created + Container rinha-api2 Creating + Container rinha-api1 Creating + Container rinha-api2 Created + Container rinha-api1 Created + Container rinha-alb Creating + Container rinha-alb Created +Attaching to rinha-alb, rinha-api1, rinha-api2, rinha-db +rinha-db | 2024-03-10 23:18:51-03:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.3.2+maria~ubu2204 started. +rinha-db | 2024-03-10 23:18:51-03:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB +rinha-db | 2024-03-10 23:18:51-03:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' +rinha-db | 2024-03-10 23:18:52-03:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.3.2+maria~ubu2204 started. +rinha-db | 2024-03-10 23:18:52-03:00 [Note] [Entrypoint]: Initializing database files +rinha-db | 2024-03-10 23:18:52 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1 +rinha-db | 2024-03-10 23:18:52 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF +rinha-db | +rinha-db | +rinha-db | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! +rinha-db | To do so, start the server, then issue the following command: +rinha-db | +rinha-db | '/usr/bin/mariadb-secure-installation' +rinha-db | +rinha-db | which will also give you the option of removing the test +rinha-db | databases and anonymous user created by default. This is +rinha-db | strongly recommended for production servers. +rinha-db | +rinha-db | See the MariaDB Knowledgebase at https://mariadb.com/kb +rinha-db | +rinha-db | Please report any problems at https://mariadb.org/jira +rinha-db | +rinha-db | The latest information about MariaDB is available at https://mariadb.org/. +rinha-db | +rinha-db | Consider joining MariaDB's strong and vibrant community: +rinha-db | https://mariadb.org/get-involved/ +rinha-db | +rinha-db | 2024-03-10 23:18:55-03:00 [Note] [Entrypoint]: Database files initialized +rinha-db | 2024-03-10 23:18:55-03:00 [Note] [Entrypoint]: Starting temporary server +rinha-db | 2024-03-10 23:18:55-03:00 [Note] [Entrypoint]: Waiting for server startup +rinha-db | 2024-03-10 23:18:55 0 [Note] Starting MariaDB 11.3.2-MariaDB-1:11.3.2+maria~ubu2204 source revision 068a6819eb63bcb01fdfa037c9bf3bf63c33ee42 as process 93 +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: Using transactional memory +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: Number of transaction pools: 1 +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions +rinha-db | 2024-03-10 23:18:55 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) +rinha-db | 2024-03-10 23:18:55 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1 +rinha-db | 2024-03-10 23:18:55 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: Completed initialization of buffer pool +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: Buffered log writes (block size=4096 bytes) +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: End of log at LSN=47763 +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: Opened 3 undo tablespaces +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active. +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. +rinha-db | 2024-03-10 23:18:55 0 [Note] InnoDB: log sequence number 47763; transaction id 14 +rinha-db | 2024-03-10 23:18:55 0 [Note] Plugin 'FEEDBACK' is disabled. +rinha-db | 2024-03-10 23:18:55 0 [Note] Plugin 'wsrep-provider' is disabled. +rinha-db | 2024-03-10 23:18:55 0 [Warning] 'user' entry 'root@db' ignored in --skip-name-resolve mode. +rinha-db | 2024-03-10 23:18:55 0 [Warning] 'proxies_priv' entry '@% root@db' ignored in --skip-name-resolve mode. +rinha-db | 2024-03-10 23:18:55 0 [Note] mariadbd: Event Scheduler: Loaded 0 events +rinha-db | 2024-03-10 23:18:55 0 [Note] mariadbd: ready for connections. +rinha-db | Version: '11.3.2-MariaDB-1:11.3.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution +rinha-db | 2024-03-10 23:18:56-03:00 [Note] [Entrypoint]: Temporary server started. +rinha-db | 2024-03-10 23:18:58-03:00 [Note] [Entrypoint]: Creating database rinhabackend +rinha-db | 2024-03-10 23:18:58-03:00 [Note] [Entrypoint]: Creating user rinha +rinha-db | 2024-03-10 23:18:58-03:00 [Note] [Entrypoint]: Giving user rinha access to schema rinhabackend +rinha-db | 2024-03-10 23:18:58-03:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation) +rinha-db | +rinha-db | 2024-03-10 23:18:58-03:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/1.sql +rinha-db | +rinha-db | +rinha-db | 2024-03-10 23:18:58-03:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/2.sql +rinha-db | +rinha-db | +rinha-db | 2024-03-10 23:18:58-03:00 [Note] [Entrypoint]: Stopping temporary server +rinha-db | 2024-03-10 23:18:58 0 [Note] mariadbd (initiated by: unknown): Normal shutdown +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: FTS optimize thread exiting. +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Starting shutdown... +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Buffer pool(s) dump completed at 240310 23:18:58 +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Shutdown completed; log sequence number 65096; transaction id 36 +rinha-db | 2024-03-10 23:18:58 0 [Note] mariadbd: Shutdown complete +rinha-db | +rinha-db | 2024-03-10 23:18:58-03:00 [Note] [Entrypoint]: Temporary server stopped +rinha-db | +rinha-db | 2024-03-10 23:18:58-03:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up. +rinha-db | +rinha-db | 2024-03-10 23:18:58 0 [Note] Starting MariaDB 11.3.2-MariaDB-1:11.3.2+maria~ubu2204 source revision 068a6819eb63bcb01fdfa037c9bf3bf63c33ee42 as process 1 +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Using transactional memory +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Number of transaction pools: 1 +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions +rinha-db | 2024-03-10 23:18:58 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts) +rinha-db | 2024-03-10 23:18:58 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1 +rinha-db | 2024-03-10 23:18:58 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Completed initialization of buffer pool +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Buffered log writes (block size=4096 bytes) +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: End of log at LSN=65096 +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Opened 3 undo tablespaces +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active. +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: log sequence number 65096; transaction id 37 +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool +rinha-db | 2024-03-10 23:18:58 0 [Note] Plugin 'FEEDBACK' is disabled. +rinha-db | 2024-03-10 23:18:58 0 [Note] Plugin 'wsrep-provider' is disabled. +rinha-db | 2024-03-10 23:18:58 0 [Note] InnoDB: Buffer pool(s) load completed at 240310 23:18:58 +rinha-db | 2024-03-10 23:18:58 0 [Note] Server socket created on IP: '0.0.0.0'. +rinha-db | 2024-03-10 23:18:58 0 [Note] Server socket created on IP: '::'. +rinha-db | 2024-03-10 23:18:58 0 [Note] mariadbd: Event Scheduler: Loaded 0 events +rinha-db | 2024-03-10 23:18:58 0 [Note] mariadbd: ready for connections. +rinha-db | Version: '11.3.2-MariaDB-1:11.3.2+maria~ubu2204' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution +rinha-api1 | 2024/03/11 02:19:02 ⚡️Starting application... +rinha-api1 | 2024/03/11 02:19:02 Runing at: 0.0.0.0:8000 +rinha-api2 | 2024/03/11 02:19:02 ⚡️Starting application... +rinha-api2 | 2024/03/11 02:19:02 Runing at: 0.0.0.0:8000 +rinha-alb | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +rinha-alb | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +rinha-alb | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +rinha-alb | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +rinha-alb | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +rinha-alb | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +rinha-alb | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +rinha-alb | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +rinha-alb | /docker-entrypoint.sh: Configuration complete; ready for start up +rinha-alb exited with code 0 +rinha-alb exited with code 0 +rinha-api2 | 2024/03/11 02:23:16 shutting down server... +rinha-api2 | 2024/03/11 02:23:16 server exiting +rinha-api1 | 2024/03/11 02:23:16 shutting down server... +rinha-api1 | 2024/03/11 02:23:16 server exiting +rinha-db | 2024-03-10 23:23:16 9 [Warning] Aborted connection 9 to db: 'rinhabackend' user: 'rinha' host: '192.168.96.4' (Got an error reading communication packets) +rinha-db | 2024-03-10 23:23:16 23 [Warning] Aborted connection 23 to db: 'rinhabackend' user: 'rinha' host: '192.168.96.4' (Got an error reading communication packets) +rinha-db | 2024-03-10 23:23:16 48 [Warning] Aborted connection 48 to db: 'rinhabackend' user: 'rinha' host: '192.168.96.3' (Got an error reading communication packets) +rinha-db | 2024-03-10 23:23:16 10 [Warning] Aborted connection 10 to db: 'rinhabackend' user: 'rinha' host: '192.168.96.3' (Got an error reading communication packets) +rinha-api2 exited with code 0 +rinha-api2 exited with code 0 +rinha-api1 exited with code 0 +rinha-api1 exited with code 0 +rinha-db | 2024-03-10 23:23:17 0 [Note] mariadbd (initiated by: unknown): Normal shutdown +rinha-db | 2024-03-10 23:23:17 0 [Note] InnoDB: FTS optimize thread exiting. +rinha-db | 2024-03-10 23:23:17 0 [Note] InnoDB: Starting shutdown... +rinha-db | 2024-03-10 23:23:17 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool +rinha-db | 2024-03-10 23:23:17 0 [Note] InnoDB: Buffer pool(s) dump completed at 240310 23:23:17 +rinha-db | 2024-03-10 23:23:18 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" +rinha-db | 2024-03-10 23:23:18 0 [Note] InnoDB: Shutdown completed; log sequence number 21133544; transaction id 105414 +rinha-db | 2024-03-10 23:23:18 0 [Note] mariadbd: Shutdown complete +rinha-db | +rinha-db exited with code 0 diff --git a/participantes/nosilex/testada b/participantes/nosilex/testada new file mode 100644 index 000000000..0a69b2003 --- /dev/null +++ b/participantes/nosilex/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:23:19 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/ogabriel-golang/docker-compose.logs b/participantes/ogabriel-golang/docker-compose.logs new file mode 100644 index 000000000..a22b8d981 --- /dev/null +++ b/participantes/ogabriel-golang/docker-compose.logs @@ -0,0 +1,88 @@ + Container ogabriel-golang-postgres-1 Creating + Container ogabriel-golang-postgres-1 Created + Container ogabriel-golang-app1-1 Creating + Container ogabriel-golang-app1-1 Created + Container ogabriel-golang-app2-1 Creating + Container ogabriel-golang-app2-1 Created + Container ogabriel-golang-nginx-1 Creating + Container ogabriel-golang-nginx-1 Created +Attaching to app1-1, app2-1, nginx-1, postgres-1 +postgres-1 | The files belonging to this database system will be owned by user "postgres". +postgres-1 | This user must also own the server process. +postgres-1 | +postgres-1 | The database cluster will be initialized with locale "en_US.utf8". +postgres-1 | The default database encoding has accordingly been set to "UTF8". +postgres-1 | The default text search configuration will be set to "english". +postgres-1 | +postgres-1 | Data page checksums are disabled. +postgres-1 | +postgres-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +postgres-1 | creating subdirectories ... ok +postgres-1 | selecting dynamic shared memory implementation ... posix +postgres-1 | selecting default max_connections ... 100 +postgres-1 | selecting default shared_buffers ... 128MB +app1-1 | until nc -z -v -w30 127.0.0.1 5432; do \ +app1-1 | sleep 1; \ +app1-1 | done +postgres-1 | selecting default time zone ... UTC +postgres-1 | creating configuration files ... ok +app2-1 | until nc -z -v -w30 127.0.0.1 5432; do \ +app2-1 | sleep 1; \ +app2-1 | done +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +postgres-1 | running bootstrap script ... ok +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +postgres-1 | sh: locale: not found +postgres-1 | 2024-03-11 02:23:29.317 UTC [30] WARNING: no usable system locales were found +postgres-1 | performing post-bootstrap initialization ... ok +postgres-1 | initdb: warning: enabling "trust" authentication for local connections +postgres-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +postgres-1 | syncing data to disk ... ok +postgres-1 | +postgres-1 | +postgres-1 | Success. You can now start the database server using: +postgres-1 | +postgres-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +postgres-1 | +postgres-1 | waiting for server to start.... done +postgres-1 | server started +postgres-1 | +postgres-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* +postgres-1 | +postgres-1 | waiting for server to shut down.... done +postgres-1 | server stopped +postgres-1 | +postgres-1 | PostgreSQL init process complete; ready for start up. +postgres-1 | +app1-1 | 127.0.0.1 (127.0.0.1:5432) open +app1-1 | psql postgres://postgres:postgres@127.0.0.1:5432 -c "DROP DATABASE rinha" || exit 0 +app1-1 | psql: error: connection to server at "127.0.0.1", port 5432 failed: FATAL: the database system is starting up +app1-1 | psql postgres://postgres:postgres@127.0.0.1:5432 -c "CREATE DATABASE rinha" +app1-1 | CREATE DATABASE +app1-1 | migrate -path migrations/ -database postgres://postgres:postgres@127.0.0.1:5432/rinha?sslmode=disable -verbose up +app1-1 | 2024/03/11 02:23:30 Start buffering 1/u create_clientes +app1-1 | 2024/03/11 02:23:30 Start buffering 2/u create_transacoes +app1-1 | 2024/03/11 02:23:30 Start buffering 3/u populate_clientes +app1-1 | 2024/03/11 02:23:30 Read and execute 1/u create_clientes +app1-1 | 2024/03/11 02:23:30 Finished 1/u create_clientes (read 1.684829ms, ran 43.425248ms) +app1-1 | 2024/03/11 02:23:30 Read and execute 2/u create_transacoes +app1-1 | 2024/03/11 02:23:30 Finished 2/u create_transacoes (read 46.562837ms, ran 4.39106ms) +app1-1 | 2024/03/11 02:23:30 Read and execute 3/u populate_clientes +app2-1 | 127.0.0.1 (127.0.0.1:5432) open +app1-1 | 2024/03/11 02:23:30 Finished 3/u populate_clientes (read 52.239053ms, ran 2.286899ms) +app1-1 | 2024/03/11 02:23:30 Finished after 55.428457ms +app1-1 | 2024/03/11 02:23:30 Closing source and database +nginx-1 exited with code 0 +nginx-1 exited with code 0 +app2-1 exited with code 0 +app2-1 exited with code 2 +app1-1 exited with code 0 +app1-1 exited with code 2 +postgres-1 exited with code 0 diff --git a/participantes/ogabriel-golang/testada b/participantes/ogabriel-golang/testada new file mode 100644 index 000000000..cbc9559ba --- /dev/null +++ b/participantes/ogabriel-golang/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:27:46 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/rafaelpadovezi-django-orm/docker-compose.logs b/participantes/rafaelpadovezi-django-orm/docker-compose.logs new file mode 100644 index 000000000..1aaae3cb4 --- /dev/null +++ b/participantes/rafaelpadovezi-django-orm/docker-compose.logs @@ -0,0 +1,257 @@ + Network rafaelpadovezi-django-orm_default Creating + Network rafaelpadovezi-django-orm_default Created + Container rafaelpadovezi-django-orm-db-1 Creating + Container rafaelpadovezi-django-orm-db-1 Created + Container rafaelpadovezi-django-orm-api2-1 Creating + Container rafaelpadovezi-django-orm-api1-1 Creating + Container rafaelpadovezi-django-orm-api2-1 Created + Container rafaelpadovezi-django-orm-api1-1 Created + Container rafaelpadovezi-django-orm-nginx-1 Creating + Container rafaelpadovezi-django-orm-nginx-1 Created +Attaching to api1-1, api2-1, db-1, nginx-1 +db-1 | The files belonging to this database system will be owned by user "postgres". +db-1 | This user must also own the server process. +db-1 | +db-1 | The database cluster will be initialized with locale "en_US.utf8". +db-1 | The default database encoding has accordingly been set to "UTF8". +db-1 | The default text search configuration will be set to "english". +db-1 | +db-1 | Data page checksums are disabled. +db-1 | +db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +db-1 | creating subdirectories ... ok +db-1 | selecting dynamic shared memory implementation ... posix +db-1 | selecting default max_connections ... 100 +db-1 | selecting default shared_buffers ... 128MB +db-1 | selecting default time zone ... Etc/UTC +db-1 | creating configuration files ... ok +db-1 | running bootstrap script ... ok +db-1 | performing post-bootstrap initialization ... ok +db-1 | syncing data to disk ... ok +db-1 | +db-1 | +db-1 | Success. You can now start the database server using: +db-1 | +db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +db-1 | +db-1 | initdb: warning: enabling "trust" authentication for local connections +db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +db-1 | waiting for server to start....2024-03-11 02:27:56.187 GMT [48] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 02:27:56.189 GMT [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 02:27:56.201 GMT [51] LOG: database system was shut down at 2024-03-11 02:27:55 GMT +db-1 | 2024-03-11 02:27:56.227 GMT [48] LOG: database system is ready to accept connections +db-1 | done +db-1 | server started +db-1 | CREATE DATABASE +db-1 | +db-1 | +db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/rinha.dump.sql +db-1 | SET +db-1 | SET +db-1 | SET +db-1 | SET +db-1 | SET +db-1 | set_config +db-1 | ------------ +db-1 | +db-1 | (1 row) +db-1 | +db-1 | SET +db-1 | SET +db-1 | SET +db-1 | SET +db-1 | SET +db-1 | SET +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | CREATE TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | COPY 0 +db-1 | COPY 0 +db-1 | COPY 24 +db-1 | COPY 0 +db-1 | COPY 0 +db-1 | COPY 0 +db-1 | COPY 5 +db-1 | COPY 0 +db-1 | COPY 6 +db-1 | COPY 15 +db-1 | setval +db-1 | -------- +db-1 | 1 +db-1 | (1 row) +db-1 | +db-1 | setval +db-1 | -------- +db-1 | 1 +db-1 | (1 row) +db-1 | +db-1 | setval +db-1 | -------- +db-1 | 24 +db-1 | (1 row) +db-1 | +db-1 | setval +db-1 | -------- +db-1 | 1 +db-1 | (1 row) +db-1 | +db-1 | setval +db-1 | -------- +db-1 | 1 +db-1 | (1 row) +db-1 | +db-1 | setval +db-1 | -------- +db-1 | 1 +db-1 | (1 row) +db-1 | +db-1 | setval +db-1 | -------- +db-1 | 1 +db-1 | (1 row) +db-1 | +db-1 | setval +db-1 | -------- +db-1 | 1 +db-1 | (1 row) +db-1 | +db-1 | setval +db-1 | -------- +db-1 | 6 +db-1 | (1 row) +db-1 | +db-1 | setval +db-1 | -------- +db-1 | 15 +db-1 | (1 row) +db-1 | +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | CREATE INDEX +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | ALTER TABLE +db-1 | +db-1 | +db-1 | waiting for server to shut down...2024-03-11 02:27:56.946 GMT [48] LOG: received fast shutdown request +db-1 | .2024-03-11 02:27:56.948 GMT [48] LOG: aborting any active transactions +db-1 | 2024-03-11 02:27:56.950 GMT [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 +db-1 | 2024-03-11 02:27:56.951 GMT [49] LOG: shutting down +db-1 | 2024-03-11 02:27:56.953 GMT [49] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 02:27:57.520 GMT [49] LOG: checkpoint complete: wrote 959 buffers (5.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.291 s, sync=0.243 s, total=0.570 s; sync files=352, longest=0.208 s, average=0.001 s; distance=4495 kB, estimate=4495 kB; lsn=0/194E6D0, redo lsn=0/194E6D0 +db-1 | 2024-03-11 02:27:57.527 GMT [48] LOG: database system is shut down +db-1 | done +db-1 | server stopped +db-1 | +db-1 | PostgreSQL init process complete; ready for start up. +db-1 | +db-1 | 2024-03-11 02:27:57.571 GMT [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 02:27:57.571 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +db-1 | 2024-03-11 02:27:57.571 GMT [1] LOG: listening on IPv6 address "::", port 5432 +db-1 | 2024-03-11 02:27:57.577 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 02:27:57.584 GMT [73] LOG: database system was shut down at 2024-03-11 02:27:57 GMT +db-1 | 2024-03-11 02:27:57.591 GMT [1] LOG: database system is ready to accept connections +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +nginx-1 | 2024/03/11 02:27:59 [error] 30#30: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.112.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.112.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:27:59 [error] 30#30: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.112.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.112.3:8080/clientes/1/extrato", host: "localhost:9999" +api1-1 | [2024-03-11 02:28:00 +0000] [1] [INFO] Starting gunicorn 21.2.0 +api1-1 | [2024-03-11 02:28:00 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1) +api1-1 | [2024-03-11 02:28:00 +0000] [1] [INFO] Using worker: sync +api1-1 | [2024-03-11 02:28:00 +0000] [8] [INFO] Booting worker with pid: 8 +api2-1 | [2024-03-11 02:28:00 +0000] [1] [INFO] Starting gunicorn 21.2.0 +api2-1 | [2024-03-11 02:28:00 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1) +api2-1 | [2024-03-11 02:28:00 +0000] [1] [INFO] Using worker: sync +api2-1 | [2024-03-11 02:28:00 +0000] [8] [INFO] Booting worker with pid: 8 +api2-1 | [2024-03-11 02:28:00 +0000] [9] [INFO] Booting worker with pid: 9 +api1-1 | [2024-03-11 02:28:00 +0000] [9] [INFO] Booting worker with pid: 9 +nginx-1 | 2024/03/11 02:28:01 [error] 30#30: *4 no live upstreams while connecting to upstream, client: 192.168.112.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:28:03 [error] 30#30: *5 no live upstreams while connecting to upstream, client: 192.168.112.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:28:05 [error] 30#30: *6 no live upstreams while connecting to upstream, client: 192.168.112.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:28:07 [error] 30#30: *7 no live upstreams while connecting to upstream, client: 192.168.112.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:28:09 [error] 30#30: *8 no live upstreams while connecting to upstream, client: 192.168.112.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 exited with code 0 +nginx-1 exited with code 0 +api2-1 | [2024-03-11 02:32:24 +0000] [1] [INFO] Handling signal: term +api1-1 | [2024-03-11 02:32:24 +0000] [1] [INFO] Handling signal: term +api2-1 | [2024-03-11 02:32:24 +0000] [8] [INFO] Worker exiting (pid: 8) +api1-1 | [2024-03-11 02:32:24 +0000] [9] [INFO] Worker exiting (pid: 9) +api1-1 | [2024-03-11 02:32:24 +0000] [8] [INFO] Worker exiting (pid: 8) +api2-1 | [2024-03-11 02:32:24 +0000] [9] [INFO] Worker exiting (pid: 9) +api1-1 | [2024-03-11 02:32:24 +0000] [1] [INFO] Shutting down: Master +api2-1 | [2024-03-11 02:32:24 +0000] [1] [INFO] Shutting down: Master +api1-1 exited with code 0 +api1-1 exited with code 0 +api2-1 exited with code 0 +api2-1 exited with code 0 +db-1 | 2024-03-11 02:32:25.929 GMT [1] LOG: received fast shutdown request +db-1 | 2024-03-11 02:32:25.933 GMT [1] LOG: aborting any active transactions +db-1 | 2024-03-11 02:32:25.936 GMT [1] LOG: background worker "logical replication launcher" (PID 76) exited with exit code 1 +db-1 | 2024-03-11 02:32:25.936 GMT [71] LOG: shutting down +db-1 | 2024-03-11 02:32:25.939 GMT [71] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 02:32:26.090 GMT [71] LOG: checkpoint complete: wrote 660 buffers (4.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.009 s, sync=0.120 s, total=0.155 s; sync files=29, longest=0.063 s, average=0.005 s; distance=19713 kB, estimate=19713 kB; lsn=0/2C8EC60, redo lsn=0/2C8EC60 +db-1 | 2024-03-11 02:32:26.095 GMT [1] LOG: database system is shut down +db-1 exited with code 0 diff --git a/participantes/rafaelpadovezi-django-orm/testada b/participantes/rafaelpadovezi-django-orm/testada new file mode 100644 index 000000000..5300e233e --- /dev/null +++ b/participantes/rafaelpadovezi-django-orm/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:32:27 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/rafaumlemos/docker-compose.logs b/participantes/rafaumlemos/docker-compose.logs new file mode 100644 index 000000000..8f259a16f --- /dev/null +++ b/participantes/rafaumlemos/docker-compose.logs @@ -0,0 +1,162 @@ + Network rafaumlemos_default Creating + Network rafaumlemos_default Created + Container rafaumlemos-postgres-1 Creating + Container rafaumlemos-postgres-1 Created + Container rafaumlemos-app1-1 Creating + Container rafaumlemos-app2-1 Creating + Container rafaumlemos-app2-1 Created + Container rafaumlemos-app1-1 Created + Container rafaumlemos-nginx-1 Creating + Container rafaumlemos-nginx-1 Created +Attaching to app1-1, app2-1, nginx-1, postgres-1 +postgres-1 | The files belonging to this database system will be owned by user "postgres". +postgres-1 | This user must also own the server process. +postgres-1 | +postgres-1 | The database cluster will be initialized with locale "en_US.utf8". +postgres-1 | The default database encoding has accordingly been set to "UTF8". +postgres-1 | The default text search configuration will be set to "english". +postgres-1 | +postgres-1 | Data page checksums are disabled. +postgres-1 | +postgres-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +postgres-1 | creating subdirectories ... ok +postgres-1 | selecting dynamic shared memory implementation ... posix +postgres-1 | selecting default max_connections ... 100 +postgres-1 | selecting default shared_buffers ... 128MB +postgres-1 | selecting default time zone ... Etc/UTC +postgres-1 | creating configuration files ... ok +postgres-1 | running bootstrap script ... ok +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +app1-1 | Server is running on port 3000 +app2-1 | Server is running on port 3000 +postgres-1 | performing post-bootstrap initialization ... ok +postgres-1 | syncing data to disk ... ok +postgres-1 | +postgres-1 | +postgres-1 | Success. You can now start the database server using: +postgres-1 | +postgres-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +postgres-1 | +postgres-1 | initdb: warning: enabling "trust" authentication for local connections +postgres-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +postgres-1 | waiting for server to start....2024-03-11 02:32:37.733 UTC [49] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +postgres-1 | 2024-03-11 02:32:37.735 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +postgres-1 | 2024-03-11 02:32:37.743 UTC [52] LOG: database system was shut down at 2024-03-11 02:32:37 UTC +postgres-1 | 2024-03-11 02:32:37.755 UTC [49] LOG: database system is ready to accept connections +postgres-1 | done +postgres-1 | server started +postgres-1 | +postgres-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* +postgres-1 | +postgres-1 | waiting for server to shut down....2024-03-11 02:32:37.843 UTC [49] LOG: received fast shutdown request +postgres-1 | 2024-03-11 02:32:37.847 UTC [49] LOG: aborting any active transactions +postgres-1 | 2024-03-11 02:32:37.848 UTC [49] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1 +postgres-1 | 2024-03-11 02:32:37.848 UTC [50] LOG: shutting down +postgres-1 | 2024-03-11 02:32:37.851 UTC [50] LOG: checkpoint starting: shutdown immediate +postgres-1 | 2024-03-11 02:32:37.873 UTC [50] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.007 s, sync=0.003 s, total=0.026 s; sync files=2, longest=0.002 s, average=0.002 s; distance=0 kB, estimate=0 kB; lsn=0/14EAAA8, redo lsn=0/14EAAA8 +postgres-1 | 2024-03-11 02:32:37.877 UTC [49] LOG: database system is shut down +postgres-1 | done +postgres-1 | server stopped +postgres-1 | +postgres-1 | PostgreSQL init process complete; ready for start up. +postgres-1 | +postgres-1 | 2024-03-11 02:32:37.968 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +postgres-1 | 2024-03-11 02:32:37.968 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +postgres-1 | 2024-03-11 02:32:37.968 UTC [1] LOG: listening on IPv6 address "::", port 5432 +postgres-1 | 2024-03-11 02:32:37.973 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +postgres-1 | 2024-03-11 02:32:37.980 UTC [63] LOG: database system was shut down at 2024-03-11 02:32:37 UTC +postgres-1 | 2024-03-11 02:32:37.985 UTC [1] LOG: database system is ready to accept connections +app1-1 | failed to connect Error: connect ECONNREFUSED 192.168.128.2:5432 +app2-1 | failed to connect Error: connect ECONNREFUSED 192.168.128.2:5432 +app1-1 | connected to database +app2-1 | connected to database +postgres-1 | 2024-03-11 02:32:40.071 UTC [70] ERROR: duplicate key value violates unique constraint "pg_type_typname_nsp_index" +postgres-1 | 2024-03-11 02:32:40.071 UTC [70] DETAIL: Key (typname, typnamespace)=(clientes, 2200) already exists. +postgres-1 | 2024-03-11 02:32:40.071 UTC [70] STATEMENT: +postgres-1 | CREATE UNLOGGED TABLE clientes ( +postgres-1 | id INTEGER PRIMARY KEY NOT NULL, +postgres-1 | saldo INTEGER NOT NULL, +postgres-1 | limite INTEGER NOT NULL +postgres-1 | ); +postgres-1 | +postgres-1 | CREATE UNLOGGED TABLE transacoes ( +postgres-1 | id SERIAL PRIMARY KEY, +postgres-1 | cliente_id INTEGER NOT NULL, +postgres-1 | valor INTEGER NOT NULL, +postgres-1 | descricao VARCHAR(10) NOT NULL, +postgres-1 | realizada_em TIMESTAMP NOT NULL DEFAULT NOW() +postgres-1 | ); +postgres-1 | +postgres-1 | CREATE INDEX idx_transacoes_cliente_id ON transacoes +postgres-1 | ( +postgres-1 | cliente_id ASC +postgres-1 | ); +postgres-1 | +postgres-1 | INSERT INTO clientes (id, saldo, limite) VALUES (1, 0, 100000); +postgres-1 | INSERT INTO clientes (id, saldo, limite) VALUES (2, 0, 80000); +postgres-1 | INSERT INTO clientes (id, saldo, limite) VALUES (3, 0, 1000000); +postgres-1 | INSERT INTO clientes (id, saldo, limite) VALUES (4, 0, 10000000); +postgres-1 | INSERT INTO clientes (id, saldo, limite) VALUES (5, 0, 500000); +postgres-1 | +app2-1 | /node_modules/.pnpm/pg-pool@3.6.1_pg@8.11.3/node_modules/pg-pool/index.js:45 +app2-1 | Error.captureStackTrace(err); +app2-1 | ^ +app2-1 | +app2-1 | error: duplicate key value violates unique constraint "pg_type_typname_nsp_index" +app2-1 | at /node_modules/.pnpm/pg-pool@3.6.1_pg@8.11.3/node_modules/pg-pool/index.js:45:11 +app2-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { +app2-1 | length: 248, +app2-1 | severity: 'ERROR', +app2-1 | code: '23505', +app2-1 | detail: 'Key (typname, typnamespace)=(clientes, 2200) already exists.', +app2-1 | hint: undefined, +app2-1 | position: undefined, +app2-1 | internalPosition: undefined, +app2-1 | internalQuery: undefined, +app2-1 | where: undefined, +app2-1 | schema: 'pg_catalog', +app2-1 | table: 'pg_type', +app2-1 | column: undefined, +app2-1 | dataType: undefined, +app2-1 | constraint: 'pg_type_typname_nsp_index', +app2-1 | file: 'nbtinsert.c', +app2-1 | line: '666', +app2-1 | routine: '_bt_check_unique' +app2-1 | } +app2-1 | +app2-1 | Node.js v20.11.1 +postgres-1 | 2024-03-11 02:32:41.067 UTC [78] FATAL: role "root" does not exist +app2-1 exited with code 0 +app2-1 | Server is running on port 3000 +app2-1 | connected to database +postgres-1 | 2024-03-11 02:32:46.142 UTC [88] FATAL: role "root" does not exist +postgres-1 | 2024-03-11 02:32:51.213 UTC [96] FATAL: role "root" does not exist +postgres-1 | 2024-03-11 02:32:56.285 UTC [104] FATAL: role "root" does not exist +postgres-1 | 2024-03-11 02:33:01.365 UTC [112] FATAL: role "root" does not exist +postgres-1 | 2024-03-11 02:33:06.441 UTC [120] FATAL: role "root" does not exist +postgres-1 | 2024-03-11 02:33:11.517 UTC [129] FATAL: role "root" does not exist +postgres-1 | 2024-03-11 02:33:16.589 UTC [137] FATAL: role "root" does not exist +nginx-1 exited with code 0 +nginx-1 exited with code 0 +postgres-1 | 2024-03-11 02:33:21.670 UTC [145] FATAL: role "root" does not exist +postgres-1 | 2024-03-11 02:33:26.737 UTC [153] FATAL: role "root" does not exist +app1-1 exited with code 0 +app1-1 exited with code 137 +app2-1 exited with code 0 +app2-1 exited with code 137 +postgres-1 | 2024-03-11 02:33:31.543 UTC [1] LOG: received fast shutdown request +postgres-1 | 2024-03-11 02:33:31.546 UTC [1] LOG: aborting any active transactions +postgres-1 | 2024-03-11 02:33:31.548 UTC [1] LOG: background worker "logical replication launcher" (PID 66) exited with exit code 1 +postgres-1 | 2024-03-11 02:33:31.548 UTC [61] LOG: shutting down +postgres-1 | 2024-03-11 02:33:31.550 UTC [61] LOG: checkpoint starting: shutdown immediate +postgres-1 | 2024-03-11 02:33:31.674 UTC [61] LOG: checkpoint complete: wrote 99 buffers (0.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.012 s, sync=0.098 s, total=0.127 s; sync files=60, longest=0.090 s, average=0.002 s; distance=423 kB, estimate=423 kB; lsn=0/15547F8, redo lsn=0/15547F8 +postgres-1 | 2024-03-11 02:33:31.678 UTC [1] LOG: database system is shut down +postgres-1 exited with code 0 diff --git a/participantes/rafaumlemos/testada b/participantes/rafaumlemos/testada new file mode 100644 index 000000000..1ea497e23 --- /dev/null +++ b/participantes/rafaumlemos/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:33:32 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/raphael_milani/docker-compose.logs b/participantes/raphael_milani/docker-compose.logs new file mode 100644 index 000000000..b4aacef57 --- /dev/null +++ b/participantes/raphael_milani/docker-compose.logs @@ -0,0 +1,10 @@ +#0 building with "default" instance using docker driver + +#1 [api01 internal] load build definition from Dockerfile +#1 transferring dockerfile: 2B done +#1 DONE 0.1s + +#2 [api02 internal] load build definition from Dockerfile +#2 transferring dockerfile: 2B done +#2 DONE 0.1s +failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory diff --git a/participantes/raphael_milani/testada b/participantes/raphael_milani/testada new file mode 100644 index 000000000..d462a04f6 --- /dev/null +++ b/participantes/raphael_milani/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:34:30 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/rust-cassiogangrel/docker-compose.logs b/participantes/rust-cassiogangrel/docker-compose.logs new file mode 100644 index 000000000..c11fa2379 --- /dev/null +++ b/participantes/rust-cassiogangrel/docker-compose.logs @@ -0,0 +1,500 @@ + Network rinha Creating + Network rinha Created + Container rust-cassiogangrel-postgres-1 Creating + Container rust-cassiogangrel-postgres-1 Created + Container rust-cassiogangrel-api01-1 Creating + Container rust-cassiogangrel-api01-1 Created + Container rust-cassiogangrel-api02-1 Creating + Container rust-cassiogangrel-api02-1 Created + Container rust-cassiogangrel-nginx-1 Creating + Container rust-cassiogangrel-nginx-1 Created +Attaching to api01-1, api02-1, nginx-1, postgres-1 +postgres-1 | The files belonging to this database system will be owned by user "postgres". +postgres-1 | This user must also own the server process. +postgres-1 | +postgres-1 | The database cluster will be initialized with locale "en_US.utf8". +postgres-1 | The default database encoding has accordingly been set to "UTF8". +postgres-1 | The default text search configuration will be set to "english". +postgres-1 | +postgres-1 | Data page checksums are disabled. +postgres-1 | +postgres-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +postgres-1 | creating subdirectories ... ok +postgres-1 | selecting dynamic shared memory implementation ... posix +postgres-1 | selecting default max_connections ... 100 +postgres-1 | selecting default shared_buffers ... 128MB +postgres-1 | selecting default time zone ... Etc/UTC +postgres-1 | creating configuration files ... ok +postgres-1 | running bootstrap script ... ok +postgres-1 | performing post-bootstrap initialization ... ok +postgres-1 | syncing data to disk ... ok +postgres-1 | +postgres-1 | +postgres-1 | Success. You can now start the database server using: +postgres-1 | +postgres-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +postgres-1 | +postgres-1 | initdb: warning: enabling "trust" authentication for local connections +postgres-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +postgres-1 | waiting for server to start....2024-03-11 02:34:47.114 UTC [49] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +postgres-1 | 2024-03-11 02:34:47.116 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +postgres-1 | 2024-03-11 02:34:47.127 UTC [52] LOG: database system was shut down at 2024-03-11 02:34:45 UTC +postgres-1 | 2024-03-11 02:34:47.133 UTC [49] LOG: database system is ready to accept connections +postgres-1 | done +postgres-1 | server started +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +postgres-1 | CREATE DATABASE +postgres-1 | +postgres-1 | +postgres-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* +postgres-1 | +postgres-1 | waiting for server to shut down...2024-03-11 02:34:47.289 UTC [49] LOG: received fast shutdown request +postgres-1 | .2024-03-11 02:34:47.292 UTC [49] LOG: aborting any active transactions +postgres-1 | 2024-03-11 02:34:47.294 UTC [49] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1 +postgres-1 | 2024-03-11 02:34:47.294 UTC [50] LOG: shutting down +postgres-1 | 2024-03-11 02:34:47.297 UTC [50] LOG: checkpoint starting: shutdown immediate +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +postgres-1 | 2024-03-11 02:34:47.803 UTC [50] LOG: checkpoint complete: wrote 923 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.313 s, sync=0.181 s, total=0.509 s; sync files=301, longest=0.152 s, average=0.001 s; distance=4257 kB, estimate=4257 kB; lsn=0/1913068, redo lsn=0/1913068 +postgres-1 | 2024-03-11 02:34:47.808 UTC [49] LOG: database system is shut down +postgres-1 | done +postgres-1 | server stopped +postgres-1 | +postgres-1 | PostgreSQL init process complete; ready for start up. +postgres-1 | +postgres-1 | 2024-03-11 02:34:47.913 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +postgres-1 | 2024-03-11 02:34:47.913 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +postgres-1 | 2024-03-11 02:34:47.913 UTC [1] LOG: listening on IPv6 address "::", port 5432 +postgres-1 | 2024-03-11 02:34:47.922 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +postgres-1 | 2024-03-11 02:34:47.930 UTC [65] LOG: database system was shut down at 2024-03-11 02:34:47 UTC +postgres-1 | 2024-03-11 02:34:47.936 UTC [1] LOG: database system is ready to accept connections +nginx-1 | 2024/03/11 02:34:48 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.144.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.144.3:3000/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:34:48 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.144.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.144.4:3000/clientes/1/extrato", host: "localhost:9999" +api02-1 | Inciando servidor na porta: 3000 +api01-1 | Inciando servidor na porta: 3000 +nginx-1 | 2024/03/11 02:34:50 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 192.168.144.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:34:52 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 192.168.144.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:34:54 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 192.168.144.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:34:56 [error] 29#29: *9 no live upstreams while connecting to upstream, client: 192.168.144.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:34:58 [error] 29#29: *10 no live upstreams while connecting to upstream, client: 192.168.144.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +postgres-1 | 2024-03-11 02:35:21.121 UTC [97] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:21.121 UTC [97] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:21.121 UTC [97] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:21.371 UTC [121] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:21.371 UTC [121] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:21.371 UTC [121] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:21.471 UTC [117] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:21.471 UTC [117] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:21.471 UTC [117] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:21.520 UTC [80] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:21.520 UTC [80] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:21.520 UTC [80] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:21.565 UTC [116] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:21.565 UTC [116] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:21.565 UTC [116] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:21.930 UTC [69] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:21.930 UTC [69] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:21.930 UTC [69] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:22.430 UTC [96] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:22.430 UTC [96] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:22.430 UTC [96] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:22.811 UTC [131] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:22.811 UTC [131] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:22.811 UTC [131] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:23.061 UTC [148] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:23.061 UTC [148] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:23.061 UTC [148] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:23.229 UTC [112] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:23.229 UTC [112] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:23.229 UTC [112] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:23.354 UTC [138] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:23.354 UTC [138] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:23.354 UTC [138] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:23.437 UTC [114] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:23.437 UTC [114] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:23.437 UTC [114] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:23.478 UTC [109] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:23.478 UTC [109] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:23.478 UTC [109] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:23.560 UTC [75] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:23.560 UTC [75] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:23.560 UTC [75] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:23.641 UTC [124] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:23.641 UTC [124] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:23.641 UTC [124] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:24.401 UTC [86] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:24.401 UTC [86] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:24.401 UTC [86] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:25.055 UTC [139] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:25.055 UTC [139] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:25.055 UTC [139] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:25.234 UTC [111] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:25.234 UTC [111] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:25.234 UTC [111] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:25.306 UTC [95] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:25.306 UTC [95] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:25.306 UTC [95] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:25.377 UTC [138] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:25.377 UTC [138] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:25.377 UTC [138] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:25.692 UTC [127] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:25.692 UTC [127] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:25.692 UTC [127] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:25.794 UTC [91] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:25.794 UTC [91] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:25.794 UTC [91] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:27.132 UTC [138] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:27.132 UTC [138] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:27.132 UTC [138] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:27.261 UTC [137] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:27.261 UTC [137] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:27.261 UTC [137] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:27.358 UTC [99] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:27.358 UTC [99] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:27.358 UTC [99] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:27.823 UTC [94] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:27.823 UTC [94] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:27.823 UTC [94] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:27.974 UTC [96] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:27.974 UTC [96] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:27.974 UTC [96] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:28.035 UTC [122] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:28.035 UTC [122] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:28.035 UTC [122] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:28.065 UTC [137] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:28.065 UTC [137] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:28.065 UTC [137] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:28.156 UTC [125] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:28.156 UTC [125] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:28.156 UTC [125] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:28.459 UTC [131] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:28.459 UTC [131] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:28.459 UTC [131] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:29.291 UTC [139] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:29.291 UTC [139] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:29.291 UTC [139] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:29.348 UTC [93] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:29.348 UTC [93] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:29.348 UTC [93] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:29.377 UTC [140] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:29.377 UTC [140] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:29.377 UTC [140] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:29.462 UTC [105] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:29.462 UTC [105] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:29.462 UTC [105] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:29.789 UTC [121] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:29.789 UTC [121] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:29.789 UTC [121] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:30.113 UTC [78] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:30.113 UTC [78] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:30.113 UTC [78] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:30.140 UTC [110] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:30.140 UTC [110] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:30.140 UTC [110] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:30.194 UTC [146] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:30.194 UTC [146] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:30.194 UTC [146] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:30.624 UTC [118] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:30.624 UTC [118] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:30.624 UTC [118] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:30.650 UTC [90] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:30.650 UTC [90] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:30.650 UTC [90] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:30.729 UTC [135] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:30.729 UTC [135] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:30.729 UTC [135] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:30.834 UTC [140] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:30.834 UTC [140] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:30.834 UTC [140] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:30.887 UTC [96] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:30.887 UTC [96] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:30.887 UTC [96] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:31.669 UTC [100] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:31.669 UTC [100] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:31.669 UTC [100] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:31.919 UTC [143] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:31.919 UTC [143] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:31.919 UTC [143] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:32.094 UTC [133] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:32.094 UTC [133] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:32.094 UTC [133] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:32.144 UTC [78] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:32.144 UTC [78] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:32.144 UTC [78] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:32.294 UTC [75] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:32.294 UTC [75] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:32.294 UTC [75] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:32.319 UTC [87] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:32.319 UTC [87] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:32.319 UTC [87] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:32.639 UTC [129] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:32.639 UTC [129] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:32.639 UTC [129] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) +postgres-1 | +postgres-1 | 2024-03-11 02:35:33.305 UTC [131] ERROR: saldo insuficiente para esta transação! +postgres-1 | 2024-03-11 02:35:33.305 UTC [131] CONTEXT: PL/pgSQL function update_balances() line 7 at RAISE +postgres-1 | 2024-03-11 02:35:33.305 UTC [131] STATEMENT: +postgres-1 | INSERT INTO transactions +postgres-1 | (customer_id, value, type, description) +postgres-1 | VALUES +postgres-1 | ($1, $2, $3, $4) diff --git a/participantes/rust-cassiogangrel/testada b/participantes/rust-cassiogangrel/testada new file mode 100644 index 000000000..6b3a3a9ee --- /dev/null +++ b/participantes/rust-cassiogangrel/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:39:35 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/ryan_and_sena/docker-compose.logs b/participantes/ryan_and_sena/docker-compose.logs deleted file mode 100644 index 95bae31eb..000000000 --- a/participantes/ryan_and_sena/docker-compose.logs +++ /dev/null @@ -1,125 +0,0 @@ - Network ryan_and_sena_rinha-network Creating - Network ryan_and_sena_rinha-network Created - Container ryan_and_sena-db-1 Creating - Container ryan_and_sena-db-1 Created - Container ryan_and_sena-api01-1 Creating - Container ryan_and_sena-api02-1 Creating - Container ryan_and_sena-api02-1 Created - Container ryan_and_sena-api01-1 Created - Container ryan_and_sena-nginx-1 Creating - Container ryan_and_sena-nginx-1 Created -Attaching to api01-1, api02-1, db-1, nginx-1 -db-1 | The files belonging to this database system will be owned by user "postgres". -db-1 | This user must also own the server process. -db-1 | -db-1 | The database cluster will be initialized with locale "en_US.utf8". -db-1 | The default database encoding has accordingly been set to "UTF8". -db-1 | The default text search configuration will be set to "english". -db-1 | -db-1 | Data page checksums are disabled. -db-1 | -db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok -db-1 | creating subdirectories ... ok -db-1 | selecting dynamic shared memory implementation ... posix -db-1 | selecting default max_connections ... 100 -db-1 | selecting default shared_buffers ... 128MB -db-1 | selecting default time zone ... Etc/UTC -db-1 | creating configuration files ... ok -api02-1 | Waiting bd starts -db-1 | running bootstrap script ... ok -api01-1 | Waiting bd starts -nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration -nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ -nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh -nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf -nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf -nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh -nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh -nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh -nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up -db-1 | performing post-bootstrap initialization ... ok -db-1 | initdb: warning: enabling "trust" authentication for local connections -db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. -db-1 | syncing data to disk ... ok -db-1 | -db-1 | -db-1 | Success. You can now start the database server using: -db-1 | -db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start -db-1 | -api02-1 | Waiting bd starts -db-1 | waiting for server to start....2024-03-09 22:54:42.064 UTC [50] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit -db-1 | 2024-03-09 22:54:42.073 UTC [50] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" -db-1 | 2024-03-09 22:54:42.082 UTC [53] LOG: database system was shut down at 2024-03-09 22:54:40 UTC -db-1 | 2024-03-09 22:54:42.089 UTC [50] LOG: database system is ready to accept connections -api01-1 | Waiting bd starts -db-1 | done -db-1 | server started -db-1 | CREATE DATABASE -db-1 | -db-1 | -db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql -db-1 | CREATE TABLE -db-1 | CREATE TABLE -db-1 | ALTER TABLE -db-1 | CREATE FUNCTION -db-1 | CREATE FUNCTION -db-1 | INSERT 0 1 -db-1 | INSERT 0 1 -db-1 | INSERT 0 1 -db-1 | INSERT 0 1 -db-1 | INSERT 0 1 -db-1 | -db-1 | -db-1 | waiting for server to shut down...2024-03-09 22:54:42.348 UTC [50] LOG: received fast shutdown request -db-1 | .2024-03-09 22:54:42.351 UTC [50] LOG: aborting any active transactions -db-1 | 2024-03-09 22:54:42.353 UTC [50] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1 -db-1 | 2024-03-09 22:54:42.354 UTC [51] LOG: shutting down -db-1 | 2024-03-09 22:54:42.357 UTC [51] LOG: checkpoint starting: shutdown immediate -db-1 | 2024-03-09 22:54:42.860 UTC [51] LOG: checkpoint complete: wrote 940 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.382 s, sync=0.108 s, total=0.507 s; sync files=313, longest=0.052 s, average=0.001 s; distance=4295 kB, estimate=4295 kB; lsn=0/191C9E8, redo lsn=0/191C9E8 -db-1 | 2024-03-09 22:54:42.865 UTC [50] LOG: database system is shut down -db-1 | done -db-1 | server stopped -db-1 | -db-1 | PostgreSQL init process complete; ready for start up. -db-1 | -db-1 | 2024-03-09 22:54:42.975 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit -db-1 | 2024-03-09 22:54:42.975 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 -db-1 | 2024-03-09 22:54:42.975 UTC [1] LOG: listening on IPv6 address "::", port 5432 -db-1 | 2024-03-09 22:54:42.981 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" -db-1 | 2024-03-09 22:54:42.987 UTC [68] LOG: database system was shut down at 2024-03-09 22:54:42 UTC -db-1 | 2024-03-09 22:54:42.994 UTC [1] LOG: database system is ready to accept connections -api02-1 | info: Microsoft.Hosting.Lifetime[14] -api02-1 | Now listening on: http://[::]:8080 -api02-1 | info: Microsoft.Hosting.Lifetime[0] -api02-1 | Application started. Press Ctrl+C to shut down. -api02-1 | info: Microsoft.Hosting.Lifetime[0] -api02-1 | Hosting environment: Production -api02-1 | info: Microsoft.Hosting.Lifetime[0] -api02-1 | Content root path: /app -api01-1 | info: Microsoft.Hosting.Lifetime[14] -api01-1 | Now listening on: http://[::]:8080 -api01-1 | info: Microsoft.Hosting.Lifetime[0] -api01-1 | Application started. Press Ctrl+C to shut down. -api01-1 | info: Microsoft.Hosting.Lifetime[0] -api01-1 | Hosting environment: Production -api01-1 | info: Microsoft.Hosting.Lifetime[0] -api01-1 | Content root path: /app -nginx-1 exited with code 0 -nginx-1 exited with code 0 -api02-1 | info: Microsoft.Hosting.Lifetime[0] -api02-1 | Application is shutting down... -api01-1 | info: Microsoft.Hosting.Lifetime[0] -api01-1 | Application is shutting down... -api02-1 exited with code 0 -api02-1 exited with code 0 -api01-1 exited with code 0 -api01-1 exited with code 0 -db-1 | 2024-03-09 22:58:59.136 UTC [1] LOG: received fast shutdown request -db-1 | 2024-03-09 22:58:59.145 UTC [1] LOG: aborting any active transactions -db-1 | 2024-03-09 22:58:59.147 UTC [1] LOG: background worker "logical replication launcher" (PID 71) exited with exit code 1 -db-1 | 2024-03-09 22:58:59.147 UTC [66] LOG: shutting down -db-1 | 2024-03-09 22:58:59.151 UTC [66] LOG: checkpoint starting: shutdown immediate -db-1 | 2024-03-09 22:58:59.282 UTC [66] LOG: checkpoint complete: wrote 637 buffers (3.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.013 s, sync=0.103 s, total=0.135 s; sync files=31, longest=0.094 s, average=0.004 s; distance=3935 kB, estimate=3935 kB; lsn=0/1CF4628, redo lsn=0/1CF4628 -db-1 | 2024-03-09 22:58:59.286 UTC [1] LOG: database system is shut down -db-1 exited with code 0 diff --git a/participantes/ryan_and_sena/docker-compose.yml b/participantes/ryan_and_sena/docker-compose.yml index b778ce3cf..69d55dcf7 100644 --- a/participantes/ryan_and_sena/docker-compose.yml +++ b/participantes/ryan_and_sena/docker-compose.yml @@ -12,7 +12,8 @@ services: ports: - "8081:8080" depends_on: - - db + db: + condition: service_healthy deploy: resources: limits: @@ -49,6 +50,7 @@ services: db: image: postgres:latest hostname: db + command: 'postgres -c max_connections=20' networks: - rinha-network environment: @@ -64,6 +66,12 @@ services: limits: cpus: "0.5" memory: "400MB" + healthcheck: + test: ["CMD", "pg_isready", "--username", "admin", "--dbname", "Rinha"] + interval: 5s + timeout: 3s + retries: 10 + start_period: 10s # O uso do modo `bridge` deve ser adequado à carga que será usada no teste. # A edição anterior se beneficiou do modo host pois o volume de requisições @@ -73,4 +81,4 @@ services: # SO. networks: rinha-network: - driver: bridge \ No newline at end of file + driver: bridge diff --git a/participantes/schrammel-bun-prisma/docker-compose.logs b/participantes/schrammel-bun-prisma/docker-compose.logs new file mode 100644 index 000000000..11bf99dcb --- /dev/null +++ b/participantes/schrammel-bun-prisma/docker-compose.logs @@ -0,0 +1,198 @@ + Network schrammel-bun-prisma_default Creating + Network schrammel-bun-prisma_default Created + Container schrammel-bun-prisma-app1-1 Creating + Container schrammel-bun-prisma-app2-1 Creating + Container schrammel-bun-prisma-postgresdb-1 Creating + Container schrammel-bun-prisma-nginx-1 Creating + Container schrammel-bun-prisma-app2-1 Created + Container schrammel-bun-prisma-nginx-1 Created + Container schrammel-bun-prisma-app1-1 Created + Container schrammel-bun-prisma-postgresdb-1 Created +Attaching to app1-1, app2-1, nginx-1, postgresdb-1 +app1-1 | $ cd src && bunx prisma migrate dev && bun prisma/seed.ts && bun index.ts +app2-1 | $ cd src && bunx prisma migrate dev && bun index.ts +postgresdb-1 | The files belonging to this database system will be owned by user "postgres". +postgresdb-1 | This user must also own the server process. +postgresdb-1 | +postgresdb-1 | The database cluster will be initialized with locale "en_US.utf8". +postgresdb-1 | The default database encoding has accordingly been set to "UTF8". +postgresdb-1 | The default text search configuration will be set to "english". +postgresdb-1 | +postgresdb-1 | Data page checksums are disabled. +postgresdb-1 | +postgresdb-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +postgresdb-1 | creating subdirectories ... ok +postgresdb-1 | selecting dynamic shared memory implementation ... posix +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +postgresdb-1 | selecting default max_connections ... 100 +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +postgresdb-1 | selecting default shared_buffers ... 128MB +postgresdb-1 | selecting default time zone ... Etc/UTC +postgresdb-1 | creating configuration files ... ok +postgresdb-1 | running bootstrap script ... ok +app1-1 | Environment variables loaded from .env +app1-1 | Prisma schema loaded from prisma/schema.prisma +app1-1 | Datasource "db": PostgreSQL database "rinha", schema "public" at "postgresdb:5432" +app1-1 | +app2-1 | Environment variables loaded from .env +app2-1 | Prisma schema loaded from prisma/schema.prisma +app2-1 | Datasource "db": PostgreSQL database "rinha", schema "public" at "postgresdb:5432" +app2-1 | +app1-1 | Error: P1001: Can't reach database server at `postgresdb`:`5432` +app1-1 | +app1-1 | Please make sure your database server is running at `postgresdb`:`5432`. +app2-1 | Error: P1001: Can't reach database server at `postgresdb`:`5432` +app2-1 | +app2-1 | Please make sure your database server is running at `postgresdb`:`5432`. +app1-1 | error: script "prod:migration" exited with code 1 +app2-1 | error: script "prod" exited with code 1 +postgresdb-1 | performing post-bootstrap initialization ... ok +postgresdb-1 | initdb: warning: enabling "trust" authentication for local connections +postgresdb-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +postgresdb-1 | syncing data to disk ... ok +postgresdb-1 | +postgresdb-1 | +postgresdb-1 | Success. You can now start the database server using: +postgresdb-1 | +postgresdb-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +postgresdb-1 | +postgresdb-1 | waiting for server to start....2024-03-11 02:39:58.729 UTC [50] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +postgresdb-1 | 2024-03-11 02:39:58.732 UTC [50] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +postgresdb-1 | 2024-03-11 02:39:58.740 UTC [53] LOG: database system was shut down at 2024-03-11 02:39:57 UTC +postgresdb-1 | 2024-03-11 02:39:58.747 UTC [50] LOG: database system is ready to accept connections +postgresdb-1 | done +postgresdb-1 | server started +app1-1 exited with code 0 +app2-1 exited with code 0 +postgresdb-1 | CREATE DATABASE +postgresdb-1 | +postgresdb-1 | +postgresdb-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* +postgresdb-1 | +postgresdb-1 | 2024-03-11 02:39:59.136 UTC [50] LOG: received fast shutdown request +postgresdb-1 | waiting for server to shut down....2024-03-11 02:39:59.140 UTC [50] LOG: aborting any active transactions +postgresdb-1 | 2024-03-11 02:39:59.214 UTC [50] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1 +postgresdb-1 | 2024-03-11 02:39:59.215 UTC [51] LOG: shutting down +postgresdb-1 | 2024-03-11 02:39:59.218 UTC [51] LOG: checkpoint starting: shutdown immediate +nginx-1 | 2024/03/11 02:39:59 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.160.3:9999/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:39:59 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.160.2:9999/clientes/1/extrato", host: "localhost:9999" +postgresdb-1 | 2024-03-11 02:39:59.717 UTC [51] LOG: checkpoint complete: wrote 923 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.385 s, sync=0.104 s, total=0.503 s; sync files=301, longest=0.071 s, average=0.001 s; distance=4256 kB, estimate=4256 kB; lsn=0/1912CE8, redo lsn=0/1912CE8 +postgresdb-1 | 2024-03-11 02:39:59.722 UTC [50] LOG: database system is shut down +postgresdb-1 | done +postgresdb-1 | server stopped +postgresdb-1 | +postgresdb-1 | PostgreSQL init process complete; ready for start up. +postgresdb-1 | +postgresdb-1 | 2024-03-11 02:39:59.761 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +postgresdb-1 | 2024-03-11 02:39:59.761 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +postgresdb-1 | 2024-03-11 02:39:59.761 UTC [1] LOG: listening on IPv6 address "::", port 5432 +postgresdb-1 | 2024-03-11 02:39:59.768 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +postgresdb-1 | 2024-03-11 02:39:59.775 UTC [66] LOG: database system was shut down at 2024-03-11 02:39:59 UTC +postgresdb-1 | 2024-03-11 02:39:59.820 UTC [1] LOG: database system is ready to accept connections +app2-1 | Environment variables loaded from .env +app2-1 | Prisma schema loaded from prisma/schema.prisma +app2-1 | Datasource "db": PostgreSQL database "rinha", schema "public" at "postgresdb:5432" +app2-1 | +app1-1 | Environment variables loaded from .env +app1-1 | Prisma schema loaded from prisma/schema.prisma +app1-1 | Datasource "db": PostgreSQL database "rinha", schema "public" at "postgresdb:5432" +app1-1 | +postgresdb-1 | 2024-03-11 02:40:00.618 UTC [70] LOG: could not receive data from client: Connection reset by peer +postgresdb-1 | 2024-03-11 02:40:00.717 UTC [71] LOG: could not receive data from client: Connection reset by peer +postgresdb-1 | 2024-03-11 02:40:00.733 UTC [72] ERROR: relation "_prisma_migrations" does not exist at character 126 +postgresdb-1 | 2024-03-11 02:40:00.733 UTC [72] STATEMENT: SELECT "id", "checksum", "finished_at", "migration_name", "logs", "rolled_back_at", "started_at", "applied_steps_count" FROM "_prisma_migrations" ORDER BY "started_at" ASC +postgresdb-1 | 2024-03-11 02:40:00.826 UTC [73] ERROR: relation "_prisma_migrations" does not exist at character 126 +postgresdb-1 | 2024-03-11 02:40:00.826 UTC [73] STATEMENT: SELECT "id", "checksum", "finished_at", "migration_name", "logs", "rolled_back_at", "started_at", "applied_steps_count" FROM "_prisma_migrations" ORDER BY "started_at" ASC +postgresdb-1 | 2024-03-11 02:40:01.323 UTC [64] LOG: checkpoint starting: immediate force wait +nginx-1 | 2024/03/11 02:40:01 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +postgresdb-1 | 2024-03-11 02:40:01.981 UTC [64] LOG: checkpoint complete: wrote 923 buffers (5.6%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.588 s, sync=0.057 s, total=0.658 s; sync files=5, longest=0.053 s, average=0.012 s; distance=8513 kB, estimate=8513 kB; lsn=0/21634D0, redo lsn=0/21633A8 +postgresdb-1 | 2024-03-11 02:40:01.981 UTC [64] LOG: checkpoint starting: immediate force wait +postgresdb-1 | 2024-03-11 02:40:02.002 UTC [64] LOG: checkpoint complete: wrote 1 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.005 s, total=0.021 s; sync files=1, longest=0.005 s, average=0.005 s; distance=0 kB, estimate=7662 kB; lsn=0/2163618, redo lsn=0/2163548 +postgresdb-1 | 2024-03-11 02:40:02.520 UTC [64] LOG: checkpoint starting: immediate force wait +postgresdb-1 | 2024-03-11 02:40:02.543 UTC [64] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.006 s, sync=0.004 s, total=0.023 s; sync files=4, longest=0.003 s, average=0.001 s; distance=8611 kB, estimate=8611 kB; lsn=0/29CC4A8, redo lsn=0/29CC380 +postgresdb-1 | 2024-03-11 02:40:02.543 UTC [64] LOG: checkpoint starting: immediate force wait +postgresdb-1 | 2024-03-11 02:40:02.571 UTC [64] LOG: checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.029 s; sync files=0, longest=0.000 s, average=0.000 s; distance=0 kB, estimate=7750 kB; lsn=0/29CC560, redo lsn=0/29CC520 +app2-1 | Applying migration `20240213021853_init` +app2-1 | +app2-1 | The following migration(s) have been applied: +app2-1 | +app2-1 | migrations/ +app2-1 | └─ 20240213021853_init/ +app2-1 | └─ migration.sql +postgresdb-1 | 2024-03-11 02:40:02.831 UTC [64] LOG: checkpoint starting: immediate force wait +postgresdb-1 | 2024-03-11 02:40:02.935 UTC [64] LOG: checkpoint complete: wrote 83 buffers (0.5%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.008 s, sync=0.086 s, total=0.105 s; sync files=60, longest=0.078 s, average=0.002 s; distance=4372 kB, estimate=7412 kB; lsn=0/2E11818, redo lsn=0/2E117E0 +postgresdb-1 | 2024-03-11 02:40:03.144 UTC [64] LOG: checkpoint starting: immediate force wait +postgresdb-1 | 2024-03-11 02:40:03.171 UTC [64] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.006 s, sync=0.005 s, total=0.027 s; sync files=4, longest=0.004 s, average=0.002 s; distance=4305 kB, estimate=7101 kB; lsn=0/3246028, redo lsn=0/3245FD8 +app2-1 | +app2-1 | Your database is now in sync with your schema. +app2-1 | +app2-1 | Running generate... (Use --skip-generate to skip the generators) +nginx-1 | 2024/03/11 02:40:03 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +postgresdb-1 | 2024-03-11 02:40:03.425 UTC [64] LOG: checkpoint starting: immediate force wait +postgresdb-1 | 2024-03-11 02:40:03.452 UTC [64] LOG: checkpoint complete: wrote 11 buffers (0.1%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.007 s, sync=0.007 s, total=0.027 s; sync files=9, longest=0.004 s, average=0.001 s; distance=4306 kB, estimate=6822 kB; lsn=0/367A888, redo lsn=0/367A850 +postgresdb-1 | 2024-03-11 02:40:03.588 UTC [64] LOG: checkpoint starting: immediate force wait +postgresdb-1 | 2024-03-11 02:40:03.629 UTC [64] LOG: checkpoint complete: wrote 4 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.025 s, sync=0.005 s, total=0.042 s; sync files=4, longest=0.003 s, average=0.002 s; distance=4305 kB, estimate=6570 kB; lsn=0/3AAF060, redo lsn=0/3AAF028 +app1-1 | Already in sync, no schema change or pending migration was found. +app1-1 | +app1-1 | Running generate... (Use --skip-generate to skip the generators) +app2-1 | Running generate... - Prisma Client +app2-1 | ✔ Generated Prisma Client (v5.9.1) to ./../node_modules/@prisma/client in 222ms +app2-1 | +app2-1 | +app1-1 | Running generate... - Prisma Client +app2-1 | init app +app1-1 | ✔ Generated Prisma Client (v5.9.1) to ./../node_modules/@prisma/client in 208ms +app1-1 | +app1-1 | +app1-1 | Database seeded successfully! +app1-1 | init app +nginx-1 | 2024/03/11 02:40:05 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:40:07 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:40:09 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 192.168.160.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +postgresdb-1 | 2024-03-11 02:44:22.881 UTC [1] LOG: received fast shutdown request +postgresdb-1 | 2024-03-11 02:44:22.885 UTC [1] LOG: aborting any active transactions +postgresdb-1 | 2024-03-11 02:44:22.886 UTC [103] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.886 UTC [93] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.887 UTC [99] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.887 UTC [98] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.887 UTC [104] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.887 UTC [94] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.888 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1 +postgresdb-1 | 2024-03-11 02:44:22.889 UTC [105] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.889 UTC [83] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.889 UTC [92] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.889 UTC [100] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.889 UTC [87] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.889 UTC [102] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.889 UTC [88] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.890 UTC [106] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.890 UTC [85] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.893 UTC [95] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.893 UTC [89] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.914 UTC [84] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.914 UTC [96] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.915 UTC [86] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.918 UTC [91] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.918 UTC [107] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.918 UTC [97] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.918 UTC [108] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:22.921 UTC [101] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:23.014 UTC [90] FATAL: terminating connection due to administrator command +postgresdb-1 | 2024-03-11 02:44:23.017 UTC [64] LOG: shutting down +postgresdb-1 | 2024-03-11 02:44:23.021 UTC [64] LOG: checkpoint starting: shutdown immediate +postgresdb-1 | 2024-03-11 02:44:23.176 UTC [64] LOG: checkpoint complete: wrote 627 buffers (3.8%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.014 s, sync=0.098 s, total=0.160 s; sync files=33, longest=0.088 s, average=0.003 s; distance=16814 kB, estimate=16814 kB; lsn=0/4B1ABF8, redo lsn=0/4B1ABF8 +postgresdb-1 | 2024-03-11 02:44:23.183 UTC [1] LOG: database system is shut down +postgresdb-1 exited with code 0 +postgresdb-1 exited with code 0 +nginx-1 exited with code 0 +nginx-1 exited with code 0 +app1-1 exited with code 0 +app1-1 exited with code 137 +app2-1 exited with code 0 diff --git a/participantes/schrammel-bun-prisma/testada b/participantes/schrammel-bun-prisma/testada new file mode 100644 index 000000000..0ae695969 --- /dev/null +++ b/participantes/schrammel-bun-prisma/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:44:34 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/tonycarvalho1994-python/docker-compose.logs b/participantes/tonycarvalho1994-python/docker-compose.logs index bb95c840c..6021bb686 100644 --- a/participantes/tonycarvalho1994-python/docker-compose.logs +++ b/participantes/tonycarvalho1994-python/docker-compose.logs @@ -4,8 +4,8 @@ Container postgres Created Container tonycarvalho1994-python-api02-1 Creating Container tonycarvalho1994-python-api01-1 Creating - Container tonycarvalho1994-python-api02-1 Created Container tonycarvalho1994-python-api01-1 Created + Container tonycarvalho1994-python-api02-1 Created Container tonycarvalho1994-python-nginx-1 Creating Container tonycarvalho1994-python-nginx-1 Created Attaching to postgres, api01-1, api02-1, nginx-1 @@ -40,8 +40,10 @@ api02-1 | INFO: Started server process [1] api02-1 | INFO: Waiting for application startup. api01-1 | INFO: Started server process [1] api01-1 | INFO: Waiting for application startup. -nginx-1 | 2024/03/10 22:02:28 [error] 30#30: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.96.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.96.4:8080/clientes/1/extrato", host: "localhost:9999" -nginx-1 | 2024/03/10 22:02:28 [error] 30#30: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.96.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.96.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:44:51 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:44:51 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.4:8080/clientes/1/extrato", host: "localhost:9999" +postgres | initdb: warning: enabling "trust" authentication for local connections +postgres | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. postgres | syncing data to disk ... ok postgres | postgres | @@ -49,12 +51,10 @@ postgres | Success. You can now start the database server using: postgres | postgres | pg_ctl -D /data/postgres -l logfile start postgres | -postgres | initdb: warning: enabling "trust" authentication for local connections -postgres | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. -postgres | waiting for server to start....2024-03-10 22:02:29.403 UTC [49] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit -postgres | 2024-03-10 22:02:29.407 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" -postgres | 2024-03-10 22:02:29.420 UTC [52] LOG: database system was shut down at 2024-03-10 22:02:24 UTC -postgres | 2024-03-10 22:02:29.428 UTC [49] LOG: database system is ready to accept connections +postgres | waiting for server to start....2024-03-11 02:44:52.823 UTC [49] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +postgres | 2024-03-11 02:44:52.826 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +postgres | 2024-03-11 02:44:52.836 UTC [52] LOG: database system was shut down at 2024-03-11 02:44:48 UTC +postgres | 2024-03-11 02:44:52.842 UTC [49] LOG: database system is ready to accept connections postgres | done postgres | server started postgres | @@ -72,19 +72,13 @@ postgres | INSERT 0 1 postgres | ALTER SYSTEM postgres | postgres | -postgres | waiting for server to shut down...2024-03-10 22:02:29.635 UTC [49] LOG: received fast shutdown request -postgres | .2024-03-10 22:02:29.638 UTC [49] LOG: aborting any active transactions -postgres | 2024-03-10 22:02:29.640 UTC [49] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1 -postgres | 2024-03-10 22:02:29.640 UTC [50] LOG: shutting down -postgres | 2024-03-10 22:02:29.643 UTC [50] LOG: checkpoint starting: shutdown immediate -nginx-1 | 2024/03/10 22:02:30 [error] 30#30: *4 no live upstreams while connecting to upstream, client: 192.168.96.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" -postgres | .2024-03-10 22:02:30.906 UTC [50] LOG: checkpoint complete: wrote 937 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.024 s, sync=1.219 s, total=1.266 s; sync files=307, longest=0.039 s, average=0.004 s; distance=4291 kB, estimate=4291 kB; lsn=0/191B860, redo lsn=0/191B860 -postgres | 2024-03-10 22:02:30.911 UTC [49] LOG: database system is shut down -postgres | done -postgres | server stopped -postgres | -postgres | PostgreSQL init process complete; ready for start up. -postgres | +postgres | waiting for server to shut down...2024-03-11 02:44:53.051 UTC [49] LOG: received fast shutdown request +postgres | .2024-03-11 02:44:53.053 UTC [49] LOG: aborting any active transactions +postgres | 2024-03-11 02:44:53.055 UTC [49] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1 +postgres | 2024-03-11 02:44:53.055 UTC [50] LOG: shutting down +postgres | 2024-03-11 02:44:53.058 UTC [50] LOG: checkpoint starting: shutdown immediate +nginx-1 | 2024/03/11 02:44:53 [error] 29#29: *4 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +postgres | .2024-03-11 02:44:54.440 UTC [50] LOG: checkpoint complete: wrote 937 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.020 s, sync=1.346 s, total=1.385 s; sync files=307, longest=0.123 s, average=0.005 s; distance=4291 kB, estimate=4291 kB; lsn=0/191B860, redo lsn=0/191B860 api02-1 | ERROR: Traceback (most recent call last): api02-1 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 734, in lifespan api02-1 | async with self.lifespan_context(app) as maybe_state: @@ -135,366 +129,109 @@ api02-1 | return await fut api02-1 | ^^^^^^^^^ api02-1 | File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 678, in _sock_connect_cb api02-1 | raise OSError(err, f'Connect call failed {address}') -api02-1 | ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.96.2', 5432) +api02-1 | ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.176.2', 5432) api02-1 | api02-1 | ERROR: Application startup failed. Exiting. -postgres | 2024-03-10 22:02:30.979 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit -postgres | 2024-03-10 22:02:30.979 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 -postgres | 2024-03-10 22:02:30.979 UTC [1] LOG: listening on IPv6 address "::", port 5432 -postgres | 2024-03-10 22:02:30.985 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" -postgres | 2024-03-10 22:02:30.994 UTC [66] LOG: database system was shut down at 2024-03-10 22:02:30 UTC -postgres | 2024-03-10 22:02:31.008 UTC [1] LOG: database system is ready to accept connections +api01-1 | ERROR: Traceback (most recent call last): +api01-1 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 734, in lifespan +api01-1 | async with self.lifespan_context(app) as maybe_state: +api01-1 | File "/usr/local/lib/python3.11/contextlib.py", line 210, in __aenter__ +api01-1 | return await anext(self.gen) +api01-1 | ^^^^^^^^^^^^^^^^^^^^^ +api01-1 | File "/srv/src/api/lifespan.py", line 14, in lifespan +api01-1 | await db.setup() +api01-1 | File "/srv/src/infra/db.py", line 29, in setup +api01-1 | self._pool = await asyncpg.create_pool( +api01-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/pool.py", line 403, in _async__init__ +api01-1 | await self._initialize() +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/pool.py", line 430, in _initialize +api01-1 | await first_ch.connect() +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/pool.py", line 128, in connect +api01-1 | self._con = await self._pool._get_new_connection() +api01-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/pool.py", line 502, in _get_new_connection +api01-1 | con = await connection.connect( +api01-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connection.py", line 2329, in connect +api01-1 | return await connect_utils._connect( +api01-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connect_utils.py", line 1017, in _connect +api01-1 | raise last_error or exceptions.TargetServerAttributeNotMatched( +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connect_utils.py", line 991, in _connect +api01-1 | conn = await _connect_addr( +api01-1 | ^^^^^^^^^^^^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connect_utils.py", line 828, in _connect_addr +api01-1 | return await __connect_addr(params, True, *args) +api01-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connect_utils.py", line 873, in __connect_addr +api01-1 | tr, pr = await connector +api01-1 | ^^^^^^^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/site-packages/asyncpg/connect_utils.py", line 744, in _create_ssl_connection +api01-1 | tr, pr = await loop.create_connection( +api01-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1086, in create_connection +api01-1 | raise exceptions[0] +api01-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1070, in create_connection +api01-1 | sock = await self._connect_sock( +api01-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 974, in _connect_sock +api01-1 | await self.sock_connect(sock, address) +api01-1 | File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 638, in sock_connect +api01-1 | return await fut +api01-1 | ^^^^^^^^^ +api01-1 | File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 678, in _sock_connect_cb +api01-1 | raise OSError(err, f'Connect call failed {address}') +api01-1 | ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.176.2', 5432) +api01-1 | +api01-1 | ERROR: Application startup failed. Exiting. +postgres | 2024-03-11 02:44:54.448 UTC [49] LOG: database system is shut down +postgres | done +postgres | server stopped +postgres | +postgres | PostgreSQL init process complete; ready for start up. +postgres | +postgres | 2024-03-11 02:44:54.487 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +postgres | 2024-03-11 02:44:54.487 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +postgres | 2024-03-11 02:44:54.487 UTC [1] LOG: listening on IPv6 address "::", port 5432 +postgres | 2024-03-11 02:44:54.494 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +postgres | 2024-03-11 02:44:54.501 UTC [66] LOG: database system was shut down at 2024-03-11 02:44:54 UTC +postgres | 2024-03-11 02:44:54.513 UTC [1] LOG: database system is ready to accept connections +api01-1 exited with code 3 +nginx-1 | 2024/03/11 02:44:55 [error] 29#29: *5 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" api02-1 exited with code 3 -nginx-1 | 2024/03/10 22:02:32 [error] 30#30: *5 no live upstreams while connecting to upstream, client: 192.168.96.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" -nginx-1 | 2024/03/10 22:02:34 [error] 30#30: *6 no live upstreams while connecting to upstream, client: 192.168.96.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" -nginx-1 | 2024/03/10 22:02:36 [error] 30#30: *7 no live upstreams while connecting to upstream, client: 192.168.96.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" -nginx-1 | 2024/03/10 22:02:38 [error] 30#30: *8 no live upstreams while connecting to upstream, client: 192.168.96.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" -api01-1 | INFO: Application startup complete. -api01-1 | INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) -nginx-1 | 2024/03/10 22:03:40 [error] 30#30: *9 upstream timed out (110: Connection timed out) while connecting to upstream, client: 192.168.96.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.96.3:8080/clientes/1/extrato", host: "localhost:9999" -api01-1 | INFO: 192.168.96.5:34620 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34622 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34624 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34648 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34632 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34628 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34650 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34658 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34864 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34868 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34670 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34700 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34728 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34716 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34686 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34674 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34734 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34770 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34746 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34794 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34808 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34748 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34778 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34764 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34832 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34818 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34848 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34878 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34892 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34886 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34896 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34998 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34916 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35010 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34912 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34918 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35022 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34932 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35018 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34940 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35026 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34956 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34972 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:34982 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35038 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35054 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35064 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35072 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35068 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35074 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35082 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35098 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35086 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:35110 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55680 - "GET /clientes/6/extrato HTTP/1.0" 404 Not Found -api01-1 | INFO: 192.168.96.5:55692 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55730 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55710 - "GET /clientes/5/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55694 - "GET /clientes/3/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55720 - "GET /clientes/2/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55740 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55764 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55760 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55746 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55754 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55766 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55796 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55802 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55784 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55778 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55808 - "GET /clientes/5/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55820 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55838 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55834 - "GET /clientes/2/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55842 - "GET /clientes/3/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55858 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55886 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55874 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55870 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55876 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55894 - "GET /clientes/3/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55912 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55902 - "GET /clientes/2/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55924 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55938 - "GET /clientes/3/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55950 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55978 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56010 - "GET /clientes/2/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56044 - "GET /clientes/5/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55944 - "GET /clientes/3/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56060 - "GET /clientes/5/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56024 - "GET /clientes/2/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55964 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55958 - "GET /clientes/3/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55992 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56066 - "GET /clientes/5/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:55952 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56032 - "GET /clientes/2/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56074 - "POST /clientes/3/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56088 - "POST /clientes/4/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:55994 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56104 - "POST /clientes/3/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56118 - "POST /clientes/2/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56068 - "GET /clientes/5/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56122 - "POST /clientes/4/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56126 - "POST /clientes/3/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56140 - "POST /clientes/1/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56154 - "POST /clientes/2/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56158 - "POST /clientes/5/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56170 - "POST /clientes/3/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56182 - "POST /clientes/1/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56184 - "POST /clientes/2/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56192 - "POST /clientes/4/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56200 - "POST /clientes/3/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56210 - "POST /clientes/1/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56220 - "POST /clientes/4/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56228 - "POST /clientes/2/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56234 - "POST /clientes/1/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56238 - "POST /clientes/4/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56240 - "POST /clientes/1/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56250 - "POST /clientes/2/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56266 - "POST /clientes/5/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56282 - "POST /clientes/5/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56290 - "POST /clientes/5/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56298 - "POST /clientes/5/transacoes HTTP/1.0" 422 Unprocessable Entity -api01-1 | INFO: 192.168.96.5:56312 - "GET /clientes/2/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56316 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56328 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56344 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56350 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56358 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56360 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56376 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56390 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56404 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56406 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56420 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56436 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56446 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56450 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56458 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56470 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56482 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56496 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56508 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56522 - "GET /clientes/5/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56512 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56532 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56546 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56552 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56562 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56570 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56586 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56590 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56606 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56618 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56632 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56640 - "GET /clientes/3/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56648 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56656 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -nginx-1 | 2024/03/10 22:03:54 [error] 30#30: *216 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.96.1, server: , request: "GET /clientes/4/extrato HTTP/1.1", upstream: "http://192.168.96.3:8080/clientes/4/extrato", host: "localhost:9999" -api01-1 | INFO: 192.168.96.5:56670 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56676 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56678 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56682 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56684 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56688 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56694 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56704 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56712 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56728 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56740 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56752 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56762 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56766 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56774 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56770 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56778 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56784 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56796 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56806 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56810 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56826 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56838 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56842 - "GET /clientes/3/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56850 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56852 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56866 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56870 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56880 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56892 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56904 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56906 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56930 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56916 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56912 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56944 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56946 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56950 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56962 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56972 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56976 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56984 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:56996 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57002 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57014 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57016 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57028 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57040 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57052 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57058 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57074 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57080 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57084 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57098 - "GET /clientes/1/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57118 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57102 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57122 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57128 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57142 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57154 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57156 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57170 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57176 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57184 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57188 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57200 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57204 - "GET /clientes/5/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57206 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57218 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57224 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57234 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57236 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57248 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57264 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57278 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57294 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57298 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57312 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57314 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57330 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57342 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57348 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57362 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57378 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57386 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57388 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57398 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57402 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57418 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57434 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57448 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57460 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57458 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57452 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57466 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57478 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57484 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57492 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57496 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57498 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57512 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57510 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57520 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57524 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57528 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57540 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57536 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57546 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57548 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57562 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57574 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57588 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57596 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57606 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57620 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57628 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57630 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57638 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57652 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57664 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57672 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57682 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57694 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57698 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57712 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57728 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57736 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57752 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57756 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57762 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57774 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57788 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57790 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57804 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57828 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57812 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57838 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57850 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57862 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57878 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57882 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57884 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57888 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57894 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57906 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57910 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57914 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57916 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57918 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57932 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57946 - "GET /clientes/4/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57954 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57948 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57958 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57966 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57982 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:57998 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58000 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58014 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58024 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58030 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58046 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58048 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58052 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58062 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58076 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58078 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58102 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58090 - "GET /clientes/5/extrato HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58110 - "POST /clientes/3/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58126 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58140 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58148 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58152 - "POST /clientes/5/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58164 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58172 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58188 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58200 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58210 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58218 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58222 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58234 - "POST /clientes/2/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58242 - "POST /clientes/4/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58254 - "POST /clientes/1/transacoes HTTP/1.0" 200 OK -api01-1 | INFO: 192.168.96.5:58266 - "GET /clientes/5/extrato HTTP/1.0" 200 OK +nginx-1 | 2024/03/11 02:44:57 [error] 29#29: *6 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:44:59 [error] 29#29: *7 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:45:01 [error] 29#29: *8 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:45:38 [error] 29#29: *9 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:45:56 [error] 29#29: *9 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:01 [error] 29#29: *12 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:01 [error] 29#29: *12 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:03 [error] 29#29: *14 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:05 [error] 29#29: *15 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:10 [error] 29#29: *16 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:10 [error] 29#29: *16 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:15 [error] 29#29: *18 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:15 [error] 29#29: *18 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:17 [error] 29#29: *20 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:19 [error] 29#29: *21 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:25 [error] 29#29: *22 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:25 [error] 29#29: *22 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:30 [error] 29#29: *24 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:30 [error] 29#29: *24 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:32 [error] 29#29: *26 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:34 [error] 29#29: *27 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:39 [error] 29#29: *28 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.3:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:39 [error] 29#29: *28 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:44 [error] 29#29: *30 connect() failed (113: No route to host) while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.176.4:8080/clientes/1/extrato", host: "localhost:9999" +nginx-1 | 2024/03/11 02:46:44 [error] 29#29: *30 no live upstreams while connecting to upstream, client: 192.168.176.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +nginx-1 exited with code 0 +nginx-1 exited with code 0 +postgres | 2024-03-11 02:46:46.947 UTC [1] LOG: received fast shutdown request +postgres | 2024-03-11 02:46:46.951 UTC [1] LOG: aborting any active transactions +postgres | 2024-03-11 02:46:46.952 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1 +postgres | 2024-03-11 02:46:46.953 UTC [64] LOG: shutting down +postgres | 2024-03-11 02:46:46.957 UTC [64] LOG: checkpoint starting: shutdown immediate +postgres | 2024-03-11 02:46:47.017 UTC [64] LOG: checkpoint complete: wrote 48 buffers (0.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.009 s, sync=0.036 s, total=0.064 s; sync files=14, longest=0.004 s, average=0.003 s; distance=261 kB, estimate=261 kB; lsn=0/195CC98, redo lsn=0/195CC98 +postgres | 2024-03-11 02:46:47.021 UTC [1] LOG: database system is shut down +postgres exited with code 0 diff --git a/participantes/tonycarvalho1994-python/testada b/participantes/tonycarvalho1994-python/testada new file mode 100644 index 000000000..be26dd147 --- /dev/null +++ b/participantes/tonycarvalho1994-python/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:46:47 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/tsugami/docker-compose.logs b/participantes/tsugami/docker-compose.logs new file mode 100644 index 000000000..3add22b91 --- /dev/null +++ b/participantes/tsugami/docker-compose.logs @@ -0,0 +1,500 @@ + Network tsugami_default Creating + Network tsugami_default Created + Container rinha-pg Creating + Container rinha-pg Created + Container tsugami-app0-1 Creating + Container tsugami-app-1 Creating + Container tsugami-app-1 Created + Container tsugami-app0-1 Created + Container tsugami-nginx-1 Creating + Container tsugami-nginx-1 Created +Attaching to rinha-pg, app-1, app0-1, nginx-1 +rinha-pg | The files belonging to this database system will be owned by user "postgres". +rinha-pg | This user must also own the server process. +rinha-pg | +rinha-pg | The database cluster will be initialized with locale "en_US.utf8". +rinha-pg | The default database encoding has accordingly been set to "UTF8". +rinha-pg | The default text search configuration will be set to "english". +rinha-pg | +rinha-pg | Data page checksums are disabled. +rinha-pg | +rinha-pg | fixing permissions on existing directory /var/lib/postgresql/data ... ok +rinha-pg | creating subdirectories ... ok +rinha-pg | selecting dynamic shared memory implementation ... posix +rinha-pg | selecting default max_connections ... 100 +rinha-pg | selecting default shared_buffers ... 128MB +rinha-pg | selecting default time zone ... Etc/UTC +rinha-pg | creating configuration files ... ok +rinha-pg | running bootstrap script ... ok +rinha-pg | performing post-bootstrap initialization ... ok +rinha-pg | syncing data to disk ... ok +rinha-pg | +rinha-pg | +rinha-pg | Success. You can now start the database server using: +rinha-pg | +rinha-pg | pg_ctl -D /var/lib/postgresql/data -l logfile start +rinha-pg | +rinha-pg | initdb: warning: enabling "trust" authentication for local connections +rinha-pg | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +rinha-pg | waiting for server to start....2024-03-11 02:47:48.104 UTC [47] LOG: starting PostgreSQL 16.1 (Debian 16.1-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +rinha-pg | 2024-03-11 02:47:48.107 UTC [47] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +rinha-pg | 2024-03-11 02:47:48.115 UTC [50] LOG: database system was shut down at 2024-03-11 02:47:46 UTC +rinha-pg | 2024-03-11 02:47:48.122 UTC [47] LOG: database system is ready to accept connections +rinha-pg | done +rinha-pg | server started +rinha-pg | +rinha-pg | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql +rinha-pg | CREATE TYPE +rinha-pg | CREATE TABLE +rinha-pg | ALTER TABLE +rinha-pg | CREATE TABLE +rinha-pg | ALTER TABLE +rinha-pg | DO +rinha-pg | +rinha-pg | +rinha-pg | waiting for server to shut down...2024-03-11 02:47:48.272 UTC [47] LOG: received fast shutdown request +rinha-pg | .2024-03-11 02:47:48.276 UTC [47] LOG: aborting any active transactions +rinha-pg | 2024-03-11 02:47:48.278 UTC [47] LOG: background worker "logical replication launcher" (PID 53) exited with exit code 1 +rinha-pg | 2024-03-11 02:47:48.279 UTC [48] LOG: shutting down +rinha-pg | 2024-03-11 02:47:48.282 UTC [48] LOG: checkpoint starting: shutdown immediate +rinha-pg | 2024-03-11 02:47:48.417 UTC [48] LOG: checkpoint complete: wrote 78 buffers (0.5%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.008 s, sync=0.087 s, total=0.138 s; sync files=54, longest=0.077 s, average=0.002 s; distance=217 kB, estimate=217 kB; lsn=0/1520FE8, redo lsn=0/1520FE8 +rinha-pg | 2024-03-11 02:47:48.420 UTC [47] LOG: database system is shut down +rinha-pg | done +rinha-pg | server stopped +rinha-pg | +rinha-pg | PostgreSQL init process complete; ready for start up. +rinha-pg | +rinha-pg | 2024-03-11 02:47:48.495 UTC [1] LOG: starting PostgreSQL 16.1 (Debian 16.1-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +rinha-pg | 2024-03-11 02:47:48.495 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +rinha-pg | 2024-03-11 02:47:48.495 UTC [1] LOG: listening on IPv6 address "::", port 5432 +rinha-pg | 2024-03-11 02:47:48.502 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +rinha-pg | 2024-03-11 02:47:48.511 UTC [63] LOG: database system was shut down at 2024-03-11 02:47:48 UTC +rinha-pg | 2024-03-11 02:47:48.518 UTC [1] LOG: database system is ready to accept connections +app0-1 | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. +app0-1 | +app0-1 | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. +app0-1 | - using env: export GIN_MODE=release +app0-1 | - using code: gin.SetMode(gin.ReleaseMode) +app0-1 | +app0-1 | [GIN-debug] GET /clientes/:id/extrato --> main.setupRouter.func1 (3 handlers) +app0-1 | [GIN-debug] POST /clientes/:id/transacoes --> main.setupRouter.func2 (3 handlers) +app0-1 | [GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value. +app0-1 | Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details. +app0-1 | [GIN-debug] Environment variable PORT is undefined. Using port :8080 by default +app0-1 | [GIN-debug] Listening and serving HTTP on :8080 +app0-1 | 2024/03/11 02:47:51 Database connected +app-1 | 2024/03/11 02:47:51 Database connected +app-1 | [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. +app-1 | +app-1 | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. +app-1 | - using env: export GIN_MODE=release +app-1 | - using code: gin.SetMode(gin.ReleaseMode) +app-1 | +app-1 | [GIN-debug] GET /clientes/:id/extrato --> main.setupRouter.func1 (3 handlers) +app-1 | [GIN-debug] POST /clientes/:id/transacoes --> main.setupRouter.func2 (3 handlers) +app-1 | [GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value. +app-1 | Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details. +app-1 | [GIN-debug] Environment variable PORT is undefined. Using port :8080 by default +app-1 | [GIN-debug] Listening and serving HTTP on :8080 +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +app-1 | [GIN] 2024/03/11 - 02:47:52 | 200 | 2.248849ms | 192.168.192.5 | GET "/clientes/1/extrato" +app-1 | [GIN] 2024/03/11 - 02:47:52 | 200 | 340.562µs | 192.168.192.5 | GET "/clientes/1/extrato" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 21.897756ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 21.414294ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 21.615242ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 23.396805ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 29.972893ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 41.861433ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 45.206764ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 22.97484ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 25.460869ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 54.287137ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 81.385354ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 91.357059ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 98.058843ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 91.068503ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 95.173005ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 89.559612ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 80.677098ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 82.874086ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 102.961228ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 109.00552ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 97.557724ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 112.449555ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 95.749481ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 116.0251ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:57 | 200 | 117.304712ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:58 | 200 | 999.645µs | 192.168.192.5 | GET "/clientes/1/extrato" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 2.842581ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 6.350036ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 8.717309ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 6.712856ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 12.502332ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 11.097741ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 14.608532ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 20.569118ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 17.00674ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 16.441957ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 19.868355ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 17.994195ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 20.760019ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 31.926153ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 26.343604ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 35.786092ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 34.077639ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 32.17871ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 38.691386ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 39.634161ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 39.570654ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 48.627309ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 47.194358ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 52.302908ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:47:59 | 200 | 49.669288ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:00 | 200 | 1.15812ms | 192.168.192.5 | GET "/clientes/1/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 404 | 15.722µs | 192.168.192.5 | GET "/clientes/6/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 1.297122ms | 192.168.192.5 | GET "/clientes/1/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 733.096µs | 192.168.192.5 | GET "/clientes/4/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 1.128175ms | 192.168.192.5 | GET "/clientes/3/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 1.921105ms | 192.168.192.5 | GET "/clientes/5/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 4.325431ms | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 3.471962ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 2.974378ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 3.092452ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 3.210678ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 4.895372ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 2.432191ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 384.645µs | 192.168.192.5 | GET "/clientes/3/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 4.547616ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 4.366316ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 4.382318ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 4.652123ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 492.968µs | 192.168.192.5 | GET "/clientes/5/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 482.188µs | 192.168.192.5 | GET "/clientes/4/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 1.357199ms | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 1.594232ms | 192.168.192.5 | GET "/clientes/1/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 2.342218ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 2.72898ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 3.834445ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 3.813845ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 2.282245ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 429.691µs | 192.168.192.5 | GET "/clientes/3/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 418.926µs | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 998.885µs | 192.168.192.5 | GET "/clientes/4/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 925.839µs | 192.168.192.5 | GET "/clientes/1/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 758.167µs | 192.168.192.5 | GET "/clientes/1/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 380.79µs | 192.168.192.5 | GET "/clientes/1/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 467.925µs | 192.168.192.5 | GET "/clientes/1/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 301.877µs | 192.168.192.5 | GET "/clientes/5/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 277.914µs | 192.168.192.5 | GET "/clientes/4/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 218.083µs | 192.168.192.5 | GET "/clientes/4/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 238.074µs | 192.168.192.5 | GET "/clientes/4/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 486.282µs | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 311.479µs | 192.168.192.5 | GET "/clientes/2/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 975.815µs | 192.168.192.5 | GET "/clientes/3/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 318.7µs | 192.168.192.5 | GET "/clientes/3/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 406.525µs | 192.168.192.5 | GET "/clientes/3/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 334.257µs | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 476.001µs | 192.168.192.5 | GET "/clientes/5/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 396.759µs | 192.168.192.5 | GET "/clientes/5/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 200 | 307.521µs | 192.168.192.5 | GET "/clientes/5/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 54.9µs | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 57.384µs | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 22.565µs | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 26.354µs | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 23.539µs | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 22.869µs | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 15.227µs | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 18.217µs | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 32.09µs | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 13.82µs | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 38.297µs | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 24.34µs | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 26.519µs | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 21.389µs | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 35.803µs | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 30.523µs | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 22.092µs | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 21.247µs | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 17.774µs | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 20.145µs | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 24.687µs | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 27.576µs | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 26.872µs | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 31.718µs | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:01 | 400 | 19.611µs | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:02 | 200 | 499.551µs | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:02 | 200 | 3.587468ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:02 | 200 | 5.91729ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:03 | 200 | 693.913µs | 192.168.192.5 | GET "/clientes/3/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:03 | 200 | 3.341395ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:03 | 200 | 4.055848ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:03 | 200 | 2.185582ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:03 | 200 | 2.228129ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:03 | 200 | 2.652081ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:04 | 200 | 2.866211ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:04 | 200 | 778.376µs | 192.168.192.5 | GET "/clientes/1/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:04 | 200 | 6.077034ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:04 | 200 | 9.815355ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:04 | 200 | 2.859508ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:04 | 200 | 2.457626ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:04 | 200 | 2.056416ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:04 | 200 | 2.625896ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:04 | 200 | 3.864596ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 2.337038ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 14.462428ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 2.352134ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 1.037326ms | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 3.940964ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 5.958788ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 2.131856ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 2.637021ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 2.318903ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 2.734487ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 6.860478ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:05 | 200 | 2.193465ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.015141ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.47979ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.55029ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 1.049821ms | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.687636ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 3.526962ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.186495ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.972289ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.234224ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.134968ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.468943ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.247738ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.292456ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:06 | 200 | 2.770092ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.479084ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.636802ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 1.922658ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.183969ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 744.727µs | 192.168.192.5 | GET "/clientes/4/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.511684ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 4.248562ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.821687ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.168589ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.475493ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.719643ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.365642ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 3.986475ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 3.713066ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 453.609µs | 192.168.192.5 | GET "/clientes/4/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 2.384241ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:07 | 200 | 1.995807ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.398882ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.596536ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 3.086574ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 12.53345ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 3.184288ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.142022ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 374.674µs | 192.168.192.5 | GET "/clientes/1/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.83133ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 4.089356ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.403599ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 1.937802ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.059749ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 3.716282ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.193548ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 3.426791ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.599715ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.2389ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.065247ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 2.506956ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:08 | 200 | 3.060154ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.556926ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.088912ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.735808ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 1.987375ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.42778ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 1.787365ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.41744ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 474.711µs | 192.168.192.5 | GET "/clientes/4/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.955502ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 3.472321ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.193278ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.19019ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 1.818329ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.217408ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 3.202674ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.871058ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 4.617014ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.00872ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.266149ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.455236ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 540.94µs | 192.168.192.5 | GET "/clientes/4/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.179239ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.139332ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:09 | 200 | 2.314064ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 8.075321ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 4.496559ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.885499ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.364641ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.491746ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.328457ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 3.311991ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.938167ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 482.542µs | 192.168.192.5 | GET "/clientes/1/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 3.382768ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 4.517057ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.158274ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 5.868201ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 9.157552ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 3.868231ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.234963ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 3.513916ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.600465ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.256456ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 3.453361ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.015762ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 581.14µs | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 6.003886ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 9.846207ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:10 | 200 | 2.132453ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 4.892049ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 8.864242ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.397055ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.704671ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 3.939704ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 5.685573ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.371941ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 3.296752ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 3.061881ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 466.817µs | 192.168.192.5 | GET "/clientes/4/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.367093ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 3.831467ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.395051ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.187406ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 1.927434ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 5.595264ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 1.984891ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 1.754777ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.963321ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 3.693333ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.741185ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.519782ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.664022ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.020955ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.886445ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.04771ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 1.933835ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 8.200843ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:11 | 200 | 2.082457ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 6.707879ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.083267ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.351192ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 3.511969ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.655528ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 1.98288ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.266886ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.336512ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 1.809608ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.082378ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 620.081µs | 192.168.192.5 | GET "/clientes/4/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.501957ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.853648ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.117973ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 3.078794ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 3.069454ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.142933ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 3.387495ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 6.963592ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.050445ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.021941ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 3.473939ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.458104ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.189494ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 3.713303ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.696662ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 626.827µs | 192.168.192.5 | GET "/clientes/3/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.723251ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 4.683869ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 2.072373ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 1.982578ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:12 | 200 | 3.502686ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.661637ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.390683ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 3.24999ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 3.798595ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.588196ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 4.380709ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.254421ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.632289ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.53684ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 1.969613ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 483.739µs | 192.168.192.5 | GET "/clientes/5/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.4956ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 3.233752ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.154256ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 3.562136ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 1.921327ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.289933ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 3.693917ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | createTransaction &{Saldo insuficiente 422 } +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 422 | 374.976µs | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 5.093731ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 5.766543ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.399357ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.075139ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 11.265732ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.671312ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 1.88942ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 1.893858ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.142469ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 560.121µs | 192.168.192.5 | GET "/clientes/2/extrato" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.317179ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 3.907835ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.629308ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 2.116631ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:13 | 200 | 1.936389ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.374295ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 5.515138ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 6.211259ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.148643ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 1.827359ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.026836ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 1.964823ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 5.022727ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 1.945781ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 6.627849ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.493681ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.017833ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 402.415µs | 192.168.192.5 | GET "/clientes/4/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.523942ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 3.634989ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.240707ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.59587ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 5.144318ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.339858ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.382945ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 3.902972ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 6.04635ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | createTransaction &{Saldo insuficiente 422 } +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 422 | 453.731µs | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.148902ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.802892ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.271057ms | 192.168.192.5 | POST "/clientes/3/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 3.232841ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | createTransaction &{Saldo insuficiente 422 } +app-1 | [GIN] 2024/03/11 - 02:48:14 | 422 | 396.741µs | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.690505ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 4.113776ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.419182ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 505.662µs | 192.168.192.5 | GET "/clientes/2/extrato" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.3428ms | 192.168.192.5 | POST "/clientes/4/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.91086ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.089032ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 2.362387ms | 192.168.192.5 | POST "/clientes/5/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:14 | 200 | 3.09886ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:15 | 200 | 2.350083ms | 192.168.192.5 | POST "/clientes/2/transacoes" +app-1 | [GIN] 2024/03/11 - 02:48:15 | 200 | 4.632618ms | 192.168.192.5 | POST "/clientes/1/transacoes" +app0-1 | [GIN] 2024/03/11 - 02:48:15 | 200 | 6.584577ms | 192.168.192.5 | POST "/clientes/4/transacoes" diff --git a/participantes/tsugami/testada b/participantes/tsugami/testada new file mode 100644 index 000000000..028ccc2da --- /dev/null +++ b/participantes/tsugami/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:52:07 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/vgdss/docker-compose.yml b/participantes/vgdss/docker-compose.yml index ef6ccf27e..a4bf44b61 100644 --- a/participantes/vgdss/docker-compose.yml +++ b/participantes/vgdss/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.5" x-db-connection-settings: &db-connection-settings CREBITO_DB__uri: "postgresql+asyncpg://user:password@127.0.0.1/crebito" CREBITO_DB__pool_size: 10 - CREBITO_DB__max_overflow: 5 + CREBITO_DB__max_overflow: 10 CREBITO_DB__pool_timeout: 60 CREBITO_DB__pool_recycle: 1800 CREBITO_DB__echo: false @@ -12,12 +12,12 @@ x-healthcheck-settings: &default-healthcheck interval: 1s timeout: 3s retries: 5 - start_period: 2s + start_period: 1s services: api1: &api image: docker.io/vgdss/crebito:latest - pull_policy: always + #pull_policy: always hostname: api1 container_name: rinha-api1 depends_on: @@ -67,7 +67,7 @@ services: deploy: resources: limits: - cpus: "0.2" + cpus: "0.1" memory: "50MB" healthcheck: <<: *default-healthcheck @@ -89,7 +89,7 @@ services: deploy: resources: limits: - cpus: "0.4" + cpus: "0.5" memory: "300MB" healthcheck: <<: *default-healthcheck diff --git a/participantes/vgdss/nginx.conf b/participantes/vgdss/nginx.conf index b3703fb14..07222c288 100644 --- a/participantes/vgdss/nginx.conf +++ b/participantes/vgdss/nginx.conf @@ -7,6 +7,7 @@ events { worker_connections 1024; # Reduzido de 1024 para economizar memória, já que a carga é de ~251 req/s. use epoll; accept_mutex off; # set to 'on' if nginx worker_processes > 1 + multi_accept on; } http { @@ -19,33 +20,34 @@ http { tcp_nopush off; # Desativar, pois não estamos preocupados com otimização de cabeçalhos. tcp_nodelay on; # Manter ativado para enviar respostas HTTP rapidamente. - keepalive_requests 5000; + keepalive_requests 1000; keepalive_timeout 120; + proxy_connect_timeout 75s; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; upstream api { server 127.0.0.1:8001; # API 1 server 127.0.0.1:8002; # API 2 - keepalive 8; + keepalive 32; } server { listen 9999; - server_tokens off; - client_max_body_size 20M; + #server_tokens off; + #client_max_body_size 20M; location / { proxy_pass http://api; - proxy_ignore_client_abort on; - proxy_connect_timeout 65s; - proxy_read_timeout 65s; - proxy_send_timeout 65s; - proxy_redirect off; proxy_http_version 1.1; proxy_set_header Connection ""; - proxy_buffering off; + #proxy_ignore_client_abort on; + #proxy_connect_timeout 65s; + #proxy_read_timeout 65s; + #proxy_send_timeout 65s; + #proxy_redirect off; + #proxy_buffering off; } } } diff --git a/participantes/vgdss/postgresql.conf b/participantes/vgdss/postgresql.conf index 0396fe646..02ccc7cfd 100644 --- a/participantes/vgdss/postgresql.conf +++ b/participantes/vgdss/postgresql.conf @@ -1,5 +1,5 @@ listen_addresses='*' -max_connections = 40 +max_connections = 100 # Configurações de Log log_destination = 'stderr' @@ -12,4 +12,4 @@ log_duration=off log_lock_waits=off log_error_verbosity=terse -shared_buffers = 80MB +shared_buffers = 75MB diff --git a/participantes/viniciusnrg/README.md b/participantes/viniciusnrg/README.md new file mode 100644 index 000000000..ca7f87f32 --- /dev/null +++ b/participantes/viniciusnrg/README.md @@ -0,0 +1,12 @@ +# Rinha de Backend: 2024-Q1 + +## Vinicius N R Garcia + +#### Tecnologias: +- `java 21` +- `Spring Boot 3` +- `postgres` +- `nginx` + +[Repositório API](https://github.com/viniciusnrgarcia/rinha-backend-2024-q1) + diff --git a/participantes/viniciusnrg/database.conf b/participantes/viniciusnrg/database.conf new file mode 100644 index 000000000..e6a91dd18 --- /dev/null +++ b/participantes/viniciusnrg/database.conf @@ -0,0 +1,22 @@ +listen_addresses = '*' +max_connections = 100 +fsync = off +synchronous_commit = off +full_page_writes = off +wal_level = minimal +max_wal_senders = 0 +wal_sender_timeout = 0 +shared_buffers = 200MB +temp_buffers = 100MB +work_mem = 32MB +row_security = off +client_min_messages = error +track_counts = off +track_activities = off +log_statement = 'none' +debug_pretty_print = off +log_error_verbosity = terse +log_min_messages = panic +logging_collector = off +log_directory = '/dev/null' +log_min_error_statement = panic \ No newline at end of file diff --git a/participantes/viniciusnrg/docker-compose.yml b/participantes/viniciusnrg/docker-compose.yml new file mode 100644 index 000000000..69f851c69 --- /dev/null +++ b/participantes/viniciusnrg/docker-compose.yml @@ -0,0 +1,102 @@ +version: "3.9" + +services: + api01: &api + # Lembre-se de que seu serviço HTTP deve estar hospedado num repositório + # publicamente acessível! Ex.: hub.docker.com + image: vnrg/rinha-backend-2024-q1:latest + hostname: api01 + # network_mode: "host" + environment: + - DATASOURCE_URL=jdbc:postgresql://db:5432/rinhadb?useSSL=false + # - SERVER_PORT=8081 + # - DB_HOSTNAME=db + + # Não é necessário expor qualquer porta além da porta do load balancer, + # mas é comum as pessoas o fazerem para testarem suas APIs e conectarem + # ao banco de dados na fase de desenvolvimento. + ports: + - "8081:8080" + healthcheck: + test: [ "CMD", "curl", "-f", "http://localhost:8080/actuator/health" ] + interval: 10s + timeout: 20s + retries: 3 + depends_on: + - db + deploy: + resources: + limits: + cpus: "0.20" + memory: "135MB" + + api02: + # Essa sintaxe reusa o que foi declarado em 'api01'. + <<: *api + hostname: api02 + ports: + - "8082:8080" + + nginx: + image: nginx:latest + volumes: + - ./nginx.conf:/etc/nginx/nginx.conf:ro + depends_on: + - api01 + - api02 + ports: + # Obrigatório expor/usar a porta 9999 no load balancer! + - "9999:9999" + deploy: + resources: + limits: + cpus: "0.10" + memory: "40MB" + + db: + image: postgres:latest + hostname: db + environment: + - POSTGRES_PASSWORD=123 + - POSTGRES_USER=admin + - POSTGRES_DB=rinhadb + ports: + - "5432:5432" + volumes: + - ./sql/init.sql:/docker-entrypoint-initdb.d/init.sql + # - ./database.conf:/etc/database.conf + # command: postgres -c config_file="/etc/database.conf" + # command: postgres -c 'max_connections=100' -c 'shared_buffers=200MB' -c 'fsync=off' -c 'effective_cache_size=512MB' -c 'synchronous_commit=off' -c 'checkpoint_timeout=1d' -c 'max_wal_size=1GB' -c 'full_page_writes=false' + command: postgres -c checkpoint_timeout=600 -c max_wal_size=4096 -c synchronous_commit=0 -c fsync=0 -c full_page_writes=0 + deploy: + resources: + limits: + # Note que a soma de todos os limites dos serviços + # aqui declarados é de 1.5 unidades de CPU e 550MB + # de memória. A distribuição feita aqui é apenas + # um exemplo – distribua como quiser. + cpus: "1.00" + memory: "240MB" + # networks: + # - app-network + healthcheck: + test: [ "CMD-SHELL", "pg_isready -U admin -d rinhadb" ] + # test: [ "CMD", "pg_isready", "--username", "admin" ] + interval: 5s + timeout: 5s + retries: 20 + start_period: 10s + +# O uso do modo `bridge` deve ser adequado à carga que será usada no teste. +# A edição anterior se beneficiou do modo host pois o volume de requisições +# era relativamente alto e a virtualização da rede se tornou um gargalo, mas +# este modo é mais complexo de ser configurado. Fique à vontade para usar o +# modo que quiser desde que não conflite com portas trivialmente usadas em um +# SO. +networks: + default: + driver: bridge + name: rinha-nginx-2024q1 +# +#networks: +# app-network: diff --git a/participantes/viniciusnrg/nginx.conf b/participantes/viniciusnrg/nginx.conf new file mode 100644 index 000000000..41cea25a9 --- /dev/null +++ b/participantes/viniciusnrg/nginx.conf @@ -0,0 +1,28 @@ +worker_processes auto; +worker_rlimit_nofile 500000; + +events { + worker_connections 5000; + use epoll; + multi_accept on; + accept_mutex off; +} + +http { + access_log off; + sendfile on; + + upstream api { + server api01:8080; + server api02:8080; + } + + server { + listen 9999; # Lembra da porta 9999 obrigatória? + + location / { + proxy_pass http://api; + proxy_set_header Host $host; + } + } +} \ No newline at end of file diff --git a/participantes/viniciusnrg/sql/init.sql b/participantes/viniciusnrg/sql/init.sql new file mode 100644 index 000000000..2ce428210 --- /dev/null +++ b/participantes/viniciusnrg/sql/init.sql @@ -0,0 +1,80 @@ +CREATE UNLOGGED TABLE IF NOT EXISTS customers ( +-- CREATE TABLE customers ( + id SERIAL PRIMARY KEY NOT NULL, + limit_account INTEGER NULL, + balance INTEGER NULL +); + +CREATE UNLOGGED TABLE IF NOT EXISTS transactions_1 ( +-- CREATE TABLE transactions ( + id INTEGER NULL, + type CHAR(1) NULL, + description VARCHAR(10) NULL, + total_value INTEGER NULL, + created_at TIMESTAMP NULL DEFAULT NOW() +); +CREATE INDEX idx_customer_id_1 ON transactions_1(id); +-- CREATE INDEX idx_customer_id ON transactions(id, created_at); +-- CREATE INDEX idx_cliente_realizada_em ON transacoes (cliente_id, realizada_em); + +CREATE UNLOGGED TABLE IF NOT EXISTS transactions_2 ( +-- CREATE TABLE transactions ( + id INTEGER NULL, + type CHAR(1) NULL, + description VARCHAR(10) NULL, + total_value INTEGER NULL, + created_at TIMESTAMP NULL DEFAULT NOW() +); +CREATE INDEX idx_customer_id_2 ON transactions_2(id); + +CREATE UNLOGGED TABLE IF NOT EXISTS transactions_3 ( +-- CREATE TABLE transactions ( + id INTEGER NULL, + type CHAR(1) NULL, + description VARCHAR(10) NULL, + total_value INTEGER NULL, + created_at TIMESTAMP NULL DEFAULT NOW() +); +CREATE INDEX idx_customer_id_3 ON transactions_3(id); + +CREATE UNLOGGED TABLE IF NOT EXISTS transactions_4 ( +-- CREATE TABLE transactions ( + id INTEGER NULL, + type CHAR(1) NULL, + description VARCHAR(10) NULL, + total_value INTEGER NULL, + created_at TIMESTAMP NULL DEFAULT NOW() +); +CREATE INDEX idx_customer_id_4 ON transactions_4(id); + +CREATE UNLOGGED TABLE IF NOT EXISTS transactions_5 ( +-- CREATE TABLE transactions ( + id INTEGER NULL, + type CHAR(1) NULL, + description VARCHAR(10) NULL, + total_value INTEGER NULL, + created_at TIMESTAMP NULL DEFAULT NOW() +); +CREATE INDEX idx_customer_id_5 ON transactions_5(id); + + +--SET statement_timeout = 0; +--SET lock_timeout = 0; +--SET idle_in_transaction_session_timeout = 0; +--SET client_encoding = 'UTF8'; +--SET standard_conforming_strings = on; +--SET check_function_bodies = false; +--SET xmloption = content; +--SET client_min_messages = warning; +--SET row_security = off; +--SET default_tablespace = ''; +--SET default_table_access_method = heap; + + +INSERT INTO customers (id, limit_account, balance) +VALUES + (1, -100000, 0), + (2, -80000, 0), + (3, -1000000, 0), + (4, -10000000, 0), + (5, -500000, 0); \ No newline at end of file diff --git a/participantes/vitorbgs/docker-compose.logs b/participantes/vitorbgs/docker-compose.logs new file mode 100644 index 000000000..e39d1bb3a --- /dev/null +++ b/participantes/vitorbgs/docker-compose.logs @@ -0,0 +1,500 @@ + Network rinha-nginx-2024q1 Creating + Network rinha-nginx-2024q1 Created + Container vitorbgs-db-1 Creating + Container vitorbgs-db-1 Created + Container vitorbgs-api02-1 Creating + Container vitorbgs-api01-1 Creating + Container vitorbgs-api01-1 Created + Container vitorbgs-api02-1 Created + Container vitorbgs-nginx-1 Creating + Container vitorbgs-nginx-1 Created +Attaching to api01-1, api02-1, db-1, nginx-1 +db-1 | The files belonging to this database system will be owned by user "postgres". +db-1 | This user must also own the server process. +db-1 | +db-1 | The database cluster will be initialized with locale "en_US.utf8". +db-1 | The default database encoding has accordingly been set to "UTF8". +db-1 | The default text search configuration will be set to "english". +db-1 | +db-1 | Data page checksums are disabled. +db-1 | +db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok +db-1 | creating subdirectories ... ok +db-1 | selecting dynamic shared memory implementation ... posix +db-1 | selecting default max_connections ... 100 +db-1 | selecting default shared_buffers ... 128MB +db-1 | selecting default time zone ... Etc/UTC +db-1 | creating configuration files ... ok +db-1 | running bootstrap script ... ok +nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up +api01-1 | info: Microsoft.Hosting.Lifetime[14] +api01-1 | Now listening on: http://[::]:8080 +api01-1 | info: Microsoft.Hosting.Lifetime[0] +api01-1 | Application started. Press Ctrl+C to shut down. +api01-1 | info: Microsoft.Hosting.Lifetime[0] +api01-1 | Hosting environment: Loadtest +api01-1 | info: Microsoft.Hosting.Lifetime[0] +api01-1 | Content root path: /App +api02-1 | info: Microsoft.Hosting.Lifetime[14] +api02-1 | Now listening on: http://[::]:8080 +api02-1 | info: Microsoft.Hosting.Lifetime[0] +api02-1 | Application started. Press Ctrl+C to shut down. +api02-1 | info: Microsoft.Hosting.Lifetime[0] +api02-1 | Hosting environment: Loadtest +api02-1 | info: Microsoft.Hosting.Lifetime[0] +api02-1 | Content root path: /App +db-1 | performing post-bootstrap initialization ... ok +db-1 | syncing data to disk ... ok +db-1 | +db-1 | +db-1 | Success. You can now start the database server using: +db-1 | +db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start +db-1 | +db-1 | initdb: warning: enabling "trust" authentication for local connections +db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. +db-1 | waiting for server to start....2024-03-11 02:52:18.104 UTC [48] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 02:52:18.104 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 02:52:18.105 UTC [51] LOG: database system was shut down at 2024-03-11 02:52:16 UTC +db-1 | 2024-03-11 02:52:18.108 UTC [48] LOG: database system is ready to accept connections +db-1 | done +db-1 | server started +db-1 | CREATE DATABASE +db-1 | +db-1 | +db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql +db-1 | CREATE TABLE +db-1 | CREATE INDEX +db-1 | CREATE TABLE +db-1 | CREATE INDEX +db-1 | DELETE 0 +db-1 | DELETE 0 +db-1 | INSERT 0 5 +db-1 | +db-1 | +db-1 | waiting for server to shut down...2024-03-11 02:52:18.351 UTC [48] LOG: received fast shutdown request +db-1 | .2024-03-11 02:52:18.351 UTC [48] LOG: aborting any active transactions +db-1 | 2024-03-11 02:52:18.352 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 +db-1 | 2024-03-11 02:52:18.415 UTC [49] LOG: shutting down +db-1 | 2024-03-11 02:52:18.415 UTC [49] LOG: checkpoint starting: shutdown immediate +db-1 | 2024-03-11 02:52:18.421 UTC [49] LOG: checkpoint complete: wrote 933 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.006 s, sync=0.001 s, total=0.006 s; sync files=0, longest=0.000 s, average=0.000 s; distance=4292 kB, estimate=4292 kB; lsn=0/191BD80, redo lsn=0/191BD80 +db-1 | 2024-03-11 02:52:18.425 UTC [48] LOG: database system is shut down +db-1 | done +db-1 | server stopped +db-1 | +db-1 | PostgreSQL init process complete; ready for start up. +db-1 | +db-1 | 2024-03-11 02:52:18.465 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit +db-1 | 2024-03-11 02:52:18.465 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 +db-1 | 2024-03-11 02:52:18.465 UTC [1] LOG: listening on IPv6 address "::", port 5432 +db-1 | 2024-03-11 02:52:18.465 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" +db-1 | 2024-03-11 02:52:18.467 UTC [66] LOG: database system was shut down at 2024-03-11 02:52:18 UTC +db-1 | 2024-03-11 02:52:18.470 UTC [1] LOG: database system is ready to accept connections +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=93ms): [ select saldo Total, limite Limite, timezone('utc', now()) data_extrato +api01-1 | from contas where contas.cliente_id = $1, select valor, tipo, descricao, realizada_em +api01-1 | from transacoes +api01-1 | where conta_id = (select id from contas where contas.cliente_id = $1) +api01-1 | order by realizada_em desc +api01-1 | limit 10] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=93ms): [ select saldo Total, limite Limite, timezone('utc', now()) data_extrato +api02-1 | from contas where contas.cliente_id = $1, select valor, tipo, descricao, realizada_em +api02-1 | from transacoes +api02-1 | where conta_id = (select id from contas where contas.cliente_id = $1) +api02-1 | order by realizada_em desc +api02-1 | limit 10] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=3ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=10ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=7ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=9ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:25.737 UTC [72] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.737 UTC [72] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.737 UTC [71] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.737 UTC [71] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=8ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=7ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:25.738 UTC [75] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.738 UTC [75] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.739 UTC [74] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.739 UTC [74] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=99ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:25.740 UTC [73] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.740 UTC [73] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=3ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=11ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=9ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=78ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=3ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=1ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=2ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=3ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:25.823 UTC [71] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.823 UTC [71] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.823 UTC [73] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.823 UTC [73] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=91ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=6ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=1ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=2ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=3ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=1ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=1ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=1ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:25.832 UTC [70] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.832 UTC [70] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.832 UTC [75] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.832 UTC [75] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.832 UTC [77] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.832 UTC [77] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.833 UTC [72] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.833 UTC [72] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.834 UTC [74] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.834 UTC [74] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=3ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:25.834 UTC [71] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.834 UTC [71] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=3ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=4ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:25.835 UTC [73] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.835 UTC [73] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=2ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=5ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=3ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:25.839 UTC [77] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.839 UTC [77] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.840 UTC [75] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.840 UTC [75] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.842 UTC [76] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.842 UTC [76] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:25.843 UTC [73] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.843 UTC [73] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=2ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=7ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=4ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=8ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=10ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=9ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:25.852 UTC [74] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.852 UTC [74] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:25.852 UTC [72] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.852 UTC [72] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=1ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=2ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:25.854 UTC [73] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.854 UTC [73] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=2ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=1ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:25.858 UTC [71] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.858 UTC [71] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:25.859 UTC [74] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.859 UTC [74] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:25.862 UTC [75] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.862 UTC [75] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=4ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:25.863 UTC [70] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.863 UTC [70] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=56ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:25.915 UTC [72] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.915 UTC [72] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=56ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=58ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=58ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:25.917 UTC [76] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.917 UTC [76] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=2ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=1ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:25.921 UTC [75] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:25.921 UTC [75] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=3ms): [ select saldo Total, limite Limite, timezone('utc', now()) data_extrato +api02-1 | from contas where contas.cliente_id = $1, select valor, tipo, descricao, realizada_em +api02-1 | from transacoes +api02-1 | where conta_id = (select id from contas where contas.cliente_id = $1) +api02-1 | order by realizada_em desc +api02-1 | limit 10] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:27.492 UTC [76] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:27.492 UTC [76] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:27.492 UTC [71] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:27.492 UTC [71] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=5ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api01-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=9ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=0ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=0ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=1ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Command execution completed (duration=2ms): select id, limite, saldo from contas where cliente_id = $1 +db-1 | 2024-03-11 02:52:27.502 UTC [71] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:27.502 UTC [71] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:27.502 UTC [76] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:27.502 UTC [76] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:27.502 UTC [73] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:27.502 UTC [73] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=3ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=2ms): select id, limite, saldo from contas where cliente_id = $1 +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=2ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +api02-1 | info: Npgsql.Command[2001] +api02-1 | Batch execution completed (duration=3ms): [UPDATE contas SET saldo = $1 WHERE id = $2, INSERT INTO transacoes (conta_id, valor, descricao, tipo, realizada_em) +api02-1 | VALUES ($1, $2, $3, $4, $5)] +db-1 | 2024-03-11 02:52:27.503 UTC [72] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:27.503 UTC [72] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +db-1 | 2024-03-11 02:52:27.503 UTC [75] ERROR: could not serialize access due to concurrent update +db-1 | 2024-03-11 02:52:27.503 UTC [75] STATEMENT: UPDATE contas SET saldo = $1 WHERE id = $2 +api01-1 | info: Npgsql.Command[2001] +api01-1 | Command execution completed (duration=2ms): select id, limite, saldo from contas where cliente_id = $1 +api01-1 | info: Npgsql.Command[2001] diff --git a/participantes/vitorbgs/testada b/participantes/vitorbgs/testada new file mode 100644 index 000000000..9b7446ef3 --- /dev/null +++ b/participantes/vitorbgs/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:56:35 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente diff --git a/participantes/vitorsalgado-custom-lb-db-conf/README.md b/participantes/vitorsalgado-custom-lb-db-conf/README.md index 293a76d2f..1d070f498 100644 --- a/participantes/vitorsalgado-custom-lb-db-conf/README.md +++ b/participantes/vitorsalgado-custom-lb-db-conf/README.md @@ -4,19 +4,17 @@ ### Stack - Go -- Load Balancer Próprio (Go) +- Envoy - Postgres -- PgBouncer ### Sobre -Similar a submissão anterior com um custom load balancer. +Similar a submissão original em Go. Aqui as configs e as tabelas do Postgres estão usando um setup um pouco mais realista (ex.: sem tabelas com __unlogged__). -Quero ver como essa submissão performa frente as outras. +Quero ver como essa submissão performa frente as outras. ### Links -- [Repositório](https://github.com/vitorsalgado/rinha-2024-q1-custom-lb) -- [Resultados](https://vitorsalgado.github.io/rinha-2024-q1-custom-lb/) +- [Repositório](https://github.com/vitorsalgado/rinha-2024-q1) - [LinkedIn](https://www.linkedin.com/in/vitorsalgado/) - [Twitter](https://twitter.com/vtrsalgado) diff --git a/participantes/vitorsalgado-custom-lb-db-conf/conf/envoy.yaml b/participantes/vitorsalgado-custom-lb-db-conf/conf/envoy.yaml new file mode 100644 index 000000000..94f2f1837 --- /dev/null +++ b/participantes/vitorsalgado-custom-lb-db-conf/conf/envoy.yaml @@ -0,0 +1,69 @@ +admin: + access_log_path: "/dev/null" + +static_resources: + listeners: + - name: rinha_listener_0 + address: + socket_address: { protocol: TCP, address: 0.0.0.0, port_value: 9999 } + filter_chains: + - filters: + - name: envoy.filters.network.http_connection_manager + typed_config: + "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager + generate_request_id: false + stat_prefix: ingress_http + access_log: + - name: envoy.access_loggers.file + typed_config: + "@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog + path: "/dev/null" + http_filters: + - name: envoy.filters.http.router + typed_config: + "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router + dynamic_stats: false + route_config: + name: local_route + virtual_hosts: + - name: local_service + domains: ["*"] + routes: + - match: + prefix: "/" + route: + cluster: rinha_api + + clusters: + - name: rinha_api + connect_timeout: 10s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + load_assignment: + cluster_name: service_envoy + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: 0.0.0.0 + port_value: 8081 + - endpoint: + address: + socket_address: + address: 0.0.0.0 + port_value: 8082 + + # setting high values to disable circuit breaker + circuit_breakers: + thresholds: + - priority: DEFAULT + max_connections: 1000000000 + max_pending_requests: 1000000000 + max_requests: 1000000000 + max_retries: 1000000000 + - priority: HIGH + max_connections: 1000000000 + max_pending_requests: 1000000000 + max_requests: 1000000000 + max_retries: 1000000000 diff --git a/participantes/vitorsalgado-custom-lb-db-conf/conf/postgresql.conf b/participantes/vitorsalgado-custom-lb-db-conf/conf/postgresql.conf new file mode 100644 index 000000000..3a3bd915d --- /dev/null +++ b/participantes/vitorsalgado-custom-lb-db-conf/conf/postgresql.conf @@ -0,0 +1,11 @@ +listen_addresses='*' +max_connections=300 +work_mem=16MB +checkpoint_timeout=600 +shared_buffers=96MB +maintenance_work_mem=24MB +effective_cache_size=64MB +max_worker_processes=1 +max_parallel_workers=1 +max_parallel_maintenance_workers=1 +max_parallel_workers_per_gather=1 diff --git a/participantes/vitorsalgado-custom-lb-db-conf/docker-compose.logs b/participantes/vitorsalgado-custom-lb-db-conf/docker-compose.logs deleted file mode 100644 index c76126ea0..000000000 --- a/participantes/vitorsalgado-custom-lb-db-conf/docker-compose.logs +++ /dev/null @@ -1,106 +0,0 @@ - bouncer Pulling - api01 Pulling - api02 Pulling - lb Pulling - api01 Pulled - bouncer Pulled - api02 Pulled - lb Pulled - Volume "vitorsalgado-custom-lb-db-conf_data" Creating - Volume "vitorsalgado-custom-lb-db-conf_data" Created - Container db Creating - Container db Created - Container api02 Creating - Container api01 Creating - Container bouncer Creating - Container api02 Created - Container bouncer Created - Container api01 Created - Container lb Creating - Container lb Created -Attaching to api01, api02, bouncer, db, lb -db | The files belonging to this database system will be owned by user "postgres". -db | This user must also own the server process. -db | -db | The database cluster will be initialized with locale "en_US.utf8". -db | The default database encoding has accordingly been set to "UTF8". -db | The default text search configuration will be set to "english". -db | -db | Data page checksums are disabled. -db | -db | fixing permissions on existing directory /var/lib/postgresql/data ... ok -db | creating subdirectories ... ok -db | selecting dynamic shared memory implementation ... posix -db | selecting default max_connections ... 100 -db | selecting default shared_buffers ... 128MB -db | selecting default time zone ... Etc/UTC -db | creating configuration files ... ok -db | running bootstrap script ... ok -db | performing post-bootstrap initialization ... ok -db | syncing data to disk ... ok -db | -db | -db | Success. You can now start the database server using: -db | -db | pg_ctl -D /var/lib/postgresql/data -l logfile start -db | -db | initdb: warning: enabling "trust" authentication for local connections -db | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. -db | waiting for server to start....2024-03-10 21:30:30.876 UTC [48] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit -db | 2024-03-10 21:30:30.879 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" -db | 2024-03-10 21:30:30.888 UTC [51] LOG: database system was shut down at 2024-03-10 21:30:29 UTC -db | 2024-03-10 21:30:30.895 UTC [48] LOG: database system is ready to accept connections -db | done -db | server started -db | CREATE DATABASE -db | -db | -db | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script.sql -db | SET -db | CREATE TABLE -db | CREATE TABLE -db | CREATE INDEX -db | CREATE FUNCTION -db | INSERT 0 5 -db | -db | -db | waiting for server to shut down....2024-03-10 21:30:31.107 UTC [48] LOG: received fast shutdown request -db | 2024-03-10 21:30:31.110 UTC [48] LOG: aborting any active transactions -db | 2024-03-10 21:30:31.116 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 -db | 2024-03-10 21:30:31.116 UTC [49] LOG: shutting down -db | 2024-03-10 21:30:31.119 UTC [49] LOG: checkpoint starting: shutdown immediate -db | 2024-03-10 21:30:31.654 UTC [49] LOG: checkpoint complete: wrote 933 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.414 s, sync=0.105 s, total=0.538 s; sync files=307, longest=0.064 s, average=0.001 s; distance=4285 kB, estimate=4285 kB; lsn=0/191A138, redo lsn=0/191A138 -db | 2024-03-10 21:30:31.658 UTC [48] LOG: database system is shut down -db | done -db | server stopped -db | -db | PostgreSQL init process complete; ready for start up. -db | -db | 2024-03-10 21:30:31.732 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit -db | 2024-03-10 21:30:31.732 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 -db | 2024-03-10 21:30:31.732 UTC [1] LOG: listening on IPv6 address "::", port 5432 -db | 2024-03-10 21:30:31.738 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" -db | 2024-03-10 21:30:31.745 UTC [66] LOG: database system was shut down at 2024-03-10 21:30:31 UTC -db | 2024-03-10 21:30:31.752 UTC [1] LOG: database system is ready to accept connections -api02 | 2024/03/10 21:30:34 maxprocs: Updating GOMAXPROCS=1: using minimum allowed GOMAXPROCS -api02 | time=2024-03-10T21:30:34.503Z level=INFO msg="server will listen to addr: :8082" -api01 | 2024/03/10 21:30:34 maxprocs: Updating GOMAXPROCS=1: using minimum allowed GOMAXPROCS -api01 | time=2024-03-10T21:30:34.515Z level=INFO msg="server will listen to addr: :8081" -lb | 2024/03/10 21:30:34 maxprocs: Updating GOMAXPROCS=1: using minimum allowed GOMAXPROCS -lb | time=2024-03-10T21:30:34.628Z level=INFO msg="lb: starting listening on: [::]:9999" -lb exited with code 0 -lb exited with code 0 -api02 exited with code 0 -api02 exited with code 0 -api01 exited with code 0 -api01 exited with code 0 -bouncer exited with code 0 -bouncer exited with code 137 -db | 2024-03-10 21:34:57.397 UTC [1] LOG: received fast shutdown request -db | 2024-03-10 21:34:57.401 UTC [1] LOG: aborting any active transactions -db | 2024-03-10 21:34:57.403 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1 -db | 2024-03-10 21:34:57.403 UTC [64] LOG: shutting down -db | 2024-03-10 21:34:57.407 UTC [64] LOG: checkpoint starting: shutdown immediate -db | 2024-03-10 21:34:57.560 UTC [64] LOG: checkpoint complete: wrote 833 buffers (5.1%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.011 s, sync=0.127 s, total=0.157 s; sync files=29, longest=0.121 s, average=0.005 s; distance=16543 kB, estimate=16543 kB; lsn=0/2941DB0, redo lsn=0/2941DB0 -db | 2024-03-10 21:34:57.564 UTC [1] LOG: database system is shut down -db exited with code 0 diff --git a/participantes/vitorsalgado-custom-lb-db-conf/docker-compose.yml b/participantes/vitorsalgado-custom-lb-db-conf/docker-compose.yml index 91502c8dd..aea640f0d 100644 --- a/participantes/vitorsalgado-custom-lb-db-conf/docker-compose.yml +++ b/participantes/vitorsalgado-custom-lb-db-conf/docker-compose.yml @@ -8,10 +8,10 @@ services: hostname: api01 network_mode: host environment: - - DB_CONN_STRING=user=rinha password=rinha dbname=rinha host=0.0.0.0 port=6432 sslmode=disable pool_min_conns=5 pool_max_conns=5 + - DB_CONN_STRING=user=rinha password=rinha dbname=rinha host=0.0.0.0 port=5432 sslmode=disable pool_min_conns=5 pool_max_conns=5 - ADDR=:8081 - - GOGC=400 - - GOMEMLIMIT=70MiB + - GOGC=off + - GOMEMLIMIT=120MiB depends_on: db: condition: service_healthy @@ -19,7 +19,7 @@ services: resources: limits: cpus: "0.2" - memory: "75MB" + memory: "125MB" api02: <<: *api @@ -27,24 +27,20 @@ services: hostname: api02 network_mode: host environment: - - DB_CONN_STRING=user=rinha password=rinha dbname=rinha host=0.0.0.0 port=6432 sslmode=disable pool_min_conns=5 pool_max_conns=5 + - DB_CONN_STRING=user=rinha password=rinha dbname=rinha host=0.0.0.0 port=5432 sslmode=disable pool_min_conns=5 pool_max_conns=5 - ADDR=:8082 - - GOGC=400 - - GOMEMLIMIT=70MiB + - GOGC=off + - GOMEMLIMIT=120MiB - lb: - image: vitorsalgado/rinha-2024q1-lb - pull_policy: always - container_name: lb - hostname: lb + envoy: + image: envoyproxy/envoy:v1.29-latest + container_name: envoy network_mode: host - environment: - - BACKEND_ENDPOINTS=0.0.0.0:8081,0.0.0.0:8082 - - ADDR=0.0.0.0:9999 - - GOGC=400 - - GOMEMLIMIT=75MiB expose: - "9999" + volumes: + - ./conf/envoy.yaml:/etc/envoy/envoy.yaml:ro + command: /usr/local/bin/envoy -c /etc/envoy/envoy.yaml --concurrency 1 depends_on: - api01 - api02 @@ -52,7 +48,7 @@ services: resources: limits: cpus: "0.3" - memory: "80MB" + memory: "100MB" db: image: postgres:16.2 @@ -66,7 +62,9 @@ services: - "5432" volumes: - ./conf/script.sql:/docker-entrypoint-initdb.d/script.sql + - ./conf/postgresql.conf:/etc/postgresql/postgresql.conf - data:/var/lib/postgresql/data + command: postgres -c config_file=/etc/postgresql/postgresql.conf healthcheck: test: ["CMD", "pg_isready", "--username", "rinha"] interval: 5s @@ -76,28 +74,8 @@ services: deploy: resources: limits: - cpus: "0.6" - memory: "300MB" - - bouncer: - image: vitorsalgado/rinha-2024q1-bouncer - pull_policy: always - container_name: bouncer - environment: - PGB_DATABASES: rinha = host=0.0.0.0 port=5432 pool_mode=statement pool_size=20 - PGB_ADMIN_USERS: rinha - PGB_ADMIN_PASSWORDS: rinha - network_mode: host - expose: - - "6432" - depends_on: - db: - condition: service_healthy - deploy: - resources: - limits: - cpus: "0.2" - memory: "20MB" + cpus: "0.8" + memory: "200MB" volumes: data: diff --git a/participantes/wallacepinho/README.md b/participantes/wallacepinho/README.md new file mode 100644 index 000000000..d61ecc926 --- /dev/null +++ b/participantes/wallacepinho/README.md @@ -0,0 +1,7 @@ +**
API feita em Python com FastAPI, PostgreSQL e NGINX
** + + +Repositório da API: [WallacePinho/rinha-backend-2024-q1-fastapi](https://github.com/WallacePinho/rinha-backend-2024-q1-fastapi) +
+Contato: [LinkedIn](https://www.linkedin.com/in/wallacepinho/) + diff --git a/participantes/wallacepinho/docker-compose.yml b/participantes/wallacepinho/docker-compose.yml new file mode 100644 index 000000000..ae32d7d3d --- /dev/null +++ b/participantes/wallacepinho/docker-compose.yml @@ -0,0 +1,56 @@ +version: "3.5" + +services: + api1: &api + image: wallacepinho/rinha-backend-2024-q1-fastapi + hostname: api1 + environment: + - PYTHONPATH=/code/app + depends_on: + - postgres + deploy: + resources: + limits: + cpus: "0.5" + memory: "200MB" + + api2: + <<: *api + hostname: api2 + + nginx: + image: nginx:latest + volumes: + - ./conf/nginx.conf:/etc/nginx/nginx.conf:ro + depends_on: + - api1 + - api2 + ports: + - "9999:9999" + deploy: + resources: + limits: + cpus: "0.25" + memory: "10MB" + + postgres: + image: postgres:16.2 + hostname: postgres + environment: + - POSTGRES_PASSWORD=rinha + - POSTGRES_USER=rinha + - POSTGRES_DB=rinha + ports: + - "5432:5432" + volumes: + - ./database:/docker-entrypoint-initdb.d/ + deploy: + resources: + limits: + cpus: "0.25" + memory: "140MB" + +networks: + default: + driver: bridge + name: rinha-backend-2024-q1 \ No newline at end of file diff --git a/participantes/wallacepinho/nginx.conf b/participantes/wallacepinho/nginx.conf new file mode 100644 index 000000000..18e66f718 --- /dev/null +++ b/participantes/wallacepinho/nginx.conf @@ -0,0 +1,21 @@ +events { + worker_connections 1000; +} + +http { + access_log off; + sendfile on; + + upstream api { + server api1:80; + server api2:80; + } + + server { + listen 9999; + + location / { + proxy_pass http://api; + } + } +} \ No newline at end of file diff --git a/participantes/wallacepinho/script.sql b/participantes/wallacepinho/script.sql new file mode 100644 index 000000000..ccec42d0c --- /dev/null +++ b/participantes/wallacepinho/script.sql @@ -0,0 +1,24 @@ +create schema rinha; + +-- tables +create table rinha.cliente ( + id integer, + limite integer, + saldo integer +); + +create table rinha.transacao ( + cliente_id integer, + valor integer, + tipo varchar(1), + descricao varchar(10), + realizada_em timestamp +); + +-- data +insert into rinha.cliente(id, limite, saldo) values +(1, 100000, 0), +(2, 80000, 0), +(3, 1000000, 0), +(4, 10000000, 0), +(5, 500000, 0); \ No newline at end of file diff --git a/participantes/wesleyav/docker-compose.logs b/participantes/wesleyav/docker-compose.logs new file mode 100644 index 000000000..f4f38b9c4 --- /dev/null +++ b/participantes/wesleyav/docker-compose.logs @@ -0,0 +1,311 @@ + Network rinha-nginx-2024q1 Creating + Network rinha-nginx-2024q1 Created + Container db-mysql Creating + Container db-mysql Created + Container api01 Creating + Container api01 Created + Container api02 Creating + Container api02 Created + Container load-balancer Creating + Container load-balancer Created +Attaching to api01, api02, db-mysql, load-balancer +db-mysql | 2024-03-11 02:57:00+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.33-1.el8 started. +load-balancer | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration +load-balancer | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ +load-balancer | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh +load-balancer | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf +load-balancer | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf +load-balancer | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh +load-balancer | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh +load-balancer | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh +load-balancer | /docker-entrypoint.sh: Configuration complete; ready for start up +db-mysql | 2024-03-11 02:57:02+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' +db-mysql | 2024-03-11 02:57:02+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.33-1.el8 started. +db-mysql | 2024-03-11 02:57:04+00:00 [Note] [Entrypoint]: Initializing database files +db-mysql | 2024-03-11T02:57:04.116128Z 0 [Warning] [MY-011068] [Server] The syntax '--skip-host-cache' is deprecated and will be removed in a future release. Please use SET GLOBAL host_cache_size=0 instead. +db-mysql | 2024-03-11T02:57:04.116279Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.33) initializing of server in progress as process 80 +db-mysql | 2024-03-11T02:57:04.129059Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. +load-balancer | 2024/03/11 02:57:04 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.3:8082/clientes/1/extrato", host: "localhost:9999" +load-balancer | 2024/03/11 02:57:04 [error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.4:8083/clientes/1/extrato", host: "localhost:9999" +api01 | [INFO] Scanning for projects... +api02 | [INFO] Scanning for projects... +load-balancer | 2024/03/11 02:57:06 [error] 30#30: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.3:8082/clientes/1/extrato", host: "localhost:9999" +load-balancer | 2024/03/11 02:57:06 [error] 30#30: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.4:8083/clientes/1/extrato", host: "localhost:9999" +api01 | [INFO] +api01 | [INFO] ----------------------< com.github.wesleyav:api >----------------------- +api01 | [INFO] Building api 0.0.1-SNAPSHOT +api01 | [INFO] from pom.xml +api01 | [INFO] --------------------------------[ jar ]--------------------------------- +api02 | [INFO] +api02 | [INFO] ----------------------< com.github.wesleyav:api >----------------------- +api02 | [INFO] Building api 0.0.1-SNAPSHOT +api02 | [INFO] from pom.xml +api02 | [INFO] --------------------------------[ jar ]--------------------------------- +api01 | [INFO] +api01 | [INFO] >>> spring-boot:3.2.2:run (default-cli) > test-compile @ api >>> +api02 | [INFO] +api02 | [INFO] >>> spring-boot:3.2.2:run (default-cli) > test-compile @ api >>> +db-mysql | 2024-03-11T02:57:07.123914Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. +load-balancer | 2024/03/11 02:57:08 [error] 31#31: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.3:8082/clientes/1/extrato", host: "localhost:9999" +load-balancer | 2024/03/11 02:57:08 [error] 31#31: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.4:8083/clientes/1/extrato", host: "localhost:9999" +api01 | [INFO] +api01 | [INFO] --- resources:3.3.1:resources (default-resources) @ api --- +api02 | [INFO] +api02 | [INFO] --- resources:3.3.1:resources (default-resources) @ api --- +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.pom +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.pom +api02 | Progress (1): 1.4/6.0 kB Progress (1): 2.8/6.0 kB Progress (1): 4.1/6.0 kB Progress (1): 5.5/6.0 kB Progress (1): 6.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.pom (6.0 kB at 9.7 kB/s) +api01 | Progress (1): 1.4/6.0 kB Progress (1): 2.8/6.0 kB Progress (1): 4.1/6.0 kB Progress (1): 5.5/6.0 kB Progress (1): 6.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.pom (6.0 kB at 8.6 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.pom +api02 | Progress (1): 1.4/8.0 kB Progress (1): 2.8/8.0 kB Progress (1): 4.1/8.0 kB Progress (1): 5.5/8.0 kB Progress (1): 6.9/8.0 kB Progress (1): 8.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.pom (8.0 kB at 99 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.pom +api01 | Progress (1): 1.4/8.0 kB Progress (1): 2.8/8.0 kB Progress (1): 4.1/8.0 kB Progress (1): 5.5/8.0 kB Progress (1): 6.9/8.0 kB Progress (1): 8.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.pom (8.0 kB at 93 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.jar +api02 | Progress (1): 16/85 kB Progress (1): 33/85 kB Progress (1): 49/85 kB Progress (1): 66/85 kB Progress (1): 82/85 kB Progress (1): 85 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.jar (85 kB at 871 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.jar +api02 | Downloading from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.jar +load-balancer | 2024/03/11 02:57:10 [error] 32#32: *10 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.3:8082/clientes/1/extrato", host: "localhost:9999" +load-balancer | 2024/03/11 02:57:10 [error] 32#32: *10 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.4:8083/clientes/1/extrato", host: "localhost:9999" +api01 | Progress (1): 1.4/85 kB Progress (1): 2.8/85 kB Progress (1): 4.1/85 kB Progress (1): 5.5/85 kB Progress (1): 6.9/85 kB Progress (1): 8.3/85 kB Progress (1): 9.7/85 kB Progress (1): 11/85 kB Progress (1): 12/85 kB Progress (1): 14/85 kB Progress (1): 15/85 kB Progress (1): 16/85 kB Progress (1): 32/85 kB Progress (1): 49/85 kB Progress (1): 65/85 kB Progress (1): 81/85 kB Progress (1): 85 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.jar (85 kB at 992 kB/s) +api02 | Progress (1): 16/55 kB Progress (1): 32/55 kB Progress (1): 49/55 kB Progress (1): 55 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.jar (55 kB at 478 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.jar +api01 | Downloading from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar +api01 | Progress (1): 16/55 kB Progress (1): 33/55 kB Progress (1): 49/55 kB Progress (1): 55 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-filtering/3.3.1/maven-filtering-3.3.1.jar (55 kB at 539 kB/s) +api02 | Progress (1): 16/327 kB Progress (1): 33/327 kB Progress (2): 33/327 kB | 16/587 kB Progress (2): 33/327 kB | 33/587 kB Progress (2): 49/327 kB | 33/587 kB Progress (2): 49/327 kB | 49/587 kB Progress (2): 66/327 kB | 49/587 kB Progress (2): 66/327 kB | 66/587 kB Progress (2): 82/327 kB | 66/587 kB Progress (2): 82/327 kB | 82/587 kB Progress (2): 98/327 kB | 82/587 kB Progress (2): 98/327 kB | 98/587 kB Progress (2): 115/327 kB | 98/587 kB Progress (2): 115/327 kB | 115/587 kB Progress (2): 115/327 kB | 131/587 kB Progress (2): 115/327 kB | 147/587 kB Progress (2): 115/327 kB | 164/587 kB Progress (2): 115/327 kB | 180/587 kB Progress (2): 115/327 kB | 197/587 kB Progress (2): 131/327 kB | 197/587 kB Progress (2): 131/327 kB | 213/587 kB Progress (2): 147/327 kB | 213/587 kB Progress (2): 147/327 kB | 229/587 kB Progress (2): 164/327 kB | 229/587 kB Progress (2): 164/327 kB | 246/587 kB Progress (2): 164/327 kB | 256/587 kB Progress (2): 180/327 kB | 256/587 kB Progress (2): 180/327 kB | 272/587 kB Progress (2): 197/327 kB | 272/587 kB Progress (2): 197/327 kB | 289/587 kB Progress (2): 197/327 kB | 305/587 kB Progress (2): 213/327 kB | 305/587 kB Progress (2): 213/327 kB | 321/587 kB Progress (2): 213/327 kB | 338/587 kB Progress (2): 213/327 kB | 354/587 kB Progress (2): 229/327 kB | 354/587 kB Progress (2): 229/327 kB | 370/587 kB Progress (2): 229/327 kB | 387/587 kB Progress (2): 246/327 kB | 387/587 kB Progress (2): 256/327 kB | 387/587 kB Progress (2): 272/327 kB | 387/587 kB Progress (2): 272/327 kB | 403/587 kB Progress (2): 289/327 kB | 403/587 kB Progress (2): 305/327 kB | 403/587 kB Progress (2): 305/327 kB | 420/587 kB Progress (2): 321/327 kB | 420/587 kB Progress (2): 327 kB | 420/587 kB Progress (2): 327 kB | 436/587 kB Progress (2): 327 kB | 452/587 kB Downloaded from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar (327 kB at 635 kB/s) +api01 | Progress (1): 16/327 kB Progress (2): 16/327 kB | 1.4/587 kB Progress (2): 16/327 kB | 2.8/587 kB Progress (2): 16/327 kB | 4.1/587 kB Progress (2): 16/327 kB | 5.5/587 kB Progress (2): 16/327 kB | 6.9/587 kB Progress (2): 33/327 kB | 6.9/587 kB Progress (2): 33/327 kB | 8.3/587 kB Progress (2): 33/327 kB | 9.7/587 kB Progress (2): 33/327 kB | 11/587 kB Progress (2): 49/327 kB | 11/587 kB Progress (2): 49/327 kB | 12/587 kB Progress (2): 49/327 kB | 14/587 kB Progress (2): 66/327 kB | 14/587 kB Progress (2): 82/327 kB | 14/587 kB Progress (2): 82/327 kB | 15/587 kB Progress (2): 82/327 kB | 16/587 kB Progress (2): 98/327 kB | 16/587 kB Progress (2): 98/327 kB | 32/587 kB Progress (2): 98/327 kB | 49/587 kB Progress (2): 98/327 kB | 65/587 kB Progress (2): 115/327 kB | 65/587 kB Progress (2): 115/327 kB | 81/587 kB Progress (2): 131/327 kB | 81/587 kB Progress (2): 147/327 kB | 81/587 kB Progress (2): 147/327 kB | 98/587 kB Progress (2): 164/327 kB | 98/587 kB Progress (2): 180/327 kB | 98/587 kB Progress (2): 180/327 kB | 114/587 kB Progress (2): 197/327 kB | 114/587 kB Progress (2): 213/327 kB | 114/587 kB Progress (2): 229/327 kB | 114/587 kB Progress (2): 229/327 kB | 130/587 kB Progress (2): 246/327 kB | 130/587 kB Progress (2): 256/327 kB | 130/587 kB Progress (2): 272/327 kB | 130/587 kB Progress (2): 289/327 kB | 130/587 kB Progress (2): 305/327 kB | 130/587 kB Progress (2): 321/327 kB | 130/587 kB Progress (2): 321/327 kB | 147/587 kB Progress (2): 321/327 kB | 163/587 kB Progress (2): 321/327 kB | 180/587 kB Progress (2): 321/327 kB | 196/587 kB Progress (2): 321/327 kB | 212/587 kB Progress (2): 327 kB | 212/587 kB Progress (2): 327 kB | 229/587 kB Downloaded from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar (327 kB at 816 kB/s) +api02 | Progress (1): 469/587 kB Progress (1): 485/587 kB Progress (1): 502/587 kB Progress (1): 518/587 kB Progress (1): 534/587 kB Progress (1): 551/587 kB Progress (1): 567/587 kB Progress (1): 583/587 kB Progress (1): 587 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar (587 kB at 955 kB/s) +api01 | Progress (1): 245/587 kB Progress (1): 262/587 kB Progress (1): 278/587 kB Progress (1): 294/587 kB Progress (1): 311/587 kB Progress (1): 327/587 kB Progress (1): 343/587 kB Progress (1): 360/587 kB Progress (1): 376/587 kB Progress (1): 393/587 kB Progress (1): 402/587 kB Progress (1): 418/587 kB Progress (1): 435/587 kB Progress (1): 451/587 kB Progress (1): 468/587 kB Progress (1): 484/587 kB Progress (1): 500/587 kB Progress (1): 517/587 kB Progress (1): 533/587 kB Progress (1): 549/587 kB Progress (1): 566/587 kB Progress (1): 582/587 kB Progress (1): 587 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar (587 kB at 1.0 MB/s) +api02 | [INFO] Copying 4 resources from src/main/resources to target/classes +api01 | [INFO] Copying 4 resources from src/main/resources to target/classes +api02 | [INFO] Copying 1 resource from src/main/resources to target/classes +api02 | [INFO] +api02 | [INFO] --- compiler:3.11.0:compile (default-compile) @ api --- +api01 | [INFO] Copying 1 resource from src/main/resources to target/classes +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom +api01 | [INFO] +api01 | [INFO] --- compiler:3.11.0:compile (default-compile) @ api --- +api02 | Progress (1): 4.7 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom (4.7 kB at 474 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/19/maven-shared-components-19.pom +api02 | Progress (1): 6.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/19/maven-shared-components-19.pom (6.4 kB at 72 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.pom +api01 | Progress (1): 4.7 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom (4.7 kB at 279 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/19/maven-shared-components-19.pom +api02 | Progress (1): 5.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.pom (5.0 kB at 452 kB/s) +api01 | Progress (1): 6.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/19/maven-shared-components-19.pom (6.4 kB at 908 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/1.1.2/plexus-languages-1.1.2.pom +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.pom +api02 | Progress (1): 4.1 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/1.1.2/plexus-languages-1.1.2.pom (4.1 kB at 319 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.pom +api01 | Progress (1): 5.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.pom (5.0 kB at 331 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/1.1.2/plexus-languages-1.1.2.pom +api02 | Progress (1): 2.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.pom (2.4 kB at 182 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.pom +api01 | Progress (1): 4.1 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/1.1.2/plexus-languages-1.1.2.pom (4.1 kB at 57 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.pom +api02 | Progress (1): 16/17 kB Progress (1): 17 kB Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.pom (17 kB at 230 kB/s) +api01 | Progress (1): 2.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.pom (2.4 kB at 339 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.pom +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.pom +api01 | Progress (1): 16/17 kB Progress (1): 17 kB Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.pom (17 kB at 2.2 MB/s) +api02 | Progress (1): 1.1 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.pom (1.1 kB at 151 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.pom +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.13.0/plexus-compiler-2.13.0.pom +api02 | Progress (1): 8.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.13.0/plexus-compiler-2.13.0.pom (8.4 kB at 1.2 MB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/10.0/plexus-components-10.0.pom +api02 | Progress (1): 2.7 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/10.0/plexus-components-10.0.pom (2.7 kB at 43 kB/s) +api01 | Progress (1): 1.1 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.pom (1.1 kB at 106 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.pom +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.13.0/plexus-compiler-2.13.0.pom +api02 | Progress (1): 1.1 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.pom (1.1 kB at 163 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.1.1/plexus-component-annotations-2.1.1.pom +api01 | Progress (1): 8.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.13.0/plexus-compiler-2.13.0.pom (8.4 kB at 762 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/10.0/plexus-components-10.0.pom +api02 | Progress (1): 770 B Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.1.1/plexus-component-annotations-2.1.1.pom (770 B at 110 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/2.1.1/plexus-containers-2.1.1.pom +api01 | Progress (1): 2.7 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/10.0/plexus-components-10.0.pom (2.7 kB at 244 kB/s) +api02 | Progress (1): 6.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/2.1.1/plexus-containers-2.1.1.pom (6.0 kB at 862 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/6.5/plexus-6.5.pom +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.pom +api02 | Progress (1): 16/26 kB Progress (1): 26 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/6.5/plexus-6.5.pom (26 kB at 2.9 MB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.pom +api01 | Progress (1): 1.1 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.pom (1.1 kB at 16 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.1.1/plexus-component-annotations-2.1.1.pom +api02 | Progress (1): 1.2 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.pom (1.2 kB at 120 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.13.0/plexus-compilers-2.13.0.pom +api01 | Progress (1): 770 B Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.1.1/plexus-component-annotations-2.1.1.pom (770 B at 96 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/2.1.1/plexus-containers-2.1.1.pom +api02 | Progress (1): 1.3 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.13.0/plexus-compilers-2.13.0.pom (1.3 kB at 165 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.jar +api01 | Progress (1): 6.0 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/2.1.1/plexus-containers-2.1.1.pom (6.0 kB at 503 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/6.5/plexus-6.5.pom +api01 | Progress (1): 16/26 kB Progress (1): 26 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/6.5/plexus-6.5.pom (26 kB at 3.7 MB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.pom +api02 | Progress (1): 16/153 kB Progress (1): 33/153 kB Progress (1): 49/153 kB Progress (1): 66/153 kB Progress (1): 82/153 kB Progress (1): 98/153 kB Progress (1): 115/153 kB Progress (1): 131/153 kB Progress (1): 147/153 kB Progress (1): 153 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.jar (153 kB at 1.9 MB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.jar +api01 | Progress (1): 1.2 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.pom (1.2 kB at 120 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.jar +api02 | Progress (1): 16/215 kB Progress (1): 32/215 kB Progress (2): 32/215 kB | 14 kB Progress (2): 49/215 kB | 14 kB Progress (2): 65/215 kB | 14 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar (14 kB at 1.5 MB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.jar +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.13.0/plexus-compilers-2.13.0.pom +api01 | Progress (1): 1.3 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.13.0/plexus-compilers-2.13.0.pom (1.3 kB at 189 kB/s) +api02 | Progress (1): 81/215 kB Progress (1): 98/215 kB Progress (2): 98/215 kB | 4.2 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar (4.2 kB at 234 kB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.jar +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.jar +api02 | Progress (1): 114/215 kB Progress (1): 130/215 kB Progress (1): 147/215 kB Progress (1): 163/215 kB Progress (1): 180/215 kB Progress (1): 196/215 kB Progress (1): 212/215 kB Progress (1): 215 kB Progress (2): 215 kB | 16/334 kB Progress (3): 215 kB | 16/334 kB | 16/27 kB Progress (3): 215 kB | 16/334 kB | 27 kB Progress (3): 215 kB | 33/334 kB | 27 kB Progress (3): 215 kB | 49/334 kB | 27 kB Progress (3): 215 kB | 66/334 kB | 27 kB Progress (3): 215 kB | 82/334 kB | 27 kB Progress (3): 215 kB | 98/334 kB | 27 kB Progress (3): 215 kB | 115/334 kB | 27 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.jar (27 kB at 287 kB/s) +api02 | Progress (3): 215 kB | 115/334 kB | 1.4/55 kB Downloaded from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar (215 kB at 2.1 MB/s) +api02 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.jar +api02 | Progress (2): 115/334 kB | 2.8/55 kB Progress (2): 115/334 kB | 4.1/55 kB Progress (2): 115/334 kB | 5.5/55 kB Progress (2): 115/334 kB | 6.9/55 kB Progress (2): 115/334 kB | 8.3/55 kB Progress (2): 115/334 kB | 9.7/55 kB Progress (2): 115/334 kB | 11/55 kB Progress (2): 115/334 kB | 12/55 kB Progress (2): 115/334 kB | 14/55 kB Progress (2): 115/334 kB | 15/55 kB Progress (2): 115/334 kB | 17/55 kB Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.jar +api02 | Progress (2): 115/334 kB | 18/55 kB Progress (2): 115/334 kB | 19/55 kB Progress (2): 115/334 kB | 21/55 kB Progress (2): 115/334 kB | 22/55 kB Progress (2): 115/334 kB | 23/55 kB Progress (2): 115/334 kB | 25/55 kB Progress (2): 115/334 kB | 26/55 kB Progress (2): 115/334 kB | 28/55 kB Progress (3): 115/334 kB | 28/55 kB | 16/267 kB Progress (4): 115/334 kB | 28/55 kB | 16/267 kB | 16/122 kB Progress (4): 115/334 kB | 29/55 kB | 16/267 kB | 16/122 kB Progress (4): 115/334 kB | 29/55 kB | 32/267 kB | 16/122 kB Progress (4): 115/334 kB | 29/55 kB | 49/267 kB | 16/122 kB Progress (4): 115/334 kB | 29/55 kB | 65/267 kB | 16/122 kB Progress (4): 115/334 kB | 30/55 kB | 65/267 kB | 16/122 kB Progress (4): 115/334 kB | 32/55 kB | 65/267 kB | 16/122 kB Progress (4): 131/334 kB | 32/55 kB | 65/267 kB | 16/122 kB Progress (4): 131/334 kB | 32/55 kB | 65/267 kB | 33/122 kB Progress (4): 131/334 kB | 33/55 kB | 65/267 kB | 33/122 kB Progress (4): 131/334 kB | 33/55 kB | 81/267 kB | 33/122 kB Progress (4): 131/334 kB | 33/55 kB | 98/267 kB | 33/122 kB Progress (4): 131/334 kB | 33/55 kB | 114/267 kB | 33/122 kB Progress (5): 131/334 kB | 33/55 kB | 114/267 kB | 33/122 kB | 4.7 kB Progress (5): 131/334 kB | 33/55 kB | 114/267 kB | 49/122 kB | 4.7 kB Progress (5): 131/334 kB | 33/55 kB | 130/267 kB | 49/122 kB | 4.7 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.jar (4.7 kB at 42 kB/s) +api02 | Progress (4): 131/334 kB | 33/55 kB | 130/267 kB | 66/122 kB Progress (4): 131/334 kB | 33/55 kB | 147/267 kB | 66/122 kB Progress (4): 131/334 kB | 33/55 kB | 147/267 kB | 82/122 kB Progress (4): 147/334 kB | 33/55 kB | 147/267 kB | 82/122 kB Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.jar +api01 | Progress (1): 16/153 kB Progress (1): 32/153 kB Progress (1): 49/153 kB Progress (1): 65/153 kB Progress (1): 81/153 kB Progress (1): 98/153 kB Progress (1): 114/153 kB Progress (1): 131/153 kB Progress (1): 147/153 kB Progress (1): 153 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.jar (153 kB at 1.6 MB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.jar +api01 | Progress (1): 16/215 kB Progress (1): 33/215 kB Progress (1): 49/215 kB Progress (2): 49/215 kB | 14 kB Progress (2): 66/215 kB | 14 kB Progress (3): 66/215 kB | 14 kB | 4.2 kB Progress (3): 82/215 kB | 14 kB | 4.2 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar (4.2 kB at 53 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.jar +api02 | Progress (4): 147/334 kB | 33/55 kB | 163/267 kB | 82/122 kB Progress (4): 147/334 kB | 33/55 kB | 180/267 kB | 82/122 kB Progress (4): 147/334 kB | 33/55 kB | 196/267 kB | 82/122 kB Progress (4): 147/334 kB | 33/55 kB | 212/267 kB | 82/122 kB Progress (4): 147/334 kB | 33/55 kB | 229/267 kB | 82/122 kB Progress (4): 147/334 kB | 33/55 kB | 245/267 kB | 82/122 kB Progress (4): 147/334 kB | 33/55 kB | 262/267 kB | 82/122 kB Progress (4): 147/334 kB | 33/55 kB | 267 kB | 82/122 kB Progress (4): 164/334 kB | 33/55 kB | 267 kB | 82/122 kB Progress (4): 180/334 kB | 33/55 kB | 267 kB | 82/122 kB Progress (4): 197/334 kB | 33/55 kB | 267 kB | 82/122 kB Progress (4): 213/334 kB | 33/55 kB | 267 kB | 82/122 kB Progress (4): 229/334 kB | 33/55 kB | 267 kB | 82/122 kB Progress (4): 246/334 kB | 33/55 kB | 267 kB | 82/122 kB Progress (4): 256/334 kB | 33/55 kB | 267 kB | 82/122 kB Progress (4): 256/334 kB | 33/55 kB | 267 kB | 98/122 kB Progress (4): 272/334 kB | 33/55 kB | 267 kB | 98/122 kB Progress (4): 272/334 kB | 33/55 kB | 267 kB | 115/122 kB Progress (4): 272/334 kB | 33/55 kB | 267 kB | 122 kB Progress (5): 272/334 kB | 33/55 kB | 267 kB | 122 kB | 16/23 kB Progress (5): 272/334 kB | 33/55 kB | 267 kB | 122 kB | 23 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.jar (23 kB at 117 kB/s) +api02 | Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.jar (267 kB at 1.4 MB/s) +api01 | Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar (14 kB at 167 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.jar +api02 | Progress (3): 289/334 kB | 33/55 kB | 122 kB Progress (3): 305/334 kB | 33/55 kB | 122 kB Progress (3): 321/334 kB | 33/55 kB | 122 kB Progress (3): 334 kB | 33/55 kB | 122 kB Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.jar (334 kB at 1.7 MB/s) +api02 | Progress (2): 34/55 kB | 122 kB Progress (2): 36/55 kB | 122 kB Progress (2): 37/55 kB | 122 kB Progress (2): 39/55 kB | 122 kB Progress (2): 40/55 kB | 122 kB Progress (2): 41/55 kB | 122 kB Progress (2): 43/55 kB | 122 kB Progress (2): 44/55 kB | 122 kB Progress (2): 46/55 kB | 122 kB Progress (2): 47/55 kB | 122 kB Progress (2): 48/55 kB | 122 kB Progress (2): 50/55 kB | 122 kB Progress (2): 51/55 kB | 122 kB Progress (2): 52/55 kB | 122 kB Progress (2): 54/55 kB | 122 kB Progress (2): 55 kB | 122 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.jar (55 kB at 263 kB/s) +api02 | Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.jar (122 kB at 589 kB/s) +api01 | Progress (1): 98/215 kB Progress (1): 115/215 kB Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.jar +api01 | Progress (1): 131/215 kB Progress (1): 147/215 kB Progress (1): 164/215 kB Progress (1): 180/215 kB Progress (1): 197/215 kB Progress (1): 213/215 kB Progress (1): 215 kB Progress (2): 215 kB | 16/27 kB Progress (2): 215 kB | 27 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.jar (27 kB at 872 kB/s) +api01 | Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.jar +load-balancer | 2024/03/11 02:57:12 [error] 29#29: *13 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api01 | Progress (2): 215 kB | 16/122 kB Progress (2): 215 kB | 33/122 kB Progress (2): 215 kB | 49/122 kB Progress (3): 215 kB | 49/122 kB | 16/334 kB Progress (4): 215 kB | 49/122 kB | 16/334 kB | 1.4/55 kB Progress (4): 215 kB | 49/122 kB | 33/334 kB | 1.4/55 kB Progress (4): 215 kB | 66/122 kB | 33/334 kB | 1.4/55 kB Progress (4): 215 kB | 82/122 kB | 33/334 kB | 1.4/55 kB Progress (4): 215 kB | 98/122 kB | 33/334 kB | 1.4/55 kB Progress (4): 215 kB | 98/122 kB | 33/334 kB | 2.8/55 kB Progress (4): 215 kB | 98/122 kB | 33/334 kB | 4.1/55 kB Progress (4): 215 kB | 98/122 kB | 33/334 kB | 5.5/55 kB Downloaded from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar (215 kB at 1.1 MB/s) +api01 | Progress (3): 98/122 kB | 49/334 kB | 5.5/55 kB Progress (3): 98/122 kB | 49/334 kB | 6.9/55 kB Progress (3): 98/122 kB | 49/334 kB | 8.3/55 kB Progress (3): 98/122 kB | 49/334 kB | 9.7/55 kB Progress (4): 98/122 kB | 49/334 kB | 9.7/55 kB | 16/267 kB Progress (4): 98/122 kB | 49/334 kB | 11/55 kB | 16/267 kB Progress (4): 98/122 kB | 66/334 kB | 11/55 kB | 16/267 kB Progress (4): 98/122 kB | 66/334 kB | 12/55 kB | 16/267 kB Progress (4): 98/122 kB | 66/334 kB | 14/55 kB | 16/267 kB Progress (4): 98/122 kB | 66/334 kB | 15/55 kB | 16/267 kB Progress (4): 98/122 kB | 66/334 kB | 17/55 kB | 16/267 kB Progress (4): 115/122 kB | 66/334 kB | 17/55 kB | 16/267 kB Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.jar +api01 | Progress (4): 115/122 kB | 82/334 kB | 17/55 kB | 16/267 kB Progress (4): 115/122 kB | 82/334 kB | 17/55 kB | 33/267 kB Progress (4): 115/122 kB | 82/334 kB | 17/55 kB | 49/267 kB Progress (4): 115/122 kB | 98/334 kB | 17/55 kB | 49/267 kB Progress (4): 115/122 kB | 115/334 kB | 17/55 kB | 49/267 kB Progress (5): 115/122 kB | 115/334 kB | 17/55 kB | 49/267 kB | 4.7 kB Progress (5): 115/122 kB | 131/334 kB | 17/55 kB | 49/267 kB | 4.7 kB Progress (5): 115/122 kB | 131/334 kB | 17/55 kB | 66/267 kB | 4.7 kB Progress (5): 115/122 kB | 147/334 kB | 17/55 kB | 66/267 kB | 4.7 kB Progress (5): 115/122 kB | 164/334 kB | 17/55 kB | 66/267 kB | 4.7 kB Progress (5): 115/122 kB | 164/334 kB | 18/55 kB | 66/267 kB | 4.7 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.jar (4.7 kB at 23 kB/s) +api01 | Progress (4): 115/122 kB | 164/334 kB | 18/55 kB | 82/267 kB Progress (4): 115/122 kB | 180/334 kB | 18/55 kB | 82/267 kB Progress (4): 115/122 kB | 180/334 kB | 19/55 kB | 82/267 kB Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.jar +api01 | Progress (4): 122 kB | 180/334 kB | 19/55 kB | 82/267 kB Progress (4): 122 kB | 180/334 kB | 19/55 kB | 98/267 kB Progress (4): 122 kB | 197/334 kB | 19/55 kB | 98/267 kB Progress (4): 122 kB | 197/334 kB | 21/55 kB | 98/267 kB Progress (4): 122 kB | 197/334 kB | 21/55 kB | 115/267 kB Progress (4): 122 kB | 197/334 kB | 22/55 kB | 115/267 kB Progress (4): 122 kB | 197/334 kB | 23/55 kB | 115/267 kB Progress (4): 122 kB | 197/334 kB | 25/55 kB | 115/267 kB Progress (4): 122 kB | 197/334 kB | 26/55 kB | 115/267 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.jar (122 kB at 419 kB/s) +api01 | Progress (3): 213/334 kB | 26/55 kB | 115/267 kB Progress (4): 213/334 kB | 26/55 kB | 115/267 kB | 16/23 kB Progress (4): 213/334 kB | 26/55 kB | 131/267 kB | 16/23 kB Progress (4): 229/334 kB | 26/55 kB | 131/267 kB | 16/23 kB Progress (4): 229/334 kB | 26/55 kB | 131/267 kB | 23 kB Progress (4): 229/334 kB | 28/55 kB | 131/267 kB | 23 kB Progress (4): 246/334 kB | 28/55 kB | 131/267 kB | 23 kB Progress (4): 256/334 kB | 28/55 kB | 131/267 kB | 23 kB Progress (4): 272/334 kB | 28/55 kB | 131/267 kB | 23 kB Progress (4): 289/334 kB | 28/55 kB | 131/267 kB | 23 kB Progress (4): 305/334 kB | 28/55 kB | 131/267 kB | 23 kB Progress (4): 305/334 kB | 28/55 kB | 147/267 kB | 23 kB Progress (4): 321/334 kB | 28/55 kB | 147/267 kB | 23 kB Progress (4): 321/334 kB | 29/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 29/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 30/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 32/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 33/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 34/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 36/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 37/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 39/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 40/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 41/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 43/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 44/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 46/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 47/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 48/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 50/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 51/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 52/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 54/55 kB | 147/267 kB | 23 kB Progress (4): 334 kB | 55 kB | 147/267 kB | 23 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.jar (55 kB at 145 kB/s) +api01 | Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.jar (23 kB at 73 kB/s) +api01 | Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.jar (334 kB at 1.1 MB/s) +api01 | Progress (1): 164/267 kB Progress (1): 180/267 kB Progress (1): 197/267 kB Progress (1): 213/267 kB Progress (1): 229/267 kB Progress (1): 246/267 kB Progress (1): 262/267 kB Progress (1): 267 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.jar (267 kB at 838 kB/s) +api02 | [INFO] Changes detected - recompiling the module! :source +api02 | [INFO] Compiling 24 source files with javac [debug release 17] to target/classes +api01 | [INFO] Changes detected - recompiling the module! :source +api01 | [INFO] Compiling 24 source files with javac [debug release 17] to target/classes +db-mysql | 2024-03-11T02:57:13.928549Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. +load-balancer | 2024/03/11 02:57:14 [error] 29#29: *14 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api01 exited with code 0 +api02 exited with code 0 +load-balancer | 2024/03/11 02:57:17 [error] 29#29: *15 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.4:8083/clientes/1/extrato", host: "localhost:9999" +load-balancer | 2024/03/11 02:57:17 [error] 29#29: *15 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.3:8082/clientes/1/extrato", host: "localhost:9999" +load-balancer | 2024/03/11 02:57:19 [error] 29#29: *18 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api01 | [INFO] Scanning for projects... +load-balancer | 2024/03/11 02:57:21 [error] 29#29: *19 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api02 | [INFO] Scanning for projects... +api01 | [INFO] +api01 | [INFO] ----------------------< com.github.wesleyav:api >----------------------- +api01 | [INFO] Building api 0.0.1-SNAPSHOT +api01 | [INFO] from pom.xml +api01 | [INFO] --------------------------------[ jar ]--------------------------------- +api01 | [INFO] +api01 | [INFO] >>> spring-boot:3.2.2:run (default-cli) > test-compile @ api >>> +api02 | [INFO] +api02 | [INFO] ----------------------< com.github.wesleyav:api >----------------------- +api02 | [INFO] Building api 0.0.1-SNAPSHOT +api02 | [INFO] from pom.xml +api02 | [INFO] --------------------------------[ jar ]--------------------------------- +api02 | [INFO] +api02 | [INFO] >>> spring-boot:3.2.2:run (default-cli) > test-compile @ api >>> +load-balancer | 2024/03/11 02:57:23 [error] 29#29: *20 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api01 | [INFO] +api01 | [INFO] --- resources:3.3.1:resources (default-resources) @ api --- +api02 | [INFO] +api02 | [INFO] --- resources:3.3.1:resources (default-resources) @ api --- +api01 | [INFO] Copying 4 resources from src/main/resources to target/classes +api02 | [INFO] Copying 4 resources from src/main/resources to target/classes +api01 | [INFO] Copying 1 resource from src/main/resources to target/classes +api01 | [INFO] +api01 | [INFO] --- compiler:3.11.0:compile (default-compile) @ api --- +load-balancer | 2024/03/11 02:57:25 [error] 29#29: *21 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api02 | [INFO] Copying 1 resource from src/main/resources to target/classes +api02 | [INFO] +api02 | [INFO] --- compiler:3.11.0:compile (default-compile) @ api --- +api01 | [INFO] Changes detected - recompiling the module! :source +api01 | [INFO] Compiling 24 source files with javac [debug release 17] to target/classes +api02 | [INFO] Changes detected - recompiling the module! :source +api02 | [INFO] Compiling 24 source files with javac [debug release 17] to target/classes +db-mysql | 2024-03-11 02:57:26+00:00 [Note] [Entrypoint]: Database files initialized +db-mysql | 2024-03-11 02:57:26+00:00 [Note] [Entrypoint]: Starting temporary server +load-balancer | 2024/03/11 02:57:27 [error] 29#29: *22 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +db-mysql | /usr/local/bin/docker-entrypoint.sh: line 122: 130 Killed "$@" --daemonize --skip-networking --default-time-zone=SYSTEM --socket="${SOCKET}" +db-mysql | 2024-03-11 02:57:28+00:00 [ERROR] [Entrypoint]: Unable to start server. +db-mysql exited with code 0 +load-balancer | 2024/03/11 02:57:29 [error] 29#29: *23 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.4:8083/clientes/1/extrato", host: "localhost:9999" +load-balancer | 2024/03/11 02:57:29 [error] 29#29: *23 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.3:8082/clientes/1/extrato", host: "localhost:9999" +db-mysql | 2024-03-11 02:57:31+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' +db-mysql | 2024-03-11 02:57:31+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.33-1.el8 started. +load-balancer | 2024/03/11 02:57:31 [error] 29#29: *26 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +db-mysql | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' +api02 exited with code 0 +api01 exited with code 0 +load-balancer | 2024/03/11 02:57:33 [error] 29#29: *27 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +db-mysql exited with code 0 +load-balancer | 2024/03/11 02:57:35 [error] 29#29: *28 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +db-mysql | 2024-03-11 02:57:37+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' +db-mysql | 2024-03-11 02:57:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.33-1.el8 started. +load-balancer | 2024/03/11 02:57:37 [error] 29#29: *29 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api02 | [INFO] Scanning for projects... +api01 | [INFO] Scanning for projects... +db-mysql | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' +api02 | [INFO] +api02 | [INFO] ----------------------< com.github.wesleyav:api >----------------------- +api02 | [INFO] Building api 0.0.1-SNAPSHOT +api02 | [INFO] from pom.xml +api02 | [INFO] --------------------------------[ jar ]--------------------------------- +api01 | [INFO] +api01 | [INFO] ----------------------< com.github.wesleyav:api >----------------------- +api01 | [INFO] Building api 0.0.1-SNAPSHOT +api01 | [INFO] from pom.xml +api01 | [INFO] --------------------------------[ jar ]--------------------------------- +api02 | [INFO] +api02 | [INFO] >>> spring-boot:3.2.2:run (default-cli) > test-compile @ api >>> +api01 | [INFO] +api01 | [INFO] >>> spring-boot:3.2.2:run (default-cli) > test-compile @ api >>> +load-balancer | 2024/03/11 02:57:39 [error] 29#29: *30 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +api01 | [INFO] +api01 | [INFO] --- resources:3.3.1:resources (default-resources) @ api --- +api02 | [INFO] +api02 | [INFO] --- resources:3.3.1:resources (default-resources) @ api --- +load-balancer | 2024/03/11 02:57:41 [error] 29#29: *31 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.4:8083/clientes/1/extrato", host: "localhost:9999" +load-balancer | 2024/03/11 02:57:41 [error] 29#29: *31 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://192.168.224.3:8082/clientes/1/extrato", host: "localhost:9999" +api01 | [INFO] Copying 4 resources from src/main/resources to target/classes +api02 | [INFO] Copying 4 resources from src/main/resources to target/classes +db-mysql exited with code 0 +api02 | [INFO] Copying 1 resource from src/main/resources to target/classes +api02 | [INFO] +api02 | [INFO] --- compiler:3.11.0:compile (default-compile) @ api --- +api01 | [INFO] Copying 1 resource from src/main/resources to target/classes +api01 | [INFO] +api01 | [INFO] --- compiler:3.11.0:compile (default-compile) @ api --- +api02 | [INFO] Changes detected - recompiling the module! :source +api02 | [INFO] Compiling 24 source files with javac [debug release 17] to target/classes +api01 | [INFO] Changes detected - recompiling the module! :source +api01 | [INFO] Compiling 24 source files with javac [debug release 17] to target/classes +db-mysql | 2024-03-11 02:57:43+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' +db-mysql | 2024-03-11 02:57:43+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.33-1.el8 started. +load-balancer | 2024/03/11 02:57:43 [error] 29#29: *34 no live upstreams while connecting to upstream, client: 192.168.224.1, server: , request: "GET /clientes/1/extrato HTTP/1.1", upstream: "http://api/clientes/1/extrato", host: "localhost:9999" +db-mysql | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' +load-balancer exited with code 0 +load-balancer exited with code 0 +db-mysql exited with code 137 +api02 exited with code 0 +api02 exited with code 143 +api01 exited with code 0 +api01 exited with code 143 +db-mysql | 2024-03-11 02:57:49+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' +db-mysql | 2024-03-11 02:57:49+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.33-1.el8 started. +db-mysql | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' +db-mysql exited with code 0 diff --git a/participantes/wesleyav/testada b/participantes/wesleyav/testada new file mode 100644 index 000000000..1cd938e15 --- /dev/null +++ b/participantes/wesleyav/testada @@ -0,0 +1,2 @@ +testada em Mon Mar 11 02:57:52 UTC 2024 +abra um PR removendo esse arquivo caso queira que sua API seja testada novamente