Project

pastry

0.0
No release in over 3 years
Low commit activity in last 3 years
thin runner that forks and supports binding to single socket
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Thin Pastry flakes¶ ↑

This gem is just scratching an itch, that I could not run a master and fork several thin workers listening on the same parent socket.

Why fork thin ? So I can make use of the multiple cores more effectively.

Warning¶ ↑

It’s fairly pre-alpha, so use at your own peril

Usage¶ ↑

pastry -R myapp.ru -n 2 -P /tmp/myapp.pid -l /tmp/myapp.log -a 127.0.0.1 -p 3000 -d

kill -TERM `cat /tmp/myapp.pid`

Dependencies¶ ↑

TODO¶ ↑

  • increase or decrease worker count

License¶ ↑

Creative Commons Attribution - CC BY