I need to create a proxy server, which:
- receives many queries;
- sends them to external system in bulk;
- gets a response;
- returns response to clients.
It looks like following:
{Req_A}, {Req_B}, {Req_C}, {Req_D}, {Req_E} -> Proxy -> {Req A, B, C}, {Req D, E}
{Resp A, B, C}, {Resp D, E} -> Proxy -> {Resp_A}, {Resp_B}, {Resp_C}, {Resp_D}, {Resp_E}
I hope you get the idea.
My question
Is there existing frameworks to handle the case? If there are none, what would be optimal design for the problem?