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/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

