ql.io: Consuming HTTP at Scale

January 24, 2012

Slides from my workshop on ql.io at the Node Summit. ql.io: Consuming HTTP at Scale View more presentations from Subbu Allamaraju

4 comments Read the full article →

Idempotency Matters

January 16, 2012

Here is an example of how idempotency can save end users a precious second or so.

11 comments Read the full article →

Github and Code Reviews

January 13, 2012

We all like to do code reviews, but in practice code reviews don't happen as meticulously as intended. I know of two reasons: Code reviews create extra work. Print outs, folks sitting in meeting rooms in front of laptops, or submitting diffs to a tool are all extra work for the team. Code reviews are [...]

12 comments Read the full article →

Cluster Example with Node 0.6.x

January 11, 2012

Here is a quick example to show how to manage an app in a cluster. Node’s (v0.6.x) cluster API is simple, but it takes a few extra steps to make the cluster management scriptable. The example below shows how.

0 comments Read the full article →

Announcing ql.io

November 30, 2011

I am super-excited for to announce the public release of ql.io today. ql.io is a declarative, evented, data-retrieval and aggregation gateway for HTTP APIs. Simply put, this is our answer to the pain points that I recently described in my APIs are a Pain post.

12 comments Read the full article →

APIs are a Pain

November 18, 2011

I don’t like writing client apps that use APIs. Writing HTTP client code to talk to APIs is verbose, repetitive, chatty and slow. This is in addition to addressing latency and bandwidth constraints and core functionality of the client app – such as building a snappy UI or supporting some other business use case.

63 comments Read the full article →

WebSocket Fallbacks

November 16, 2011

For a soon-to-open sourced nodejs based platform that I have been working on since June this year, I needed a way to send some optional telemetry data back to the browser without mixing it with the real data that the client code is interested in. The first thing I looked at was socket.io. Socket.io’s claim [...]

2 comments Read the full article →

Measuring REST

August 21, 2011

These are the slides from my talk yesterday at restfest.

11 comments Read the full article →

Awesome Software

June 12, 2011

Every other new OSS project is now awesome, fast, robust or even battle-hardened. If you really want your OSS project to outlive a swarm of retweets over a day, here is some advice: Think of some concrete scenarios to help us understand what is awesome/fast/robust/whatever about your stuff. Write tests for those scenarios. Publish your [...]

3 comments Read the full article →

MessagePack Anyone?

June 9, 2011

I came across MessagePack from multiple sources in recent weeks. MessagePack claims to be a "binary-based efficient object serialization library". The bar chart on MessagePack’s site claims that MessagePack is four timers faster than JSON serialization and deserialization. Really? If true, it is able to optimize for both speed and space at the same time. [...]

22 comments Read the full article →

Measuring REST

May 4, 2011

This thought is long overdue. I wanted to write this up nearly a year ago. Since there are more interesting problems to work on than the subject of this post, let me keep this brief. Don’t follow models like Richardson’s Maturity Model to decide whether your app is RESTful or not. Why not? The reason [...]

24 comments Read the full article →

Reflecting on Nodejs vs Play

April 6, 2011

My last post on Play vs Nodejs got a lot of traffic in the last 10 days, but it also opened a number of conversations. Here are the key comments.

9 comments Read the full article →