Using map and proxy_pass

Igor Sysoev igor at sysoev.ru
Tue May 3 16:06:21 MSD 2011


On Tue, May 03, 2011 at 01:02:53PM +0200, Markus Jelsma wrote:
> Thanks Francis and Igor. Is there are penalty for having a huge configuration 
> because of a very large number of locations?

nginx uses some kind of binary tree to search locations, so penalty
should be small.


-- 
Igor Sysoev


> On Tuesday 03 May 2011 11:10:55 Igor Sysoev wrote:
> > On Sat, Apr 30, 2011 at 12:52:42PM +0200, Markus Jelsma wrote:
> > > Too many. I need to generate the mappings in an external program. I'd
> > > rather not generate as many different locations.
> > 
> > Why ? locations without regex will run fast.
> 
> -- 
> Markus Jelsma - CTO - Openindex
> http://www.linkedin.com/in/markus17
> 050-8536620 / 06-50258350



More information about the nginx mailing list