Skip to content

cchandler/RailsBigPipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigPipe inspired experiment

This is a Rails 3.0.7 project with me experimenting with implementing a BigPipe like workflow on the render path.

Facebook’s BigPipe

My goals

I wanted to see what it would take with the current Rack-based Ruby server implementations to preemptively flush the socket and get the browser to start rendering content before the response was fully-buffered. So far it appears to work well if I start Rails with rackup. A good chunk of the ruby servers today buffer the response making it impossible to control within Rails. It looks like a lot of this is being solved in Rails 3.1.

Meta

Written by Chris Chandler(chrischandler.name) of Flatterline(flatterline.com)

Released under the MIT License: www.opensource.org/licenses/mit-license.php

Main page: github.com/cchandler/

About

A BigPipe-like implementation in Rails that I'm experimenting with.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published