Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tarao/perl5-twiggy-prefork-metabolic
https://github.com/tarao/perl5-twiggy-prefork-metabolic
perl psgi
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tarao/perl5-twiggy-prefork-metabolic
- Owner: tarao
- License: other
- Created: 2015-03-10T07:56:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-12T05:03:23.000Z (almost 10 years ago)
- Last Synced: 2024-10-16T05:43:43.410Z (2 months ago)
- Topics: perl, psgi
- Language: Perl
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/tarao/perl5-Twiggy-Prefork-Metabolic.svg?branch=master)](https://travis-ci.org/tarao/perl5-Twiggy-Prefork-Metabolic)
# NAME`Twiggy::Prefork::Metabolic` - Metabolic preforking AnyEvent HTTP server for PSGI
# SYNOPSIS
$ plackup -s Twiggy::Prefork::Metabolic -a app.psgi
# DESCRIPTION
`Twiggy::Prefork::Metabolic` behaves the same as [Twiggy::Prefork](https://metacpan.org/pod/Twiggy::Prefork)
except that a child process (a worker) won't stop listening after
reaching `max_reqs_per_child` until all accepted requests finished.
In other words, the child process never refuses a new connection
arrived before restart.`Twiggy::Prefork::Metabolic` infinitely accepts new requests as
`Twiggy` does without getting stuck even if there are more requests
than `max_workers` x `max_reqs_per_child`. This is like
`Twiggy::Prefork` with `--max-reqs-per-child=0`. It also restarts
child processes as `Twiggy::Prefork` does if the process has idle
time after reaching `max_reqs_per_child`.# SEE ALSO
[Twiggy::Prefork](https://metacpan.org/pod/Twiggy::Prefork)
# LICENSE
Copyright (C) INA Lintaro
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.# AUTHOR
INA Lintaro