From owner-freebsd-questions@FreeBSD.ORG Sat Sep 5 17:03:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACE32106568B for ; Sat, 5 Sep 2009 17:03:32 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7842F8FC13 for ; Sat, 5 Sep 2009 17:03:32 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 58CD97E853; Sat, 5 Sep 2009 09:03:43 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sat, 5 Sep 2009 19:03:28 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <200909040212.44397.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909051903.29244.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Agus Subject: Re: Reverse Proxy /Proxy Pass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 17:03:32 -0000 On Saturday 05 September 2009 09:55:54 Agus wrote: > 2009/9/3 Mel Flynn : > > 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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@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