The Artima Developer Community
Sponsored Link

Java Buzz Forum
Rails Session Clustering *sigh*

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brian McCallister

Posts: 1282
Nickname: frums
Registered: Sep, 2003

Brian McCallister is JustaProgrammer who thinks too much.
Rails Session Clustering *sigh* Posted: Dec 9, 2004 5:02 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Brian McCallister.
Original Post: Rails Session Clustering *sigh*
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Latest Java Buzz Posts
Latest Java Buzz Posts by Brian McCallister
Latest Posts From Waste of Time

Advertisement

So, one of the drawbacks to using scripty languages for web apps is clustering, right? Here is a clustered session store for RoR:

require 'drb'

DRb.start_service("druby://#{HOSTNAME}:9192", Hash.new)
DRb.thread.join

Of course that is just the DRb store, there are a bunch of other options, and a nice look at their performance characteristics by Scott Barron =)

Read: Rails Session Clustering *sigh*

Topic: Rich Web Apps ... Continued Previous Topic   Next Topic Topic: [Dec 1, 2004 16:20 PST] 9 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use