How would I design a service with more then one route?
For example I have a event-trace-api service where I trace all transactions in my app and expose a api where I can search for these events,
So basically I have 2 routes:
POST /v1/events
GET /v1/events/search
Following micro design I would have 2 separate servers, one for create and other for search, that looks too much for me,
Thanks
How would I design a service with more then one route?
For example I have a
event-trace-apiservice where I trace all transactions in my app and expose a api where I can search for these events,So basically I have 2 routes:
POST /v1/events
GET /v1/events/search
Following micro design I would have 2 separate servers, one for create and other for search, that looks too much for me,
Thanks