3 ms·
For example, dynos are cycled at least once per day Why so often? I wonder if this is just to protect against memory leaks leading to poor performance from poo
by positr0n 13y ago
For example, dynos are cycled at least once per day
Why so often? I wonder if this is just to protect against memory leaks leading to poor performance from poorly coded apps or if it's an issue with their infrastructure.
- gkop 13y agoFor one thing, it demonstrates empirically that the app can be successfully restarted.
- derefr 13y agoI would bet it's horizontal migration to "compact" dynos down onto fewer servers during off-hours, so they can terminate some of their EC2 instances. Basically, generational garbage collection performed on VM containers.
- bifrost 13y agoI have yet to see one rails app that doesn't leak memory like crazy, this is the easiest way to maintain sanity :)
- ryan-allen 13y agoStop using RMagick!
- bifrost 13y agoTrust me, I don't use rails at all anymore.