> On Mon, Jun 18, 2001 at 12:35:56PM -0700, Rob Bloodgood wrote:
> > this seems to work, but I worry that I'm slowing down my init a LOT by
> > having all of these "pending" states to service (read, context
> switch back
> > and forth, constantly re-posting) while simultaneously trying to run
> > get_row() repeatedly. Since these deferred calls are blocking
> my webserver
> > until they return, I'm a bit worried about performance.
>
> have you tried adding the requests with all necessary data to a fifo and
> process these request when you have the data ? this requires work by the
> retrieving session, alternativly you could post a dummy request. this
> way your remove a lot of stress from poe.
Code? :-)
Seriously, tho, I'm shure I could write it... I was just looking for
suggestions as to where to start. A fifo myself, eh?
Well, I'm doing something similar to overcome the limitations of running a
while loop on each()... I pre-scan my structure and push a listref onto the
heap of items to process.
I supposed I could implement similar on my other states.
I'll look into it, thx for the tip.
L8r,
Rob