[nanomsg] Question regarding mangos and req/resp

  • From: web user <webuser1200@xxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Sat, 4 Jun 2016 02:44:25 -0400

Hi,

I'm using magos as a building block for an aggregator server. The
aggregator server will listen on a simple pair socket and store the
messages it receives to a embedded db. This server will also expose a
replay API which will allow clients to request messages from sequence x to
y.

For the client requesting messages x .. y I was going to use the REQ-REP
protocol. My question is that I can see that the in this use the x to y
messages combined could potentially be 10-50MB. Is that oke to send as one
response using mangos?

Also, any example with golang for REQ/REP that I can look at...

Thanks,

WU

Other related posts: