Guruza search results for mongrel http://guruza.com/searches/show/458 Questions recently submitted to Guruza that match the query: mongrel Thu, 20 Nov 2008 15:43:56 -0800 $65.00 - I'm having a weird problem with IE (6 or 7), but it works fine with every oth... http://guruza.com/question/431/reward-65.00 I'm having a weird problem with IE (6 or 7), but it works fine with every other browser I tried. My pages take -forever- to load in IE. For example, a 1kb gif will take like 6-7 seconds to load. I can't figure this one out, anyone has an idea? The site is at http://ajaxwhois.com and Apache/Django is under the hood. I tried disabling Javascript, but no luck. Thu, 19 Oct 2006 21:01:22 -0700 $5.00 - My site spans ajax requests that take a while to execute on the server. Howe... http://guruza.com/question/360/reward-5.00 My site spans ajax requests that take a while to execute on the server. However, this request becomes invalid if the user makes another request before the first one is completed. In order to save server resources, I'd like to be able to kill the 1st server request when the second one is sent. I was thinking about polling the session to see if a certain criteria is met. If it is, I'd just abort the current call. How would I do that? I guess I'd have to launch a second thread when the ajax request starts (on the server side) and that thread would poll the session every 100ms or so. If the criteria is met, it would kill the request. I'd like to see a code example of this. Wed, 30 Aug 2006 00:25:10 -0700 $20.00 - *Rails Output Streaming* I am revisiting this again because I am in a situat... http://guruza.com/question/358/reward-20.00 *Rails Output Streaming* I am revisiting this again because I am in a situation where I need output streaming. Rails has two methods that utilize streaming (send_data, send_file) I've modified this to meet my needs, along with the help of people on the mailinglist. However the code below which should work, does not provide output streaming. I know in the past output streaming has worked within rails, I am wondering if in a current release it has been broken. Whatever the case is, I need to determine why I cannot get the output streaming mechanism in rails to work. I'm using lighttpd on fc5. I've used mongrel with the same results. class TestController < ApplicationController def index render :text => Proc.new { |resp, out| out.puts 'start' out.flush 10.times do out.puts '.' out.flush sleep 1 end out.puts 'done' } end end Tue, 29 Aug 2006 14:02:10 -0700 $10.00 - I have a rails app that runs an nmap scan on a host and reports the response ... http://guruza.com/question/279/reward-10.00 I have a rails app that runs an nmap scan on a host and reports the response via ajax. I use backtick to run nmap via my controller. What I've noticed is that if the nmap scan takes a while (say about 2 minutes), rails will block all request until the shell command finishes executing. My question is if there is a more effecient way to run shell commands via rails? Will I have to thread the nmap scan so the rails controller doesn't block until it receives a response? Thu, 27 Jul 2006 12:04:06 -0700