rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: James Tucker <jftucker@gmail.com>
To: rack-devel@googlegroups.com
Subject: Re: Bloat?
Date: Thu, 13 Aug 2009 18:49:33 +0100	[thread overview]
Message-ID: <924A9471-397D-48B9-B300-CBF9F653FEDB@gmail.com> (raw)
In-Reply-To: <2a8d4a710908131004i2cef7cb7lc0be17ae7fe7619f@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]


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


[-- Attachment #2: Type: text/html, Size: 1956 bytes --]

  parent reply	other threads:[~2009-08-13 17:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 17:04 Bloat? Matt Todd
2009-08-13 17:17 ` Bloat? Yehuda Katz
2009-08-13 17:45 ` Bloat? James Tucker
2009-08-13 17:49 ` Bloat? Joshua Peek
2009-08-13 17:50   ` Bloat? James Tucker
2009-08-13 17:55     ` Bloat? Adrian Madrid
2009-08-13 18:54       ` Bloat? James Tucker
2009-08-13 20:20   ` Bloat? Christian Neukirchen
2009-08-13 17:49 ` James Tucker [this message]
2009-08-13 19:01 ` Bloat? Ryan Tomayko
2009-08-13 19:19   ` Bloat? Matt Todd
2009-08-13 22:26     ` Bloat? James Tucker
2009-08-15  3:30 ` Bloat? Kyle Drake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=924A9471-397D-48B9-B300-CBF9F653FEDB@gmail.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).