Reverse Proxy /Proxy Pass

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Sat Sep 5 17:03:32 UTC 2009


On Saturday 05 September 2009 09:55:54 Agus wrote:
> 2009/9/3 Mel Flynn <mel.flynn+fbsd.questions at mailing.thruhere.net>:
> > On Friday 04 September 2009 01:20:46 Agus wrote:
> >> What server, application do u know/recommend me for using as a
> >> ProxyPass / Reverse Proxy...
> >>
> >> The idea is to forward all requests to port 80 to this server and then
> >> from here according to the vhost send it to the actual server... For
> >> now i only need proxying.. dont think cacheing will be possible so im
> >> just looking for a pretty fast, light and stable app to do this on a
> >> freebsd 7...
> >>
> >> Thanks and ihope to hear some cool recommendations.. hehe
> >
> > If lightweight, go with www/nginx. Features, go with www/squid or
> > apache+mod_proxy.
> > --
> > Mel
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
>
> Thanks Mel... Now i've been reading a little and found that cherokee
> maybe a very good alternative also.... I also found that the
> performance will variate according to the syscall the server uses... i
> read about poll,etc.... how to know which syscalls does the servers
> support and which one is better/fastest?

kqueue is preferred on *BSD, since it's able to aggregate multiple filter 
matches into one event if they happen to occur in a close time frame. This 
reduces copyout from kernel to userland. It also used to be true that poll is 
a busywait, but I think that has been corrected.

If you're interested, the original design document for kqueue is available 
here:
http://people.freebsd.org/~jlemon/papers/kqueue.pdf
-- 
Mel


More information about the freebsd-questions mailing list