I have a problem where mongrel on vista is veeeery slow. I've
confirmed in with two different computers running Vista.
Same code has no problem on XP or Linux.
Basically on both of my Vista instals, looking at "net" section of
firefox, I can see that it appears to take 1sec between each asset.
This seems really nuts. Has anyone else managed to get mongrel working
nicely with vista ?
What does the log show when it handles a request? What version of ruby
are you running on Vista? Does it differ from that installed on the
other 2 OSes?
If it's just a ruby quirk, lighttpd & webrick should run pretty
smoothly. I'm guessing this may be some kind of threading problem?
[I'm assuming you're not using mongrel cluster].
I'm also guessing you're just using RoR in Vista for dev work or nerd
points, not as a production environment so maybe falling back on
lighty for a while wouldn't do any harm?
* Log looks fine, seems to run at expected speed - only the download
is the slow
* Ruby version = 1.8.6
* I've tried same thing with ruby 1,8,5
* Not using mongrel cluster
* correct about the dev work
so maybe falling back on lighty for a while wouldn't do any harm?
not really - just the migration pain and the 'im used to mongrel'
part.
well it was all working well on XP and really it only seems to be
firefox on mongrel on vista that works badly.
so it's nearly there !!! but not quite !!
How is firefox performing with other websites hosted on the local machine? maybe it's a resolving localhost issue? What are connection settings in Firefox? Are you behind a corporate proxy? Is firefox going out to that proxy then back to the local machine (i.e. do you need to enable ignoring of proxy for localhost).
What happens if you spoof the FF user agent as, say, IE7?
If you open another tab in FF and go to about:config, is
"network.http.pipelining" set to true? if it is, try turning this off
or reduce the maxrequests.
Have you tried connecting to your app from a gecko-based browser on a
remote machine?
IE will try to pre-render the page while it's downloading, so a bad
resource isn't as noticeable. Firefox waits for the complete doc
before rendering certain elements such as tables and such.
How about maybe you run it on real solid platform, you know, something other than vista. The moral of the story is, you sell your soul to devil and eventually he comes for it.