views:

42

answers:

2

I am writing an application that relies on UDP Broadcasting. Does anyone know what kind of stress this puts on your network? I would like to have multiple clients on the same network broadcasting frequently.

Any information on this would be helpful

Thanks

A: 

It all depends. It depends on the speed, type & quality of network (e.g. is it micro-segmented or shared, how good are your switches), it depends on the size & frequency of the packets, the number of broadcasting clients, etc. If you're running a routed network i.e. multiple subnets, how (if at all) are you intending to handle broadcasts to the non-native subnets? How will the routers handle this? It depends on the capability of your end devices too, they'll need to process every UDP broadcast frame - at high rates this can slow down low-end machines quite considerably. Don't let this put you off though, if you've ever done a network trace then, unless you're on a microsegmented LAN, you'll probably see quite a bit of background broadcast traffic anyway and it all ticks along happily.

It might be worth reading up on multicast groups and seeing if that might be an option for your application as there are ways, with various types of network equipment, that you can configure your network to handle multicast more efficiently that straight UDP broadcasts.

Trevor Tippins
A: 

I imagine it would depend on:

  1. your network configuration (do you use switches? Hubs?)
  2. the amount of data you're sending
  3. The frequency you're sending the data
  4. The capacity of your network.

I'd suggest writing a simple test program which attempts to send different amounts of data and the running something like netlimiter to see how much bandwidth you're using. With that information in hand you can judge how close to the limit of your network you're getting and get a firm answer to your question..

Jon Cage