Hacker News new | past | comments | ask | show | jobs | submit login

    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.



I 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.


For one thing, it demonstrates empirically that the app can be successfully restarted.


I have yet to see one rails app that doesn't leak memory like crazy, this is the easiest way to maintain sanity :)


Stop using RMagick!


Trust me, I don't use rails at all anymore.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: