on 05-08-2015 9:57 AM
Dear colleagues,
we started a project web-click stream analysis for '.com' sites. We configured a ESP project as rest provider, use piwik to capture the clicks and send HTTP POST to ESP to push click event into ESP.
My questions are:
1.does each POST call initiate a complete new connect? If yes, it cannot be performant, what shall I do to keep the connection between the website webserver and ESP, so that the connection is established when the webserver is ab and running, each POST call does not re-connect?
2. is socket-connection better suited for my use case? If yes, could someone please provide an example?
Thanks and regards,
Tao
Hi Tao,
WSP does not reconnect on every request - the connection is cached.
I would need a bit more detail about your use case to make suggestions on the best way forward. Some things to consider - would you be connecting over WAN? How many clients are you expecting to connect? Also do you expect the connections to be long lived?
Regards,
Shubhra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.