Author patsplat

Bad Wolf, in progress

Bad Wolf, in progress

Farm Wedding

Greenroom: a PHP / Mongo Framework

Link: Greenroom: a PHP / Mongo Framework

Creating a new PHP / Mongo Framework with the following guidelines:

1. Existing frameworks depend on SQL for much of their CRUD functionality.  A fresh start will allow for the highest quality Mongo framework.

2. Code management is not responsibility of the framework.

3. A high quality default CRUD interface is a must.  The most important API is the Field and Model API.

During the Alpha stage, exploratory work implementing basic types will be performed.  Once the types crystalize, final behavior will be documented, tested, and implemented.

NoSQL Cloud Database Evaluation

The following products were reviewed to assess their capabilities:

Used by Facebook, Twitter, Digg



We also looked at these products, but ruled them out for various qualitative reasons:

Project Voldemort
Used by LinkedIn



Project Voldemort and Hbase did not have sufficient python drivers and were ruled out for analysis.  Redis was ruled out because sharding was implemented outside of the project in a non-standardized manner.


We tested each technology using the login data for ~ 1.5 million users. The first test inserted all the rows into the database, and the second test queried 100,000 random usernames.  These were timed to provide a way of comparing relative performance.

Cassandra Results
Load: 52m9.835s
Query: 1m42.434s
Disk Usage: ~3.1G

CouchDB Results
Load: 198m3.774s
Query: 15m54.026s
Disk Usage: ~6.5G

MongoDB Results
Load: 15m38.976s
Query: 1m1.990s
Disk Usage: ~1.0G

Cassandra provided acceptable performance. Cassandra had the best cluster management. Schema design was difficult and required much more foresight. Single node performance was not as fast as Mongo’s, but presumably would do better with scale.

CouchDB had the most attractive development environment but was unacceptably slow and heavy.

MongoDB had the fastest single node performance. MongoDB’s toolset was well rounded and easy to understand. MongoDB was also the most flexible system — much easier to write ad hoc queries. The clustering support exists but is not as advanced as Cassandra.

Appendix: Project descriptions and links

The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo’s fully distributed design and Bigtable’s ColumnFamily-based data model.

Apache CouchDB is a document-oriented database that can be queried and indexed in a MapReduce fashion using JavaScript. CouchDB also offers incremental replication with bi-directional conflict detection and resolution.

MongoDB (from “humongous”) is a scalable, high-performance, open source, dynamic-schema, document-oriented database.

Scene 14: The Eye of the Tiger

Cube Description

It is the third film in the Cube film series, and its plot builds on the previous two in the sense that it is primarily about people who are trapped within a maze of cube-shaped rooms, with some of the rooms containing deadly traps.

Wikipedia review of Cube Zero

Clear Blue Tuesday

The cast and crew of Clear Blue Tuesday were very sweet and professional.  My artwork is somewhere in this movie.  Unless it was cut.

CLEAR BLUE TUESDAY trailer from Elizabeth Lucas on Vimeo.

Takahashi Glitch

Entry for Rhizome’s Tiny Sketch Competition

Continued exploration of linking background color and foreground text. Grey scales are used to reduce source code size (one variable instead of 3).


Entry for Rhizome’s Tiny Sketch Competition

I was interested random text as a texture, and the numerical symmetry between ascii and rgb values. The contest limitations broke my experiment in a frenetic manner.