Ardekantur

Computer Science, Ruby, and Software Engineering.

Tag: sinatra

Sinatra 0.9 and Pre-RSpec Modifications

I have no idea if this is the right way to do this, but it certainly works. Say you’re working in Sinatra 0.9, and have an application that subclasses Sinatra::Base. Call it AwesomeApp. What if you want to fiddle around with it — in my case, set application options — before RSpec starts running with [...]

My Faith is Restored

I neglected to add in my previous post that it wasn’t initially the size of the spawned processes that caused me to reformulate my approach to my website, it was the access time. A dozen or so off-hand measurements averaged the time to display the entire front page (a paragraph of text from a SQLite [...]

Seriously Reconsidering My Dedication to Ruby

One Ruby web application. Sinatra and Rack, just under 300 lines. SQLite, almost no DB access.

# passenger-memory-stats ————– Apache processes ————– PID PPID Threads VMSize Private Name ———————————————- 2654 1 1 242.0 MB 0.0 MB [...]

Phusion, Rack, Sinatra, and sub-domains

Working with Sinatra, Phusion Passenger, and Apache runs into some problems.