sinatra-synchrony sample application
This is a small application demonstrating Kyle Drake's sinatra-synchrony stack.
You may want to look at my nodejs-concurrency-sample application, which is the same application implemented using the node.js event-driven framework, VisionMedia Express web framework, and Seq concurrency library.
This code doesn't work correctly, and will hang and crash. My hope is that someone that knows how these libraries are intended to work can submit a pull request with corrections so I and others could submit documentation patches back to the originating projects. Or if these are bugs, please comment so we can bugs. Please see
FIXME lines in the
app.rb file for details.
Running the application
Install Ruby 1.9.2, MySQL and the MySQL headers.
gem install bundler
Install the application's dependencies:
settings.ymland customize it with your database credentials and such.
Start the application:
Access the application with your web browser: http://localhost:3000/
This code provided under the MIT License, see
LICENSE.txt for details.