Re: Traffic throttling
Derakon <[email protected]>
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <CA+Qo5j6hUSQuqndDupS+hKahZ+ZUYGjw17Dc+P5qV4GBffJEwg@mail.gmail.com> |
I thought of that problem before, and so manually invoke the garbage collector once every 100 images. I've been running that way since before we found out about this problem though. Something I just tried was not actually sending an image over -- I still make the RPC, but with no extra data, so the bandwidth used is functionally nil. I still see the throttling happen in this case. So it's not a question of how much data I'm sending, but something else. I've added logging on the data source computer to track how long RPCs take, and it is seeing the throttling as RPCs taking much longer than usual. In the cases where traffic is throttled to zero, it always seems to take 10s; once that "clears up" traffic then returns to normal. In other words, what I'm seeing is: Start: can make lots of RPCs/sec Throttle level 1: can make 33 RPCs/sec. Throttle level 2: for 10s, cannot make any RPCs. Throttle removed: can make lots of RPCs/sec. Given that consistency, I'm disinclined to blame some kind of resource constraint on either computer; it seems more likely I'm dealing with some kind of rule-based throttle here. -Chris On Tue, Aug 20, 2013 at 6:19 AM, Kent Borg <[email protected]> wrote: > Could it be a garbage collection problem within your Python code? > > (Could MS Windows be using and reclaiming some resource??) > > -kb > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Pyro-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyro-core > ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Pyro-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyro-core