Thanks!
Best practices for maintaining an app?
- Somanyfish
- Posts: 3
- Starts: 3
- Wiki Edits: 0
OK, I have an app I've gotten running and I'm almost ready to call the project over. What do I need to take care of before I walk out of the door? Can someone point me to a guide to best practices on the basic setup of a production app? I've found the database backup wiki (www.hostingrails.com/forums/wiki_thread/22), but what about cleaning up sessions? Do you need to truncate the production log periodically? These are basic questions--is there some place I can find a checklist of what I need to configure before I can leave my app all by itself?
Thanks!
Thanks!
- William
- Posts: 1017
- Starts: 32
- Wiki Edits: 56
Yeah the checklist isn't that long, but you shouldn't walk away completely from an app. Rotate your logs and clear your sessions out (you can just set a simple cron for these), but you'll want to see how your app performs and uses memory over time, etc... If you're using Mongrels you may want to check out using Monit as well. Cheers, ~William
2008-05-02 12:41 AM
- Somanyfish
- Posts: 3
- Starts: 3
- Wiki Edits: 0
That's a good point--we really can never *leave* an app, but I sure would like it to be as self-sustaining as possible. Thanks for responding with some more suggestions of what to add to my list!