Every time a particular model object is created on the server, I want to perform an additional operation that''s slightly more expensive, the results of which aren''t necessary to show to the user. I was looking at things like BackgrounDRb, but I really don''t think I need a continuous process running in the background if I''m just going to be running this operation on a per request basis. Also, I''m on a shared Dreamhost server, so running continuous processes is not always very reliable on its own. Is there a way that I can perform this sort of background operation without running a continuous process? Thanks much. -- 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 -~----------~----~----~----~------~----~------~--~---
I just wanted to bump this, I haven''t received any responses yet. Would it be a good idea to use threads directly here? Any ideas? Liam Morley wrote:> Every time a particular model object is created on the server, I want to > perform an additional operation that''s slightly more expensive, the > results of which aren''t necessary to show to the user. I was looking at > things like BackgrounDRb, but I really don''t think I need a continuous > process running in the background if I''m just going to be running this > operation on a per request basis. Also, I''m on a shared Dreamhost > server, so running continuous processes is not always very reliable on > its own. Is there a way that I can perform this sort of background > operation without running a continuous process? Thanks much.-- 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 -~----------~----~----~----~------~----~------~--~---
Liam, its own. Is there a way that I can perform this sort of background> operation without running a continuous process? Thanks much. >Look at BBQ http://pastie.textmate.org/private/vxqxcvv40omkrhvnzp6a More solutions discussed here : http://nubyonrails.com/articles/about-this-blog-beanstalk-messaging-queue Alain Ravet --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---