From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.204.72.79 with SMTP id l15cs779996bkj; Thu, 13 Aug 2009 10:49:46 -0700 (PDT) Received-SPF: pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.224.109.203 as permitted sender) client-ip=10.224.109.203; Authentication-Results: mr.google.com; spf=pass (google.com: domain of grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com designates 10.224.109.203 as permitted sender) smtp.mail=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com; dkim=pass header.i=grbounce-ceibQwUAAAB4YPBqaDIjI2bFOCxyyh3G=chneukirchen=gmail.com@googlegroups.com Received: from mr.google.com ([10.224.109.203]) by 10.224.109.203 with SMTP id k11mr1897766qap.18.1250185784664 (num_hops = 1); Thu, 13 Aug 2009 10:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received-spf:authentication-results:received :dkim-signature:domainkey-signature:received:received:message-id :from:to:in-reply-to:content-type:mime-version:subject:date :references:x-mailer:reply-to:sender:precedence:x-google-loop :mailing-list:list-id:list-post:list-help:list-unsubscribe :x-beenthere-env:x-beenthere; bh=lE2daBIOj59sHEUWqg3W86mact+QmAUS8nHzRr1VCZQ=; b=sQACCDKpBKNWwtDdNebwFMw+PKGKbaHzS0AA7umbyIqHCgdE2MrR9HVaCYx51YiQvU W4vwZNcXsjpziIpY46MRkiNS//LjEGE1OtbiCs55Vgba0lg55DFG21ZVUKvBuyJ3M5AG UMJBd+FRW6yBsryIvUh6o2IRVkGmNzE3QDeBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results :dkim-signature:domainkey-signature:message-id:from:to:in-reply-to :content-type:mime-version:subject:date:references:x-mailer:reply-to :sender:precedence:x-google-loop:mailing-list:list-id:list-post :list-help:list-unsubscribe:x-beenthere-env:x-beenthere; b=j6AiOlwqGhhedVVOGxGxes0n4KUmN1Vc/uXbPf1psN3Tt02oq/DuP44vKw79PtgEAp DcQWx1sg31VSioc/cGnNKDiAIgBfuQofDzM5Juji2Xv4lqz8KuvN54Z1EftXqqLwFJDD rizC2gww6wpha2gduupQw+jK+pezq/yqUy4Us= Received: by 10.224.109.203 with SMTP id k11mr284642qap.18.1250185784307; Thu, 13 Aug 2009 10:49:44 -0700 (PDT) Received: by 10.177.38.34 with SMTP id q34gr1582yqj.0; Thu, 13 Aug 2009 10:49:39 -0700 (PDT) X-Sender: jftucker@gmail.com X-Apparently-To: rack-devel@googlegroups.com Received: by 10.210.144.2 with SMTP id r2mr280535ebd.5.1250185778889; Thu, 13 Aug 2009 10:49:38 -0700 (PDT) Return-Path: Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com [209.85.219.220]) by gmr-mx.google.com with ESMTP id 14si122151ewy.5.2009.08.13.10.49.37; Thu, 13 Aug 2009 10:49:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 209.85.219.220 as permitted sender) client-ip=209.85.219.220; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jftucker@gmail.com designates 209.85.219.220 as permitted sender) smtp.mail=jftucker@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by ewy20 with SMTP id 20so954542ewy.22 for ; Thu, 13 Aug 2009 10:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=3sGboFI8BQzaqLkvoZPleiQ0vpjIkT73BjPxY9sGxi0=; b=ROX/SikXDVX+vLdvIoxyINkhAb1ARb4Z8TxZXqFHpkumqh/TbPDzVXaEOG2JnhIpar g7vS91EwmrDWJjua7gs/yobWj2MxKVT4BB3yUhbXgyYW8mQkoBhzPOsWjV2atMikJ2c6 Lv9rTqKjiZswhlsX7XU3SYramXGLYnFYe3xqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=iV+dMxFVpRVpg4An9ZSToWrio3hK1EkATTjaOG3PO0vPzyPlVS38RpePJRIGC44aO1 23NxRyWe7jt+vTdKJOR7YK56dVM/2lAwEv4R1CiYhQjCCPoL7fLG/qCU9N2kzxpxDv8K lnp19+quPNIi0ZC6UU1JYBOQfylAXQKbEx+tA= Received: by 10.216.29.66 with SMTP id h44mr220023wea.136.1250185776370; Thu, 13 Aug 2009 10:49:36 -0700 (PDT) Return-Path: Received: from ?192.168.1.213? (bb-87-81-237-21.ukonline.co.uk [87.81.237.21]) by mx.google.com with ESMTPS id i35sm221166gve.11.2009.08.13.10.49.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 Aug 2009 10:49:35 -0700 (PDT) Message-Id: <924A9471-397D-48B9-B300-CBF9F653FEDB@gmail.com> From: James Tucker To: rack-devel@googlegroups.com In-Reply-To: <2a8d4a710908131004i2cef7cb7lc0be17ae7fe7619f@mail.gmail.com> Content-Type: multipart/alternative; boundary=Apple-Mail-3--851849515 Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Bloat? Date: Thu, 13 Aug 2009 18:49:33 +0100 References: <2a8d4a710908131004i2cef7cb7lc0be17ae7fe7619f@mail.gmail.com> X-Mailer: Apple Mail (2.936) Reply-To: rack-devel@googlegroups.com Sender: rack-devel@googlegroups.com Precedence: bulk X-Google-Loop: groups Mailing-List: list rack-devel@googlegroups.com; contact rack-devel+owner@googlegroups.com List-Id: List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rack-devel@googlegroups.com X-BeenThere: rack-devel@googlegroups.com --Apple-Mail-3--851849515 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 13 Aug 2009, at 18:04, Matt Todd wrote: > I was talking to a friend of mine yesterday and he mentioned that > thought the Rack package itself seemed to be slightly bloated by > things like Basic Auth et al. He mentioned two things I thought were > interesting and I wanted to get your feedback on it: > > 1. Like Merb, Rack probably could benefit from using a core and more > separation of functionality, and On this point, I have massive trouble agreeing. In recent months, the disparity of supported versions of thin/rack/sinatra has been a big problem for some folks (integrity mainly). Splitting up into a crazy number of gems causes a lot of management overhead and sysadmin / deployment crap that I almost never see done right. The only good solution is the recently released bundler system by wycats, halogrium and carllerche. Requiring something like that to "get by" is far far far worse in my opinion. We're not as fat as you might think, because stuff you don't touch is never loaded. Do you have a genuine use case to drop 100K or so out of core, by adding ~500K (or more) to deployment overhead of *each* composite part? > 2. Rack core should only include what's necessary for Rack::Lint to > validate a basic application at minimum. > > Thoughts? > > Matt > > -- > Matt Todd > Highgroove Studios > www.highgroove.com > cell: 404-314-2612 > blog: maraby.org > > Scout - Web Monitoring and Reporting Software > www.scoutapp.com --Apple-Mail-3--851849515 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On 13 Aug 2009, = at 18:04, Matt Todd wrote:

I was = talking to a friend of mine yesterday and he mentioned that thought the = Rack package itself seemed to be slightly bloated by things like Basic = Auth et al. He mentioned two things I thought were interesting and I = wanted to get your feedback on it:

1. Like = Merb, Rack probably could benefit from using a core and more separation = of functionality, and

On this = point, I have massive trouble agreeing. In recent months, the disparity = of supported versions of thin/rack/sinatra has been a big problem for = some folks (integrity mainly). Splitting up into a crazy number of gems = causes a lot of management overhead and sysadmin / deployment crap that = I almost never see done right. The only good solution is the recently = released bundler system by wycats, halogrium and carllerche. Requiring = something like that to "get by" is far far far worse in my = opinion.

We're not as fat as you might think, = because stuff you don't touch is never loaded. Do you have a genuine use = case to drop 100K or so out of core, by adding ~500K (or more) to = deployment overhead of *each* composite part?

2. Rack core should only include what's necessary for = Rack::Lint to validate a basic application at minimum.
=

Thoughts?

Matt

-- =
Matt Todd
Highgroove Studios
www.highgroove.com
cell: = 404-314-2612
blog: maraby.org
=
Scout - Web Monitoring and Reporting Software
www.scoutapp.com

= --Apple-Mail-3--851849515--