• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there a way to "bridge" TCP/IP sockets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to "bridge" TCP/IP sockets?


  • Subject: Re: Is there a way to "bridge" TCP/IP sockets?
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Tue, 23 Nov 2010 19:43:18 +0000

On 23 Nov 2010, at 18:30, Jonathon Kuo wrote:

> Does this paradigm scale?

How far do you need it to scale?

(-:

> How many sockets/connections can the main process support before it runs into some sort of resource limit?

It's a no-brainer scaling this up to O(10).  O(100) is probably not too hard.  O(1,000) is going to start getting tricky, and O(10,000) or higher is going to be very hard.  A lot of this depends on the expected traffic of the clients.

At the higher levels you'd want to use multiple processes, possibly on multiple machines, to do the forwarding.  If you want to plan for such an eventuality it might be wise to introduce a level of indirection, where the client connections to the server and the first thing it does is find out the server it should have connected to.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Is there a way to "bridge" TCP/IP sockets? (From: Jonathon Kuo <email@hidden>)
 >Re: Is there a way to "bridge" TCP/IP sockets? (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Is there a way to "bridge" TCP/IP sockets? (From: Jonathon Kuo <email@hidden>)

  • Prev by Date: Re: Is there a way to "bridge" TCP/IP sockets?
  • Next by Date: iPhone Wifi detection and turnoff
  • Previous by thread: Re: Is there a way to "bridge" TCP/IP sockets?
  • Next by thread: iPhone Wifi detection and turnoff
  • Index(es):
    • Date
    • Thread