wszystkie opcje
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: libhttp-async-perl  ]

Pakiet: libhttp-async-perl (0.33-1)

Odnośniki dla libhttp-async-perl

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego libhttp-async-perl:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

module for parallel non-blocking processing of multiple HTTP requests

Although using the conventional LWP::UserAgent is fast and easy it does have some drawbacks - the code execution blocks until the request has been completed and it is only possible to process one request at a time. HTTP::Async attempts to address these limitations.

It gives you a 'Async' object that you can add requests to, and then get the requests off as they finish. The actual sending and receiving of the requests is abstracted. As soon as you add a request it is transmitted, if there are too many requests in progress at the moment they are queued. There is no concept of starting or stopping - it runs continuously.

Whilst it is waiting to receive data it returns control to the code that called it meaning that you can carry out processing whilst fetching data from the network. All without forking or threading - it is actually done using select lists.

Znaczniki: Rozwój oprogramowania: Rozwijanie w języku Perl, Biblioteki, Zaimplementowane w: Perl, Rola: Biblioteka współdzielona

Inne pakiety związane z libhttp-async-perl

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie libhttp-async-perl

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 24,1 KiB64,0 KiB [lista plików]