サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
geekblog.vodpod.com
scottp August 17th, 2007 Probably the most important thing I’ve learned about using Mongrel is don’t be slow! Actions that take a long time (like greater than 5 seconds) will kill throughput since all other Rails actions will be queued up behind that slow one. So the general advice is to perform long running tasks “in the background”. Ok, fine, we’ve done lots of that. But sometimes you have a t
scottp August 17th, 2007 A while back we hacked the Rails file_column plugin to support storing files up at Amazon S3. Seems like file_column isn’t much used these days, so I’m just offering up our code as is. You will need to: Define the constants AWS_S3_KEY and AWS_S3_SECRET Also have the AWS::S3 plugin for accessing Amazon Include the option :use_s3 => true in your file_column declarations Dr
このページを最初にブックマークしてみませんか?
『geekblog.vodpod.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く