99 Commits

Author SHA1 Message Date
995cbfd035 Add @nestjs/throttler 6.4.0 to yarn.lock 2025-08-17 23:41:51 -04:00
40d1ce9fcf Move img.png to report directory and update README 2025-08-17 23:41:45 -04:00
808b509821 Add report output files (HTML, JSON, image) 2025-08-17 23:41:36 -04:00
e356760421 feat: previa img report 2025-08-17 22:36:34 -04:00
10487d3679 Merge branch 'main' of github.com:jos3duardo/rinha-backend-2025 2025-08-17 22:33:07 -04:00
31609016e9 Update README with detailed project overview and architecture 2025-08-17 22:32:23 -04:00
53c5d2ac5b feat: ajusta limitis 2025-08-17 22:32:13 -04:00
1f0847569d feat: adiciona payment processor 2025-08-17 22:31:55 -04:00
José Eduardo
c7cd628caa
Merge branch 'master' into main 2025-08-17 19:35:42 -04:00
1047c9fc26 Update memory limits for web and database services 2025-08-17 19:18:11 -04:00
92f48cbc30 Adjust memory limits for app, redis, and database services 2025-08-17 18:38:36 -04:00
e24a80e4f3 Reduce payment processor concurrency to 5 2025-08-17 18:38:21 -04:00
509f1be564 Increase database connection pool max to 10 2025-08-17 18:38:06 -04:00
8d829ddf36 Add index on payments.correlation_id 2025-08-17 18:37:56 -04:00
55fece0233 Update memory limits for several services in docker-compose 2025-08-17 15:49:32 -04:00
0b282fd471 Increase payment processor concurrency to 10 2025-08-17 15:49:27 -04:00
5ed5677405 Update resource limits and restart policy in compose file 2025-08-17 15:23:42 -04:00
f55ea5b731 Reduce DB pool size, payment concurrency, and job attempts 2025-08-17 15:23:35 -04:00
a929d89fb3 otimizado para funcionar sem limites de cpu e ram 2025-08-17 14:55:53 -04:00
e2c7dd647d Increase payment processor request timeout to 2500ms 2025-08-17 04:31:12 -04:00
fe06faf0e8 Remove unused repository and related code from fallback processor 2025-08-17 04:31:07 -04:00
f229d31398 Set max database connections to 5 in config 2025-08-17 04:31:01 -04:00
c98379f13f Add @nestjs/throttler dependency 2025-08-17 04:30:56 -04:00
7e9251be64 Increase worker connections and update upstream settings 2025-08-17 04:30:51 -04:00
bb80471b2a Update payments table constraints and remove indexes 2025-08-17 04:30:45 -04:00
95af8deae8 Use query to insert payment and handle conflicts 2025-08-17 04:30:39 -04:00
b7ebc29af4 Increase payment processor concurrency and add error logging 2025-08-17 04:30:34 -04:00
8ab96b8292 Handle duplicate payment and log processor errors 2025-08-17 04:30:30 -04:00
7d1d01310a Increase payment job attempts and backoff delay 2025-08-17 04:30:26 -04:00
ac1dcc2a6b Add api3 service and update resource limits and restarts 2025-08-17 04:30:20 -04:00
af8c1260d5 Remove hostname entries from docker-compose.yml for services 2025-08-12 09:14:30 -04:00
4ee047fb9b Refactor Docker configuration and SQL initialization for improved resource management and table structure 2025-08-12 09:09:53 -04:00
5d268e8a5d Refactor payment processing services to use CreatePaymentDto and simplify job handling 2025-08-12 09:09:43 -04:00
96b1e8cd80 Refactor payment processing services to use CreatePaymentDto and simplify job handling 2025-08-12 09:09:37 -04:00
434f03f6c6 Refactor payment processors to use CreatePaymentDto and streamline payment execution logic 2025-08-12 09:09:31 -04:00
3c2c43106a Refactor payment entity to use correlationId as primary key and remove unused fields 2025-08-12 09:09:25 -04:00
4c8b331be0 Refactor database module to disable synchronization in production 2025-08-12 09:09:19 -04:00
d03456bd6a Update docker-compose configuration for payment service images and resource limits 2025-08-11 23:57:26 -04:00
44d21423db Add partial results JSON file with payment processing metrics and descriptions 2025-08-11 23:54:35 -04:00
8dde9b96e3 Refactor docker-compose.yml to update resource limits for services 2025-08-11 23:54:14 -04:00
ddaa57d96d Refactor app module to remove unused HealthModule import 2025-08-11 23:54:09 -04:00
68fc4c2f99 Refactor payments module to remove unused imports and streamline dependencies 2025-08-11 23:54:04 -04:00
7773a4f45e Refactor payment processing to utilize PaymentJobData and streamline execution logic 2025-08-11 23:53:58 -04:00
d28c9897da Refactor payment storage to remove unnecessary status assignment and include creation timestamp 2025-08-11 23:53:53 -04:00
bad88f2016 Refactor payment execution to use PaymentJobData for improved data handling 2025-08-11 23:53:45 -04:00
2ab9284c85 Refactor payment processors to improve concurrency and streamline payment execution 2025-08-11 23:53:12 -04:00
7d5827871d Refactor payment job handling to simplify retry logic and update job parameters 2025-08-11 23:53:04 -04:00
b2273181b9 Refactor payment job handling to simplify retry logic and update job parameters 2025-08-11 23:52:50 -04:00
717046120c Update README.md to reflect project name and features 2025-08-11 23:52:39 -04:00
b233069ffb Update README.md to reflect project name and features 2025-08-11 13:38:24 -04:00