NetTalk Central

Author Topic: SOAP requests are create new sessions  (Read 2771 times)

Matthew51

  • Full Member
  • ***
  • Posts: 152
    • View Profile
    • Email
SOAP requests are create new sessions
« on: January 23, 2014, 11:45:58 AM »
My server hosts a few pages to handle XML SOAP requests.  At the moment it creates a new session to handle each request, even if it's the same location sending it.

On a slow day 3 locations had up to 50 active sessions just  for the SOAP requests.  We plan on increasing the locations to a few hundred.  I could see the number of active sessions breaking 10,000 on busy days.  2  questions:

1.  Will this create significant overhead, ether on the CPU or ram?
2.  Can it be avoided?
Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: SOAP requests are create new sessions
« Reply #1 on: January 23, 2014, 09:43:26 PM »
Hi Matthew,

>> 1.  Will this create significant overhead, ether on the CPU or ram?

probably not. Queues can handle thousands of records without any problem, and while it will consume some Ram it won't be a lot.

>> 2.  Can it be avoided?

The easiest way is if you have control of the client. Ideally the client app should preserve the SessionID cookie and send the same cookie with each session. Are you using the NetWebClient class for the client side?

cheers
Bruce