NetTalk Central

The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: Wolfgang Orth on March 11, 2013, 03:29:09 AM

Title: NetSimple Push Frequency
Post by: Wolfgang Orth on March 11, 2013, 03:29:09 AM
Hello Bruce and all others,

occasionally I write a program to send messages froma server to several clients.

Because connections are fragile and clients often gets disconnected, I let them send "Heartbeats" to the server every n seconds.

Client: "Can you hear me, mama?"

Server: "I can hear you, my darling!"

I don't want to clutter the networrk traffic with my chirping, otoh I want to keep up the contact as reliable as possible. And the more clients contact, the noisier it gets.

My question now is, what is a reasonable frequency for those messages?

Thanks,
Wolfgang
Title: Re: NetSimple Push Frequency
Post by: Bruce on March 11, 2013, 04:50:25 AM
how often is "reasonable" depends completely on what you consider to be reasonable.

the "right" answer I guess will depend on all kinds of things - number of clients, bandwidth available, and so on.

I'd personally start with something like 60 seconds - but I'd bump that out a lot if more than 10 clients were connected.

cheers
Bruce
Title: Re: NetSimple Push Frequency
Post by: Wolfgang Orth on December 01, 2013, 04:14:51 AM

> ..... if more than 10 clients were connected.

Bruce,

that leads me to the question: How many permanent simultanious connections can be held by a Nettalk SimpleServer?

Thanks,
Wolfgang
Title: Re: NetSimple Push Frequency
Post by: Bruce on December 01, 2013, 09:43:56 PM
lots and lots. Actually it's OS limited - Windows server is in the order of tens of thousands, but windows "consumer" may be less.

cheers
Bruce