ehansen486 wrote in post #949547:
> In rails 3, the render :text => lambda { ... } is definitely broken.
I suppose then it might not be a bad idea to submit a documentation
patch to either remove or note that this is broken in Rails 3.0.
send_data
...
...
Tip: if you want to stream large amounts
Claudio Poli wrote in post #949941:
[...]
> We have potentially very large ajax requests (3mb)
It sounds like Rails' streaming needs to improve, but a 3MB Ajax request
is a huge design problem! For performance reasons, it should rarely be
necessary to request more than 100K or so through Ajax.
On 11 Ott, 20:44, ehansen486 wrote:
> I occasionally need to stream a large XML data file that represents
> key data in a DB. I'm porting over an application from PHP Symfony,
[...]
> This particular issue I can certainly work around but it's
> disappointing if it's true that there's no way in ra
Hi Fred-
What you're saying makes a lot of sense. As your automatic-flushing-
the-rails-3-1-plan article relates, for most rails interactions it's
difficult to stream because of all the evaluation that needs to
occur. Larger file downloads really are a special case. Using rails
metal to respond
On Oct 11, 7:44 pm, ehansen486 wrote:
> Nothing honestly moved the performance needle in a serious way.
>
> I've finally come to the conclusion that rails does not stream out as
> I'd expect. Here's a look at the perf stats rendered as the request
> runs:
it doesn't. Rails 3.1 will change some
On Oct 11, 2:44 pm, ehansen486 wrote:
> I occasionally need to stream a large XML data file that represents
> key data in a DB. I'm porting over an application from PHP Symfony,
> and with my initial implementation, it takes around 7 times as long
> with rails.
[...]
> I've finally come to the co
On Oct 11, 2:44 pm, ehansen486 wrote:
> I occasionally need to stream a large XML data file that represents
> key data in a DB. I'm porting over an application from PHP Symfony,
> and with my initial implementation, it takes around 7 times as long
> with rails.
[...]
> I've finally come to the co
7 matches
Mail list logo