in reply to Convert application to async

One "easy" way would be to make the application asynchronous using Coro. Coro basically introduces what other languages call Green Threads to Perl. The drawback is that Coro does some dark magic to swap call stacks around, which may or may not play well with Apache, so you best put that functionality into a separate process. And even then it still employs that dark magic. See Twiggy and Starlet for Coro-based HTTP servers for example.

Replies are listed 'Best First'.
Re^2: Convert application to async
by arpx (Acolyte) on Mar 10, 2013 at 22:54 UTC
    nice, looks clean and pretty.. will dig into them tomorrow, might fit
    tx for your hint! :)

    cheers,

      Worth reading: Why Coro?.

      Regards, Karl

      «The Crux of the Biscuit is the Apostrophe»