Example of integrating different applications for data exchange.
(work in progress)
Save in a map, using mutex to handle async r/w
Concurrently, in chunks to prevent API overflow
Also using mutex to handle async r/w
After processed, send to any selected external service
Endpoint: /users
Endpoint: /users/{user_id}
Start all services:
❯ make up
Load your database with some data using K6:
❯ k6 run k6/seed-test.js
Call Integrator endpoint to fetch data from API:
❯ curl http://localhost:3002/get-users