Hello All,
I am working with rails in Windows xp platform since last 2 month or
so.I have made some basic and simple rails CRUD app.
But whenever I tried to put some authentication on top of the apps,the
app went a lot slower.Specially when accessed from remote client
machines.
I am using AptanaStudio3 as IDE and I have used gem 'devise 1.1.rc0'
for authentication.
Can anyone tell me how can I make my RESTful apps work a li'l faster
with this configuration or any other that might help?
Hello Colin,
I've tried production mode also..But that doesn't come with a lot of
improvement.
And I am using webbrick server.
There is the question of what you mean by slow of course. Any Ajax
call must do a round trip to the server.
Start by looking in the log though to see if any clues there.
I have not done it myself but there is a Rails Guide on Performance
Testing which purports to provide methods of profiling your app to see
where the bottlenecks are. Others who have experience of this may be
able to offer suggestions. Also googling for ruby rails profile
provides a number of useful looking hits (include ruby in the search
or you find all about the profile of rail lines).
I didn't assume that you would do the research for me!
Thanks for guiding the direction.
I only asked for sharing any clue in case you find something ...
Thanks again