Comments (5)
http://www.slideshare.net/heroku/optimizing-production-apps-on-heroku-73113
from crowdai.
- upgraded memory and the database
- turned off caching
f79cb39
now is lighting fast, but this is not an ideal solution.
from crowdai.
Related #59
from crowdai.
Notes
- Puma is a multithreaded server and MRI is single threaded. Puma will work best with Rubinius or JRuby.
- There is a gem configuring a default plugin, but the contents can be easily added to the initializer https://github.com/puma/puma-heroku/blob/master/lib/puma/plugin/heroku.rb
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
from crowdai.
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)
- Drag and drop on challenge home page ordering
- Query tool to easily produce mailchimp lists HOT 3
- Change redact comment to delete HOT 1
- Add upload media option to edit submissions HOT 1
- Allow editing of the grading message on submissions. HOT 1
- Submission detail image overlaps
- Swap the styling of baseline label and the baseline text HOT 2
- Render meta parameters on submission page HOT 1
- Score precision is not respected in case of baseline submissions HOT 2
- post challenge submissions throw an error HOT 3
- Add challenge round to grader service call HOT 3
- Fix the rendering order of the challenges on the challenge page
- crowdAI tests should use mock services HOT 4
- Update ActiveStorage and ActiveJob HOT 1
- Out of memory issues when accessing admin HOT 1
- Broken SQL being issued
- Research Paper / Slides HOT 1
- Reverse proxy to crowdAI HOT 2
- Webpacker build issues HOT 1
- Sunsetting crowdAI banner & remove signup page HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crowdai.