I am developing an application based on a client server for financial alerts, where the client can set the value as an alert for the selected financial instrument, and when this value is reached, the monitoring server will somehow alert the client (email, sms ... not important) . The server will monitor updates coming from the data generator program. Now the server should be very efficient, since it should handle a lot of clients (perhaps more than 50-100 000 warnings, with updates coming in 1.2 seconds). I already wrote servers, but never with such imposed actions, I just fear that the basic approach (as before) simply will not do this. So how do I design a server? Which data structures are best suited? .. how about multithreading? ... in general,What should I do (and what should I not do) to squeeze every drop of performance out of this?
Thanks.
rantravee
source
share