On Thursday, June 05, 2014 at 4:33 PM, Johnny Billquist wrote:
On 2014-06-06 01:16, Mark Pizzolato - Info Comm wrote:
OK. So you sound like you really need a throttling option for the LAN
devices. I'll look over the throttling logic in the bridge and fold in something
similar.
Well, I'm not so sure that code should be a model to pattern anything after.
Everything about my bridge is just a hack. Done just to fix an immediate
problem without any proper design at any corner. :-)
It definitely has more going for it then my first thoughts. Before looking at your
bridge code, I was merely going to create an option to measure the time between successive
packets. Your model allows for some bursting but then starts throttling.
I'll make it an option and the control variables (TIMEWINDOW, BURSTSIZE, DELAY)
configurable. Default will be no throttle.
- Mark