Forum: Ruby on Rails http streaming in Rails 3.0.3 and thin server

Posted by renu mehta (sm94582)
on 2012-10-11 19:14
Hello,

In my site I am using 'thin' server and my environment is Rails 3.0.3
and Ruby 1.8.7. Certain pages in site take a long time to process and as
I am hosting it on Heroku I get timeout errors frequently. I am planning
to use http streaming in this setup. When I use curl on the command
prompt I do see that transaction is chunked. Apart from this setup I
haven't done any other change in the code to have http streaming. How do
I confirm that page is actually loaded using http streaming and what
changes do I need to do in code/setup to start http streaming?

I can't upgrade Rails/Ruby as the hosting on heroku is temporary and I
may have to move to some other hosting service and I may not have the
option to use higher versions of Rails/Ruby.

Thanks for any help in advance.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.