Code Monkey home page Code Monkey logo

Comments (5)

scarroll32 avatar scarroll32 commented on June 27, 2024

http://www.slideshare.net/heroku/optimizing-production-apps-on-heroku-73113

from crowdai.

scarroll32 avatar scarroll32 commented on June 27, 2024
  • upgraded memory and the database
  • turned off caching

f79cb39
now is lighting fast, but this is not an ideal solution.

from crowdai.

scarroll32 avatar scarroll32 commented on June 27, 2024

Related #59

from crowdai.

scarroll32 avatar scarroll32 commented on June 27, 2024

Notes

Because MRI doesn't have "real threads", ideally there would be at least one worker
for each CPU core. Heroku 1x, 2x, and Performance-M dynos each have 8 cores. Performance-L
dynos have 2 cores.

It's often not possible to have a worker per core, because of memory constraints.
For example, a medium to large rails app on a Heroku 2x dyno will take up 300-550 megs, which
alows for only running 1-3 workers.

Some references

https://github.com/puma/puma-heroku

http://julianee.com/rails-sidekiq-and-heroku/

http://stackoverflow.com/questions/8821864/config-assets-compile-true-in-rails-production-why-not

puma/puma-heroku#4

from crowdai.

scarroll32 avatar scarroll32 commented on June 27, 2024

Moving research to the Wiki https://github.com/crowdAI/crowdai/wiki/Profiling

This issue has been solved & closed, assets are back online.

from crowdai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.