Hi

We are building an application which delivers currency exchange rates to
customers over the web.

The exchange rates come from an existing .net WCF Duplex service. And the
rates are streamed for a period of 60 seconds over a tcp connection. i.e.
constantly changing data (one or two updates per second), not a single
request/response.

Also, different pricing is applied depending on who the customer is, so it
is not a single source of data. It is different for each customer. And so a
new instance of the data stream is created for each incoming request.

We are building a new API which would sit in front of the existing WCF
service (and behind the website backend) and we are considering using Zero
mq to distribute the rates.

So it is server-to-server comms. (**Not** the browser to server part)



I am trying to identify if I should use a stream socket

http://hintjens.com/blog:42



Or if a simple  REQ/REP pair would be fine. Or if there is some other
pattern that is more appropriate.



Some things I'm struggling with:



Given the data is different for each request I presume I cant have a single
RES server. I'd need to new one up for each incoming request? How would
that work?

Also, how would you then co-ordinate the correct data is returned to the
correct client?

Could the zeroMQ part be hosted inside an existing .net Web.api ?



thanks for any advice
------------------------------
This message may contain confidential or privileged information. If you
have received this message in error, please immediately notify us by email
at [email protected] or by telephone before permanently deleting it.
If you are not the intended recipient, do not use, copy or disclose the
information contained in this message or in any attachment.

The views expressed may not be the views of Moneycorp and should not be
relied upon. Please note that Moneycorp monitors e-mails sent and/or
received; further communication will signify your consent to this. Please
be aware that emails and attachments may contain viruses.

Unless expressly stated otherwise, none of the information contained in
this email constitutes or should be construed as financial advice. No
payment card information should be transmitted by email from or to
Moneycorp beyond the first six and last four digits of any payment card
(credit or debit card). In no circumstances should the card security code
CVV (3 digit number on the reverse) be transmitted.
TTT Moneycorp Limited (company number 738837) is registered in England. Its
registered office is at Floor 5, Zig Zag Building, 70 Victoria Street,
London, SW1E 6SQ
<https://maps.google.com/?q=70+Victoria+Street,+London,+SW1E+6SQ&entry=gmail&source=g>.
Moneycorp is a trading name of TTT Moneycorp Limited which is authorised
and regulated by the Financial Conduct Authority for the provision of
payment services (firm reference number 308919).
-- 
Chris Sent from Gmail for IPhone
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to