NetTalk Central

Author Topic: NetSimple Push Frequency  (Read 10821 times)

Wolfgang Orth

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • oData Wolfgang Orth
NetSimple Push Frequency
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetSimple Push Frequency
« Reply #1 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

Wolfgang Orth

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • oData Wolfgang Orth
Re: NetSimple Push Frequency
« Reply #2 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetSimple Push Frequency
« Reply #3 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