I''ve done developing in several different web languages now. I''ve come across a problem which might entail some background processing. One of the things that really excited me about Java was the ability to create servlets. Small little applications you write that are running in the background and have a get() and post() function that your program responds to. This would allow me to use threading in my web applications. It also allows me to maintain some data in memory, rather than pull it from the disk with every request. Is there something equivalent available for RoR? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Benjamin Waldher wrote:> Is there something equivalent available for RoR?Store intermediate data in the database, and store their ID in your session[]. Don''t store whole objects in the session (though it lets you think you can), because that doesn''t scale very well. If you really really reeeeally need to multitask, get backgroundrb. But try real hard to timeslice your activity up instead, using a timer. Also look at the cron system! -- Phlip --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---