Occasionally I enjoy reading one of the several findings by the W3C Technical Architecture Group. My favorite to evangelize is The Rule of Least Power.

Tonight I started reading through Writing Promise-Using Specifications. When writing API code, I tend to find promises most useful for getting everything set up. After that, I’d rather not wait for a promise to resolve when I could be streaming data instead.

We have found streaming large amounts of data hasn’t really helped our throughput all that much, but the memory consumption is much better, allowing us to serve more users with smaller machines.

Nicholas Lindley