Welcome! Log In Create A New Profile

Advanced

Re: FRiCKLE pres. ngx_postgres

agentzh
December 22, 2010 10:42PM
On Thu, Dec 23, 2010 at 11:27 AM, Piotr Sikora <piotr.sikora@frickle.com> wrote:
> 2010-12-23    VERSION 0.8
>   * Add option to return content in binary format using
>     "binary_value" output format in "postgres_output" directive.
>     Mostly done by Yichun Zhang (agentzh).
>

Just a brief note on this:

I originally introduced this just because Qunar.com (the biggest
air-ticket search engine here in China) is storing (small) images into
their PostgreSQL databases, and they'd like to serve out the images
directly to the web browsers, and without introducing any extra middle
layers to maximize speed.

> 2010-11-01
>   * Support "postgres_pass", "postgres_query", "postgres_rewrite"
>     and "postgres_output" directives in "if" pseudo-locations.
>     From Yichun Zhang (agentzh).
>

This allows simple code branches by using nginx's if mechanism. And
yeah, nginx's "if" is evil but it can make simple things easy. It's
recommended to use ngx_lua's set_by_lua and other stuffs to do
complicated code branching though :)

Cheers,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

FRiCKLE pres. ngx_postgres

Piotr Sikora May 05, 2010 03:36PM

Re: FRiCKLE pres. ngx_postgres

ngwsx May 06, 2010 04:38AM

Re: FRiCKLE pres. ngx_postgres

Johan Bergström May 06, 2010 06:34AM

Re: FRiCKLE pres. ngx_postgres

Piotr Sikora May 06, 2010 12:40PM

Re: FRiCKLE pres. ngx_postgres

agentzh May 06, 2010 10:08PM

Re: FRiCKLE pres. ngx_postgres

Piotr Sikora May 07, 2010 04:10AM

Re: FRiCKLE pres. ngx_postgres

Piotr Sikora May 12, 2010 03:44PM

Re: FRiCKLE pres. ngx_postgres

Piotr Sikora June 13, 2010 08:26AM

Re: FRiCKLE pres. ngx_postgres

Piotr Sikora July 04, 2010 10:22PM

Re: FRiCKLE pres. ngx_postgres

Piotr Sikora August 03, 2010 11:48AM

Re: FRiCKLE pres. ngx_postgres

Piotr Sikora August 15, 2010 05:50PM

Re: FRiCKLE pres. ngx_postgres

Piotr Sikora September 30, 2010 03:16PM

Re: FRiCKLE pres. ngx_postgres

Piotr Sikora December 22, 2010 10:32PM

Re: FRiCKLE pres. ngx_postgres

agentzh December 22, 2010 10:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 150
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready