Yeppers, leaning that way pretty hard right now.
But I do like the idea of keeping the connection (unless it throws a
1466 error) until such time as the user goes idle for a length of X
minutes/seconds. There are a few places in my app that the user might be
browsing around, skipping from one document to the next and
reestablishing the connection each time in that scenario would be killer
for performance.
Some brief, simple testing is showing about a 1.5 second overhead for
making the connection (as compared to it already being there.)
Obviously, with more traffic or noise or poor packet alignment, that
could expand rapidly and create sludge.
Thanks Matt!
Mike
-------- Original Message --------
Subject: Re: Client--Server via Internet
From: M Jarvis <[email protected]>
To: [email protected]
Date: 6/5/2013 1:44 PM
On Wed, Jun 5, 2013 at 11:25 AM, Mike Copeland <[email protected]> wrote:
Thanks Gene, point well taken. Appreciate the input!
Mike
As was mentioned already, you gotta double check your connection
status each time you want to talk back to the mothership...
As to whether or not to maintain one connection or establish one each
time (my preference in my limited experience), kinda depends on the
sort of conversation you wanna have - are you 'sending letters' or
'having a chat' ?
I feel that if you are double checking status anyways, you might as
well just re-establish the connection handle in the first place.
My $.02
--
Matt Jarvis
Eugene, Oregon USA
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.