httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MATSUMOTO Ryosuke <>
Subject mod_mruby to provide an alternative to mod_lua
Date Sun, 20 Jan 2013 09:31:15 GMT
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 the moment to communicate
developers of the world.

I have been developing mod_mruby and ngx_mruby from Apr 2012.

mod_mruby is a web server extension mechanism using embeddable
scripting language mruby which has been attracting attention now.

mod_mruby abstract:
As the increase of services using Web servers, the number of incidents
also is increasing rapidly. In order to solve those problems, it is necessary
to extend a functionality of a Web server software.

In case of using Apache, developers are required high coding skill of C
language and internal specifications of Apache in order to extend the
functionality of it.

The development of a web server extension requires some high skills, and
the maintainability is low since that extension need to compile a code.

Therefore, we propose mod_mruby that is a web server extension mechanism
using embeddable scripting language mruby which has been attracting
attention now. mod_mruby allows to extend the functionality of Apache
easily by implementing a mruby script. mod_mruby provides an interface
to hook and execute any mruby scripts in the various phases of processing
requests inside Apache. When hooking mruby scripts, mruby scripts can
process the data of processing requests inside Apache, taking advantage
of the characteristics of a embeddable scripting language for C language.

We have designed that mod_mruby run at high speed by sharing the data
of state transition and the extension library of mruby by multiple
mruby scripts
and using only different byte code each mruby script.

Many developers can implement a web server extension easily by mod_mruby
 in cooperation with coding style of mruby which is the same as object oriented
 programming ruby which is widely used by web developers.

see slide share about mod_mruby architecture and performance compared with
mod_lua, mod_per, and a module written by C language.(Sorry in Japanese)

and mod_mruby receive some glowing notices bellow uri:
and mod_mruby was referred form the keynote of mruby by Matz like .

see mruby github:

mod_mruby allows to extend the functionality of Apache easily.
mod_mruby proveid an alternative to mod_lua.

see mod_mruby github:

- example
-- proxy by mod_mruby

-- support redis and auth provide using mruby-redis

-- support auth provide

-- support limit control

-- support rewrite

-- support vhosts

-- support cgroup using mruby-cgroup

-- support Raspberry Pi (hobby)

and so on..

I write some entry about mod_mruby in my blog (Sorry Japanese)

So, How do you feel about mod_mruby? I would appreciate it if you could
give me your opinion.

I'll attend ApacheCon NA 2013 and I'm looking forward to seeing apache

Best regards,

MATSUMOTO Ryosuke < matsu1229 at >

View raw message