Ruby on Rails Thursday, February 2, 2012

On 2 February 2012 09:18, Pallav_bfs <spallav88@gmail.com> wrote:
> 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).

Colin

>
>
> On Feb 2, 2:02 pm, Colin Law <clan...@googlemail.com> wrote:
>> On 2 February 2012 07:43, Pallav_bfs <spalla...@gmail.com> wrote:
>>
>>
>>
>>
>>
>> > 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.
>>
>> > - RUBYGEMS VERSION: 1.8.10
>> >  - RUBY VERSION: 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32]
>> >  - INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8
>> >  - RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe
>> >  - EXECUTABLE DIRECTORY: C:/Ruby187/bin
>> >  - RUBYGEMS PLATFORMS:
>> >    - ruby
>> >    - x86-mingw32
>> >   -RAILS 3.0.10
>>
>> > 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?
>>
>> Are you running in development or production mode?  Development is
>> slow as it reloads all the classes at each request.
>>
>> Colin- Hide quoted text -
>>
>> - Show quoted text -
>
> --
> 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@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>

--
gplus.to/clanlaw

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment