so you still use one the well known rails hosts sites for your actual Rails app then James, but just use www.unlimitedwebhosting.co.uk for images etc right? then you just use the rails "config.action_controller.asset_host" concept (which was in the blog) to handle users browsers picking up images directly from www.unlimitedwebhosting.co.uk?
2009/9/26 James West <[email protected]>: > > Greg Hauptmann wrote: >> Hi, >> >> Any ideas/suggestions re what a good cost model / approach would be if >> one's Ruby on Rails application was to be successful, but noting users >> (as part of the service/application) could upload lots of files >> (images etc). >> >> What's a good way of have: >> (a) a simple cost model for use of the site, e.g. free up to X but >> costs Y after this per every Z, >> (b) noting files/images etc have to be protected by the rails >> authentication / authorization >> (c) makes sure I won't start losing money (e.g. if users have to pay >> less than the cost of storage / bandwidth) >> >> Any good ideas/approaches? >> >> Thanks > > Use an external repository for your images that has unlimited bandwidth > unlimited drivespace and an acceptable uptime that charges a fixed cost > per month. > www.unlimitedwebhosting.co.uk is the what I use for image and doc > hosting. > This approach will massively improve performance of any Rails site that > serves static data and is extremely simple to implement by making use of > asset_host. > > Check out this blog > http://ariejan.net/2007/09/24/rails-20-new-features/ > -- > Posted via http://www.ruby-forum.com/. > > > > -- Greg http://blog.gregnet.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

