homebrewでインストール
$ brew updatemodules/foo/manifests/init.pp
class foo {
define bar() {
notice("**********************************************")
notice("Calling: foo::bar")
notice("module_name: $module_name")
notice("caller_module_name: $caller_module_name")
}By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk.
This process is outlined at the Nginx ngx_http_fastcgi_module page manual page.
| $ ruby http-dumper.rb -p 3002 |
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
| やわらかRubyはCC BY 4.0 で提供します。 | |
| 詳細: https://creativecommons.org/licenses/by/4.0/deed.ja | |
| This work is licensed under a Creative Commons Attribution 4.0 International License. | |
| See also: https://creativecommons.org/licenses/by/4.0/deed |
| package main | |
| import "fmt" | |
| func main () { | |
| // 見つめ合う | |
| fmt.Println("おっくせんまん!おっくせんまん!!") | |
| defer fmt.Println("ジャパン!!!"); | |
| } |
[vagrant@localhost ~]$ rpm -q php
php-5.3.3-23.el6_4.x86_64
http://ameblo.jp/principia-ca/entry-11573342807.html