How to Install and Uninstall perl-Twiggy Package on openSuSE Tumbleweed

Last updated: June 03,2024

1. Install "perl-Twiggy" package

Please follow the step by step instructions below to install perl-Twiggy on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-Twiggy

2. Uninstall "perl-Twiggy" package

Please follow the instructions below to uninstall perl-Twiggy on openSuSE Tumbleweed:

$ sudo zypper remove perl-Twiggy

3. Information about the perl-Twiggy package on openSuSE Tumbleweed

Information for package perl-Twiggy:
------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Twiggy
Version : 0.1026-1.15
Arch : noarch
Vendor : openSUSE
Installed Size : 50.1 KiB
Installed : No
Status : not installed
Source package : perl-Twiggy-0.1026-1.15.src
Upstream URL : https://metacpan.org/release/Twiggy
Summary : AnyEvent HTTP server for PSGI
Description :
Twiggy is a lightweight and fast HTTP server with unique features such as:
* PSGI
Can run any PSGI applications. Fully supports _psgi.nonblocking_ and
_psgi.streaming_ interfaces.
* AnyEvent
This server uses AnyEvent and runs in a non-blocking event loop, so it's
best to run event-driven web applications that runs I/O bound jobs or
delayed responses such as long-poll, WebSocket or streaming content (server
push).
This software used to be called Plack::Server::AnyEvent but was renamed to
Twiggy.
* Fast header parser
Uses XS/C based HTTP header parser for the best performance. (optional,
install the HTTP::Parser::XS module to enable it; see also
Plack::HTTPParser for more information).
* Lightweight and Fast
The memory required to run twiggy is 6MB and it can serve more than 4500
req/s with a single process on Perl 5.10 with MacBook Pro 13" late 2009.
* Superdaemon aware
Supports Server::Starter for hot deploy and graceful restarts.
To use it, instead of the usual:
plackup --server Twiggy --port 8111 app.psgi
install Server::Starter and use:
start_server --port 8111 -- plackup --server Twiggy app.psgi