Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8509865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:32:59+00:00 2026-06-11T03:32:59+00:00

Sorry I know this is a generic question, I’ll try to provide as much

  • 0

Sorry I know this is a generic question, I’ll try to provide as much detail as possible

I am running Bitnami Rubystack (3.2.7) on Amazon EC2 Medium instance. and some aspects of Rails are extremely slow, here are some of them:

  • when logging in (I am using devise gem), if you provide an invalid password, it would take a long time to tell you that the password is invalid.
  • Sign Up process takes extremely long, responds after about 2 minutes (when all it has to do is run a couple of queries agains the db?)
  • File uploads (on carrierwave) are so slow they are practically not working. (files are going to S3 via Fog on CarrierWave).

The code in the above instances is pretty straight forward and I don’t see anything obviously wrong. In fact, most of the work gets performed by the gems (e.g. devise handles registrations and logins). any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T03:33:01+00:00Added an answer on June 11, 2026 at 3:33 am

    Try to use a analytics tool, like New Relic

    This will help you locate te slowest code and/or the slowest db query


    EDIT

    On the comments below you have mentioned that you are using devise 0.5.8, this is very bad, considering that devise is, today, at version 2.1.2

    Please update your devise and keep me posted.

    NEW EDIT

    Since the devise version is not the problem you could look into the views.

    In the views check for http requests that could be inserted on a single request or a async request.

    For instance Google Analytics.

    If the load of their javascript files are blocking your view to load maybe putting them on head or making them async could help

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry, I know this question is easy, but I don't know how to get
Sorry, I know this is a very lame question to ask and not of
sorry for this question, but i dont know where to search for it, or
Sorry in advance everyone for this question as I know the cascading select boxes
I'm sorry if this is a bit of a C-noob question: I know I
sorry I know this question was asked already but the solution doesn't work for
I know this is quite a vague question -- sorry about that. If I
Sorry I know this question has probably been asked before, but do you know
I know this question is more on OS than on programming,sorry for that. In
I'm sorry, I know this is a very simple question but I've search here

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.