Last post Apr 06, 2019 02:06 AM by jzero
Apr 05, 2019 08:15 PM|prideu2_net|LINK
Apr 05, 2019 08:32 PM|PatriceSc|LINK
You mean sending 150 calls from a single client takes 5 seconds? Sessions are not enabled? Have you tried first to understand where this time is spent?
Apr 05, 2019 08:43 PM|prideu2_net|LINK
Apr 05, 2019 10:10 PM|mgebhard|LINK
If not done already make the 3rd party service call asynchronous. If possible implement caching.
As for how many server, you should be able to calculate by measuring the max throughput of one server.
I would contact the 3rd party service because 3 to 4 calls a seconds to 150 is significant increase. You might want to let them know.
Apr 05, 2019 11:18 PM|prideu2_net|LINK
Yes, the calls to the 3rd parties are async already as I need it to free as much threads as possible. However the thing is that they take 6 seconds to respond and then I need some processing so I add another 2. That's the 8 seconds in total.
I see that caching is the only way to answer in 1 second or even less which would reduce the server requirements, the bad thing is that the 3rd party data changes very often (an hour maybe) . But I see that if I don't go that way, I would need several new
servers just to even think of answering to 150 calls per sec.
Do you think I should cache then? Just use a couple of SQL Servers to keep cached data?
Apr 06, 2019 02:06 AM|jzero|LINK
I also have a web service working similar as yours.
I would like know what minimum network resources just to collect 150 requests per second