Presentation: What a nice rack

5 views
Skip to first unread message

jase

unread,
Nov 9, 2009, 5:11:07 PM11/9/09
to Ruby Manor
Hi All,

As mentioned in the Guvnor's post, there has been thrown up an idea to
talk about Rack in a little more detail than Dan's great presentation
last year, and also look where it has come in that time etc.

I need a bit more time to formulate a proposal for you all to hack
apart, but firstly I'm putting the stake in the ground to say this is
something I'd like to talk about, and do my damnedest.

We all love rack, but I really want to learn more, and find out some
crazy ass stuff that must be out there .. so this is perfect way for
me to do that and share with you fine folks.

I'll prepare something a bit more fleshy over the next few days, but
first thoughts etc? Feel free to aim that bazooka high.

Jase.

James Adam

unread,
Nov 9, 2009, 5:19:51 PM11/9/09
to ruby-...@googlegroups.com
On 9 Nov 2009, at 22:11, jase wrote:
>
> I need a bit more time to formulate a proposal for you all to hack
> apart, but firstly I'm putting the stake in the ground to say this is
> something I'd like to talk about, and do my damnedest.

Good on you, sir.

> I'll prepare something a bit more fleshy over the next few days, but
> first thoughts etc? Feel free to aim that bazooka high.

One thing that I'd like to know more about is how to actually put some
of the great middleware there to use. I see there are things like
Rack::Debug and so on, but when I've ham-fistedly tried to use them, I
haven't had much success. Is there a cream-of-the-crop collection of
middleware that we should definitely know about?

- James

p.s. love the proposed title.

Tom Lea

unread,
Nov 9, 2009, 6:15:17 PM11/9/09
to ruby-...@googlegroups.com
I've been considering doing a talk that may cross over with this somewhat:


The Title: Cache My App Up


The Pitch:

Not got too much detail for this yet, but I've been doing a lot of stuff with HTTP caching, rack-cache, etags and so on. There's an in house middleware gem in there too (http://github.com/cwninja/rack-cache-buster).

Not 100% convinced of it's ruby credentials, but it's mighty powerful stuff.


The Topics (off the top of my head, stream of conciousness alert):

* What's wrong with Page/Action Caching.

* HTTP Caching fundamentals
** max-age
** ETags

* Why this is better.

* Doing it in rails:
** If-Modified-Since and #stale?
** Touching records (because it feels so right).
** Rack::Cache, drop in caching proxy.
** Rack::Cache, good enough?
** Apply Varnish for much scale.
** Apply many coats of varnish for even more scale

* Taking it to it's mental conclusion (what we doo at reevoo/tricks):
** Restful content distribution (or “the worlds dumbest API” or “how we put our content in other people's pages“).
** Deploying with assets in sync: Rack::CacheBuster.
** Aligned cache expiry.
** Edge Side Includes?

Again, not sure if this is going to be Ruby-centric enough, so feel free to slap it down.

- Tom

Rob McKinnon

unread,
Nov 9, 2009, 7:48:00 PM11/9/09
to ruby-...@googlegroups.com
2009/11/9 James Adam <ja...@lazyatom.com>:

> p.s. love the proposed title.

I dislike the proposed title. Titles containing discriminatory
innuendos will damage our community's reputation.

Jason Cale

unread,
Nov 9, 2009, 8:32:35 PM11/9/09
to ruby-...@googlegroups.com

To be honest it was a bit of fun to get the conversation going, I
wouldn't want a repeat of that nasty business at that other ruby
conference I won't name. I probably shouldn't have used such a formal
looking subject header, damn email is complex.

Anthony Green

unread,
Nov 10, 2009, 1:45:07 AM11/10/09
to ruby-...@googlegroups.com

Can I put in a plea for people to suggest some non-Rails Ruby talks.
The only Ruby stuff I do Rails so all the talks on Rack and Cucumber etc are
great but its also nice to listen to something you might never otherwise get
exposed to, like : Ruby and Robots, Making Music with Ruby. I don't mind if
some of this stuff goes over my head.

Thanks

Tony

PS


>> I dislike the proposed title. Titles containing discriminatory
>> innuendos will damage our community's reputation.

+1 I'm 'teaching' Rails to classes predominately of women and this stuff
doesn't help.


James Darling

unread,
Nov 10, 2009, 3:58:13 AM11/10/09
to ruby-...@googlegroups.com
its also nice to listen to something you might never otherwise get
exposed to, ... Making Music with Ruby.

Giles Bowkett's Archaeopteryx - http://github.com/gilesbowkett/archaeopteryx - is a rarely mined world of insane. To be honest, the short amount of time I've spent on it I've been able to superficially hack it, but it's a challenge. lambda is aliased to L as it's used so often.

In the spirit of getting things moving, I'm theoretically up for doing something about it, although I'd bring little experience to the presentation over anyone else having a look at it before the event, and I'd have to see if I have time myself to do that this month. So if anyone out there does have some knowledge of it, please step forward.

Otherwise, pending anyone wanting to hear about this, and me finding the time to look at it, I hesitantly volunteer myself.

--
James Darling

@abscond | 07811407085 | http://abscond.org

Rude? I loosely follow http://five.sentenc.es

James Adam

unread,
Nov 10, 2009, 8:28:37 AM11/10/09
to ruby-...@googlegroups.com
(breaking this into its own thread for clarity)

On 10 Nov 2009, at 06:45, Anthony Green wrote:

> Can I put in a plea for people to suggest some non-Rails Ruby talks.
> The only Ruby stuff I do Rails so all the talks on Rack and Cucumber
> etc are

> great but its also nice to listen to something you might never
> otherwise get


> exposed to, like : Ruby and Robots, Making Music with Ruby. I don't
> mind if
> some of this stuff goes over my head.

It would be definitely be interesting to hear about some use of Ruby
that doesn't relate to the web or testing; has anyone been tinkering
with anything novel? Or Anthony, perhaps now is the perfect time for
you to explore those other niches that interest you?

- James

Roland Swingler

unread,
Nov 16, 2009, 8:06:03 AM11/16/09
to Ruby Manor
+1 for this. I don't think it matters that you don't have much current
experience with the project - I have none, and I'd be interested in
seeing what someone can do with it after a month of playing about with
it.

Roland

On Nov 10, 8:58 am, James Darling <ja...@abscond.org> wrote:
> > its also nice to listen to something you might never otherwise get
> > exposed to, ... Making Music with Ruby.
>
> Giles Bowkett's Archaeopteryx -http://github.com/gilesbowkett/archaeopteryx-is a rarely mined world

James Darling

unread,
Nov 24, 2009, 6:59:11 AM11/24/09
to ruby-...@googlegroups.com
its also nice to listen to something you might never otherwise get
exposed to, ... Making Music with Ruby.

Giles Bowkett's Archaeopteryx - http://github.com/gilesbowkett/archaeopteryx - is a rarely mined world of insane. To be honest, the short amount of time I've spent on it I've been able to superficially hack it, but it's a challenge. lambda is aliased to L as it's used so often.

In the spirit of getting things moving, I'm theoretically up for doing something about it, although I'd bring little experience to the presentation over anyone else having a look at it before the event, and I'd have to see if I have time myself to do that this month. So if anyone out there does have some knowledge of it, please step forward.

Thought I'd just make a note that considering there wasn't massive interest in this, I'm not experienced with it and I'm short of time at the moment to play with it, I'll make it clear and say I won't do this this year. Doesn't look like we're short of great content this year. Looking forward to it.

Maybe an LRUG or something at some point.

Tom Lea

unread,
Nov 26, 2009, 3:31:48 PM11/26/09
to ruby-...@googlegroups.com
Consider this one scrubbed, due to lack of interest.

2009/11/9 Tom Lea <goo...@tomlea.co.uk>

Thomas R. Koll

unread,
Nov 26, 2009, 4:53:10 PM11/26/09
to ruby-...@googlegroups.com
2009/11/26 Tom Lea <goo...@tomlea.co.uk>:
> Consider this one scrubbed, due to lack of interest.

Not for me, but please a better name.

But we could make a kind of contest of how often one can mention or
refer to Rack in unrelated presentations?

ciao,
Rack'Rollin'Tom
--
just a geek trying to change the world
http://tomk32.de http://ananasblau.com http://plasticpilots.com
Reply all
Reply to author
Forward
0 new messages