Re: mod_mruby to provide an alternative to mod_lua

2013-01-21 Thread Daniel Gruno
On 01/21/2013 07:32 AM, 松本 亮介 wrote: Hi Daniel. Thank you for your comment. I have tried to compile and install mod_mruby on my own machine to test it, but there are too many compiler errors for it to work :( In particular, you have a lot of declarations after statements in your code,

Re: mod_mruby to provide an alternative to mod_lua

2013-01-21 Thread 松本 亮介
On 2013/01/21, at 19:03, Daniel Gruno rum...@cord.dk wrote: On 01/21/2013 07:32 AM, 松本 亮介 wrote: Hi Daniel. Thank you for your comment. I have tried to compile and install mod_mruby on my own machine to test it, but there are too many compiler errors for it to work :( In particular,

Re: mod_mruby to provide an alternative to mod_lua

2013-01-21 Thread 松本 亮介
Hi Daniel, I tested benchmark of mod_mruby. test case are: - test case 1 mod_mruby inline code into https.conf mod_mruby need not fopen() - test case 2 run mod_mruby scripts file per requests mod_mruby need fopen() and fclose() per requests - test environment OS: Linux version

Re: mod_mruby to provide an alternative to mod_lua

2013-01-21 Thread Daniel Gruno
On 01/21/2013 01:59 PM, 松本 亮介 wrote: Hi Daniel, I tested benchmark of mod_mruby. test case are: snip My main concern here is; is it thread-safe (or even thread-aware)? Most people will be using 2.4 with the event MPM, which is threaded, not the prefork MPM. I have no problems doing

Re: mod_mruby to provide an alternative to mod_lua

2013-01-21 Thread 松本 亮介
On 2013/01/21, at 22:03, Daniel Gruno rum...@cord.dk wrote: On 01/21/2013 01:59 PM, 松本 亮介 wrote: Hi Daniel, I tested benchmark of mod_mruby. test case are: snip My main concern here is; is it thread-safe (or even thread-aware)? Most people will be using 2.4 with the event MPM, which

Re: mod_mruby to provide an alternative to mod_lua

2013-01-21 Thread 松本 亮介
On 2013/01/21, at 22:17, MATSUMOTO Ryosuke matsu1...@gmail.com wrote: On 2013/01/21, at 22:03, Daniel Gruno rum...@cord.dk wrote: On 01/21/2013 01:59 PM, 松本 亮介 wrote: Hi Daniel, I tested benchmark of mod_mruby. test case are: snip My main concern here is; is it thread-safe (or even

Re: mod_mruby to provide an alternative to mod_lua

2013-01-20 Thread Daniel Gruno
On 01/20/2013 10:31 AM, MATSUMOTO Ryosuke wrote: Hi, all I'm Ryosuke MATSUMOTO, a Ph.D. student at Okabe Lab, Network Media Group Department of Intelligence Science and Technology Graduate School of Informatics, Kyoto University in Japan. My English is not very good, but I am studying at

Re: mod_mruby to provide an alternative to mod_lua

2013-01-20 Thread 松本 亮介
Hi Daniel. Thank you for your comment. I have tried to compile and install mod_mruby on my own machine to test it, but there are too many compiler errors for it to work :( In particular, you have a lot of declarations after statements in your code, which is not C90 compliant, and needs