Trying out BigCouch with Chef-Solo and Vagrant

So the other day, I wanted to quickly check something in BigCouch and thanks to Vagrant, chef(-solo) and a couple cookbooks — courtesy of Cloudant — this was exceptionally easy. As a matter of fact, I had BigCouch running and setup within literally minutes. Here’s how. Requirements You’ll need git, Ruby, gems and Vagrant (along with Virtualbox) installed. If you need help with those items, I suggest you check out my previous blog post called Getting the most out of Chef with Scalarium and vagrant....

April 4, 2011 · 1 min

Socket.io & nodejs: at a medium pace

In my last blog entry, I shared some nodejs-code to read CouchDB’s _changes feed and publish the data to a website. In order to update the page in a continous fashion, I used socket.io which provides a nifty abstraction across server- to client-side transports — for example, websockets and ajax longpoll. Full-throttle When we tested the code for a few days over the weekend, the largest issue we ran into was that the stream moved too fast....

February 15, 2011 · 1 min

node.js & socket.io fun

I recently had the extreme pleasure to use node.js and socket.io on a project. Here are some insights. Objective So the objective of the project was to read data from the _changes feed of our CouchDB cluster (hosted by Cloudant) and publish the data to a widget which we can use to display a constant stream of “what are people doing right now”. The core of the problem we faced was not just taking this stream of data and feeding it on to a page, but since we’ll deploy this widget to our homepage we needed to make sure that no matter how many clients see it, the impact on the database cluster is minimal; for example, it would be a single client (or down the road up to three for failover) who actually read data from the cluster....

February 2, 2011 · 1 min

Operating CouchDB II

A couple months ago, I wrote an article titled Operation CouchDB. I noticed that a lot of people still visit my blog for this particular post, so this is an update to the situation. And no, you may not copy and paste this or any other of my blog posts unless you ask me. ;-) Caching revisited A while back I wrote about how caching is trivial with CouchDB — well sort of....

November 30, 2010 · 6 min

Looking for Two PHP Developers in NYC

Hey everyone, it’s my sincere pleasure to announce that we’re looking to fill two positions for PHP developers (entry/junior) in NYC. Expectations This is what we look for from candidates: A strong and firm knowledge of PHP5 First hand experience with the Zend Framework You’ve heard of PHPUnit and TDD An idea of what a HTTP request is and the different applications that take part in one You heard of CouchDB, MongoDB or Redis (generally “NoSQL”) before Last but absolutely not least:...

August 12, 2010 · 1 min