From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 21:17:27 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 BF5DC1065676 for ; Tue, 8 Sep 2009 21:17:25 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from mail-ew0-f221.google.com (mail-ew0-f221.google.com [209.85.219.221]) by mx1.freebsd.org (Postfix) with ESMTP id 8A93E8FC18 for ; Tue, 8 Sep 2009 21:17:25 +0000 (UTC) Received: by ewy21 with SMTP id 21so389863ewy.8 for ; Tue, 08 Sep 2009 14:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=PGQoDCc7rtNII+zgJvGvBD3bxSB9rTkHFHbCXmWu4cE=; b=GTEqmZ2w0VlmT22U+/A8DTGeyCl+6wIaoVfii7MCwdGHaei/gIH6FxYBRY82gl3VDK tYByJm6tAhEPbvFQlFGDBcIPNgMW+izWI/fi2SBaXOAnLBWj3tMgeKwvYKApCVPa7Nlc 0oopqMIYIUZ53+esbTWoJ01TwEVq3J2PaOt3Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fa8Ie1Did+LHUfloR+JGAtPEf1xqORkGf+PP47GLEmf3Orp2ar412zuTRbecPszq2i IDDg6FcB5Vv3jEp3XU4Hj0r7NYkH3jIZYBIcxF5N6gOQKZILrtYiA4yL1bdB5/6HPfEE l7L1BYlt9TSsp1btPfvPbOl0iZi8Zlgfs6s8o= MIME-Version: 1.0 Received: by 10.211.145.8 with SMTP id x8mr3682323ebn.67.1252444644249; Tue, 08 Sep 2009 14:17:24 -0700 (PDT) In-Reply-To: <200909051903.29244.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200909040212.44397.mel.flynn+fbsd.questions@mailing.thruhere.net> <200909051903.29244.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Tue, 8 Sep 2009 18:17:24 -0300 Message-ID: From: Agus To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org 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: Tue, 08 Sep 2009 21:17:27 -0000 2009/9/5 Mel Flynn : > 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 > Greatt.. sorry for the late response.. i was on vacations in a place with no internet... hehe... on the second day i was cryinggg.. haha thanks so much for the explanation and link... will read that and try to understand a bit ... hehe Cheers, AR