search for: rinda

Displaying 20 results from an estimated 20 matches for "rinda".

Did you mean: kinda
2006 Feb 14
25
Rails and background tasks/threads
I am just getting into web servers/web applications and rails as well so bear with me. I am trying to write a web app that, based on a users input from the browser, will perform some task, and update the browser (ala ajax style) as needed and/or provide a way for the user to control the background task. Now, I have more experience with java servlets, which makes this easy enough for a beginner.
2010 Jun 30
0
drb problem? ringy-dingy won't answer...
...ob, runs fine if called directly. But if ''distrib'' is true (the default) it runs right up to the call to the server and right past it without getting to the server or raising any errors. Am using Ruby 1.8.6.26 , Ringy-Dingy 1.2.1, dj 1.8.4. *********The server: require ''rinda/ring'' class ScriptServer include DRbUndumped attr_accessor :result def run(fullScript) myTS = Time.now.strftime("%Y%m%d%H%M%S") msg = "===> Starting #{scriptname} in run #{scriptrun} on #{scriptenv} at #{myTS}" puts msg @result = "***#{scr...
2006 Nov 09
2
Multiple backgroundrb servers?
...or all the existing jobs on the first backgroundrb server to complete before shutting the first one down. A flip-flop essentially. But then I realized that backgroundrb doesn''t currently support multiple servers on a single rails installation. I noticed a ticket contemplating the use of Rinda for a future release, but wasn''t sure if that implementation would address this scenario. I''m not sure if I''m missing something here, so I thought I''d write to the list and see if anyone had any thoughts. Thanks! Jason -------------- next part -------------- An...
2006 May 09
5
Shared Queue / Exclusive Query Results
My application is going to have a work queue of scheduled tasks stored in the DB. This work queue will be shared across multiple Rails app servers. I need a way to ensure that no two servers get the same jobs if multiple servers pop jobs off the top of the queue simultaneously. Is there a fairly simple way to acheive this? Or do I need to come up with some fancy secondary server to dispatch
2008 Sep 21
5
Video card or driver doenst support enough textures +
I just installed Call of Duty 4, I when I try to start the game I get this message; Video card or driver doenst support enough textures for the DirectX 9 code path. I've used the same videocard for CoD4 in Windows, and its working fine. I have a Nvidia GeForce 7600GS card, and installed the drivers via Envy.
2006 Jun 26
2
Serialising multiple accesses to external web service
Hi all, I have an external web service that I need to log into at a specific part of my web app,. The problem is that I only have one login to this web service, and if another login attempt is made while an existing login session is still active, the existing session gets terminated. How can I best serialise access across my mongrel cluster to this external API? I thought of creating
2006 Jul 24
1
Worker-be-gone
Hello, Thank you so very much for Backgroundrb. Good Stuff. A general question: Do: - calling ''teminate'' within a worker - calling delete_worker through MiddleMan - letting the :ttl expire - calling MiddleMan.gc! (with an appropriate timestamp) All accomplish the same thing? And here''s a bonus feature request: It''d be cool if you could specify how many
2006 May 01
1
Best way to do task in background in Rails
...e spawned thread is killed when the invoking (Rails) thread exits. The code works with the join, but this defeats the purpose of what I''m trying to do as the UI thread blocks. Am I taking the right approach here? Will my results be different under Apache/FastCGI? I came across DRb and Rinda when I did a quick search. Because I don''t need to communicate with the background task, I''d prefer a really simple approach before I investigate DRb, Rinda or something else. Thanks in advance for advice and feedback! --Ed Lau -- Posted via http://www.ruby-forum.com/.
2006 Oct 17
5
Memcached Server - Memory Consumption
I was just testing the memcache server on a Windows box and had set it up as a Windows Service and to my surprise (or my shock really) it was using 47+ meg of ram with no data even loaded in it yet. Has anyone else used the Windows port of memcached for their Rails projects and if so how much ram was it using? Does memcached use less memory on Mac OS X or Linux than Windows? Thanks for any
2008 Mar 13
6
What is SpecServer?
I have looked through the docs, looked at the code, even gave a cursory (2 page) glance at google, and it is not clear to me what SpecServer is or what it is for. Is it meant to speed up the execution of specs in a rails environment by doing some magic on the database? Or I am thinking it keeps a copy of Rails running to avoid the rails reload delay... Is there any documentation on this so I
2006 Jul 13
4
Update
Folks- I just commited another revision of the plugin. Nothing huge in this update but some extra features. Acl lists are now configurable in the config file. So you will want to blow away and recreate your config file again. Thanks to Georg Friedrich for this. And I applied Gunter Ladwig''s patch for singleton worker classes. These are workers that only have one instance of
2006 Aug 19
1
Setting the process priority?
Is it possible to make the process priority higher for backgroundrb? Thank You, Ben Johnson E: bjohnson at contuitive.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060819/7a2e6d1b/attachment.html
2007 Jul 12
1
Rails database backup & restore plugin or rake task
Hi, Searching in internet finds me mysql specific things and outdated rake tasks. I want a portable one. So using postgresql database, I want to dump my db data into a file. Then I want to load the file into mysql database. Any one know where I can find one? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2006 Jun 16
0
[ADV] Ruby / RoR Training Camp, Pune (India)
...e Collection: WeakRef Hour 2: Object Model ------- 1. Interaction between Classes and Objects 2. Object space 3. Freezing objects 4. Tainted objects 5. Marshaling Objects Hour 3: Networking and Databases ------- 1. Net Library: ftp/http/smtp/telnet/pop3 2. DBI Library 3. Threading 4. DRb/Rinda 5. SOAP/XMLRPC Hour 4: Web ------ 1. CGI Library 2. Templating engines: ERB, Amrita 3. REXML 4. Redcloth/Bluecloth 5. YAML 6. Webservers: Webrick, Mongrel Hour 5: Extending/Embedding Ruby ------- ------- 1. Ruby in C 2. C in Ruby 3. JRuby 4. Ruby.NET Hour 6: Case Study ---...
2008 Feb 02
9
deep test with rspec?
All, Has anyone on this list tried to use DeepTest[1] with rspec? My initial attempts have failed so I would be really interested if someone has figured it out. Thanks. -Ben 1. http://www.somethingnimble.com/bliki/deep-test
2006 Sep 22
1
how about the global data when multiple backgroundrbs ?
Ezra, Suppose a chatroom application, a RailsApp + 2 backgroundrbs: MiddleMan1& MiddleMan2, running in 2 machines. When Chater1 login, RailsApp call MiddleMan1 to get something about Chater1 from db to memory, like his contacts or other personal settings. When Chater2 login, RailsApp call MiddleMan2 do the same thing. But who is reponsible for the Global Data? like a Online Chaters
2006 Jul 17
2
Very strange after_save problem. Please help.
I have a very strange problem here. I do not get this. So any help is greatly appreciated. Basically I have a model that calls a method in the background process in the "after_save" method. Let''s call the model products. So what happens is this: 1. I create a new product. 2. Everything works and the product is saved with id 13. 3. A method is called in my background
2006 Dec 30
7
Support for processing after the response has been transmitted?
Hi, Is there any interest in allowing controller methods to do post-response processing? This would be useful where some time-consuming statistic or index processing should be done after the response has been sent so as not to delay a response that does not depend on that processing. This could be implemented by allowing the action method to yield to the process method which in turn yields to a
2006 Aug 02
10
Ruby deamon
We are building a web-based application with Ruby on Rails and MySQL backend. The client now wants us to add various workflow features that will eventually expand into SOAP web services. These workflow features include tasks such as automatically sending reminders for due tasks, or if a particular set of information hasn''t been logged by a certain time to automatically send an email
2006 Jul 19
30
I am a newbie and I would like some help deciding what operating system
I would like first to introduce my self to the community. I am Steve Beyer and I am interested in learning Ruby, ROR, and how to set up a production server. I am going to use OSX for my client/developement system but I would like to get some advice on what operating system you would recommend for a production server. I want to use Mongrel to start and then move up the ladder as my