in reply to LWP::UserAgent non-blocking calls
Sometimes breaking a big program into smaller programs focused into doing one thing, can work nicely and be able to deal better with future long-calls. E.g. separate this call into a new script which does exactly that and when is done, saves the results in a redis db whose checking takes millis. Or use some kind of "bus" to connect them all. D-BUS for example.
Edit: additionally what LWP gets back is not a perl data structure or object, so you will not need to de/serialiase when passing that data around.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: LWP::UserAgent non-blocking calls
by cavac (Prior) on Oct 22, 2024 at 08:11 UTC | |
by bliako (Abbot) on Oct 22, 2024 at 09:42 UTC |