Cloud proxying service
Posted
by
ChristopherJ
on Pro Webmasters
See other posts from Pro Webmasters
or by ChristopherJ
Published on 2012-09-06T12:11:35Z
Indexed on
2012/09/06
15:50 UTC
Read the original article
Hit count: 175
I have an app that mashes up images from Bing image search, it's hosted on Heroku written in rails.
The app is client side in javascript, so the mashup is done on an html5 canvas - this means though that if I fetch the images direct from the Bing server, the canvas gets dirty and I can't save it.
As a quick work around, i have set up a route on my rails app that simply proxies the request to Bing and passes the result back through.
Obviously this is a very poor performance solution and will eat up my dynos very quickly.
Can anyone suggest a more suitable option? At the moment I'm thinking maybe Amazon EC2 with apache mod_rewrite rules would be better performing and more cost effective.
Is there a cloud service (or an app I could deploy to a cloud service) that would be more appropriate for proxying requests for me so that my javascript can fetch the images without dirtying the canvas?
© Pro Webmasters or respective owner