Ngx_drizzle v0.1.1: fixed segfaults on 32-bit systems

Hi, folks!

I’m happy to announce that ngx_drizzle v0.1.1 has been released. You
can download the latest release tarball from

https://github.com/chaoslawful/drizzle-nginx-module/downloads

This release fixed a long-standing segmentation fault on 32-bit
systems, as well as some other issues. Here goes the complete change
log:

  • fixed segmentation faults on 32-bit systems. thanks @魏世江 and
    @stefanli for reporting this issue.
  • documented the $drizzle_thread_id variable.
  • added lots of debug outputs (enabled by the --with-debug option
    while building Nginx or OpenResty), inspired by github issue #10.
  • fixed issues regarding defining global variables in C header files:
    we should have defined rds_rough_col_type_t as a type rather than a
    global variable. thanks @姜大炮.
  • documented the python -> python3 pitfall while building libdrizzle
    1.0 on at least ArchLinux.
  • fixed the automatic libdrizzle searching algorithm in the config
    file: now we should look under libdrizzle-1.0/ instead. thanks 支家乐
    (Calio) for reporting this issue.

ngx_drizzle is an nginx upstream module integrating libdrizzle into
Nginx in a non-blocking and streamming way.

Essentially it provides a very efficient and flexible way for nginx
internals to access MySQL, Drizzle, as well as other RDBMS’s that
support the Drizzle or MySQL wired protocol. Also it can serve as a
direct REST interface to those RDBMS backends.

This module does not generate human-readable outputs, rather, in a
binary format called Resty-DBD-Stream (RDS) designed by ourselves. You
usually need other components, like ngx_rds_json [1], ngx_rds_csv [2],
or lua-rds-parser [3], to work with this module. See the RDS output
format spec for more details:
http://wiki.nginx.org/HttpDrizzleModule#Output_Format

You can find the complete documentation for ngx_drizzle on Nginx Wiki:

http://wiki.nginx.org/HttpDrizzleModule

and the latest source is on GitHub:

https://github.com/chaoslawful/drizzle-nginx-module

This module is also bundled (though not enabled by default) by the
ngx_openresty bundle:

http://openresty.org/

You can check out this wiki page to enable this component while
building ngx_openresty:

http://openresty.org/#DrizzleNginxModule

Have fun!
-agentzh

[1] https://github.com/agentzh/rds-json-nginx-module
[2] https://github.com/agentzh/rds-csv-nginx-module
[3] https://github.com/agentzh/lua-rds-parser

Great

2011/9/17 agentzh [email protected]

在 2011-09-19一的 13:56 +0800,Wendal C.写道:

    https://github.com/chaoslawful/drizzle-nginx-module/downloads
    * documented the $drizzle_thread_id variable.
    libdrizzle

    binary format called Resty-DBD-Stream (RDS) designed by

        http://openresty.org/
    [1] https://github.com/agentzh/rds-json-nginx-module


Wendal C.


nginx mailing list
removed[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Thanks for your great work of mod_ngx_drizzle!

太棒了,虽然不知道这个模块是做什么用的~ 还是要感谢一下~囧


Best regards,
Sharl.Jimh.Tsin (From China Obviously Taiwan INCLUDED)

Using Gmail? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?10073.

这可是非常好用的东西, 我现在的项目正在用,效率很高, cool~~

2011/9/19 Sharl.Jimh.Tsin [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs