3 messages in ru.sysoev.nginxembedded perl
FromSent OnAttachments
Jonathan VanascoApr 11, 2007 12:10 pm 
David PhillipsApr 11, 2007 12:44 pm 
Jonathan VanascoApr 11, 2007 1:30 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:embedded perlActions...
From:Jonathan Vanasco (ngin@public.gmane.org)
Date:Apr 11, 2007 12:10:49 pm
List:ru.sysoev.nginx

I'm considering using the embedded perl module.

a few questions based on this in docs: "If a Perl module performs protracted operation, (for example DNS lookups, database queries, etc), then the process that is running the Perl script is completely tied up for the duration of script. Therefore embedded Perl scripts should be extremely careful to limit themselves to short, predictable operations."

my setup will have me querying postgres for every url to find the correct url on amazon's s3 which i proxy for.

i'm worried about blocking on: a) pg query b) proxy

will they block each other? how many nginx workers, realisitically, would i need to run?

I'm leaning towards doing all this in twisted python for now , but I'm open to nginx

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | SyndiClick.com | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -