fedward, tumbling

goes on, and the heat goes on
~ Saturday, August 14 ~
Permalink

How Being Stateful Would Improve Starbucks

As a followup to the REST rant the other day, here’s a digression that occurred to me:

Imagine that instead of buying a Coke at 7-Eleven (simple object acquisition with no preparation required), picture buying a coffee at Starbucks.

Now, I don’t actually hate Starbucks qua Starbucks, but I do hate two things about Starbucks.  One of them is the coffee itself (over-roasted, excessively astringent), and the other is the order delivery process.  (If you’re asking what that leaves, it leaves the ubiquity — bully for them! — and the cafe environment outside all the shouting, which generally involves non-awful music, comfortable chairs, and available power and wifi, all good things in my book).

There’s an interesting article about Starbucks that says their process is actually a good thing.  The experience described in that article, however, is not the experience I have on those occasions when Starbucks is my only option.  The article refers specifically to a correlation identifier.  In my (admittedly small) sample of Starbucks experiences, the number of times my name has been written on my cup (or even asked for) is exactly zero.  Without any correlation identifier, how do customers know whose (ugh) Venti® nonfat latte is whose?

In software terms, what Starbucks is doing is really just a half-assed version of asynchronous processing.  When you do this in software, you (the client) register a callback.  A software callback is the equivalent of giving the barista not your name, but your phone number.  Many restaurants have those pagers for tables, which are essentially the same thing — when you register your callback, you’re given a handle, which is unique to you.  You get the actual call (or the pager vibrates) when your coffee (or table) is ready.

The brute force software alternative to this is scheduled polling.  You’ve probably had this experience at a poorly run Starbucks, actually, when the shouty person is inadequately shouty, and you have to keep returning to the counter to find out if your drink is done yet.  The canonical example of polling in real life is “are we there yet?”  But I digress even more.

The Starbucks problem is that they don’t have a proper callback, they just shout “Venti® nonfat latte!”  In practice there’s no queue management.  Everybody who ordered a Venti® nonfat latte (and I’ve never seen the number be less than two) has to figure out who’s where in the queue, with somebody invariably feeling like they’ve gotten their drink stolen.  I’m not sure there even is a term for what sort of queue “management” that is.  It’s just a mess.

But (and this is where this ties in to the previous rant) not only is the Starbucks model a callback done wrong, it’s a broken hybrid of REST and stateful services.  They treat the part where they take your money like a REST transaction, queue the process of making your beverage, and then forget who you are.  In a true stateful model, each cup would have a serial number (not a name), and they’d have to record the completion of the process to get the name that associates with that serial number.  That way they’d have not only a 1:1 correlation of processes to customers, they’d actually know how long each process took in the real world and be able to see where processes could be improved and beverages could be repriced or eliminated from the menu based on actual data.

They could do this without writing anything or wasting paper, too.  They could just have a hundred plastic coasters (forty would probably do it, actually) with numbers on them, so that a number (handle) could be reused endlessly.  Put a cup on the numbered coaster and put the number into the POS terminal, along with the customer’s name (or hand the customer a pager tied to that same number).  When the order is done, the shouty person keys the number in, the system records completion, and the shouty person can then thank the customer by name.  Add the pager and they don’t even have to shout, making the environment for everybody else that much more pleasant.

Then they just have to start making better coffee.

Tags: software starbucks coffee REST stateful asynchronous processing callbacks
~ Friday, August 13 ~
Permalink
OK, DC coffee people.  This is the Hario Skerton (Engrish for Skeleton) hand coffee mill.  It is the larger of two made by Hario (the smaller one is called the mini mill). Your mission this weekend is to find me a store in the District or near-in suburbs that actually has one of these in stock, so I don’t have to order online.  If nobody’s tracked one down by Monday morning I’ll order from Intelligentsia simply because they’re closer than everybody on the west coast and cheaper than the people in NYC.  But if I can find one for under $50 here I’ll happily support my local coffee geeks.
Spread the word!
(photo via ah_blake on flickr)

OK, DC coffee people.  This is the Hario Skerton (Engrish for Skeleton) hand coffee mill.  It is the larger of two made by Hario (the smaller one is called the mini mill). Your mission this weekend is to find me a store in the District or near-in suburbs that actually has one of these in stock, so I don’t have to order online.  If nobody’s tracked one down by Monday morning I’ll order from Intelligentsia simply because they’re closer than everybody on the west coast and cheaper than the people in NYC.  But if I can find one for under $50 here I’ll happily support my local coffee geeks.

Spread the word!

(photo via ah_blake on flickr)

Tags: coffee mill grinder hario skerton skeleton DC
~ Monday, May 24 ~
Permalink
The “five o’clock somewhere” chart referenced here doesn’t actually exist. Yet, anyway. (edit: now it does)

The “five o’clock somewhere” chart referenced here doesn’t actually exist. Yet, anyway. (edit: now it does)

Tags: beverage flowchart soda coffee chart
2 notes
~ Wednesday, March 10 ~
Permalink
How good is the new breed of decaffeinated coffee? To find out, The New York Times held a blind tasting of seven decaffeinated coffees. Some were rare, single-origin beans, others were more familiar blends. For reference, there was a pot of Chock Full O Nuts. All coffees were ground fresh and brewed in press pots for four minutes using water that had just come to a boil. Over all, the tasters were disappointed with the coffees, but did find some worth trying.

New Breed of Brewers of No Buzz - NYTimes.com

Ha. I should go ask my local roast monkey what sort method his decaf is.

And for the record, while Kate claims she has fooled me with decaf, I don’t think she has, although maybe me pronouncing a cup “weak” or “terrible” and muttering something about decaf under my breath still counts as my being fooled in her book. That said, I’ve been known to order a decaf gelato affogato for dessert, but I think that’s more about the gelato than the espresso anyway.

Tags: coffee decaf caffeine
~ Monday, January 25 ~
Permalink

The difference is that instead of flooding the cone with water and letting the coffee seep and drip, you pour hot water in a thin, continuous stream for one to four minutes — coffee geeks are still sorting the ideal brew time — that maximizes extraction. (More on that later.) Pouring a steady stream of water for, say, three minutes isn’t easy. If coffee is dump-and-drip, then pour over is a tea ceremony.

(via Ristretto | Pour-Over Coffee Drips Into New York - T Magazine Blog - NYTimes.com)
Sometimes I think that the culture of X (for many values of X, from coffee to cocktails to baking to bicycling to whatever shows up in the style section on a slow news week) is more about proving how much better you are (because you do things a certain, extremely specific way) than about enjoying the result.
I’m curious about pour-over coffee in the abstract, but I’ll stick with my French press, thanks.

The difference is that instead of flooding the cone with water and letting the coffee seep and drip, you pour hot water in a thin, continuous stream for one to four minutes — coffee geeks are still sorting the ideal brew time — that maximizes extraction. (More on that later.) Pouring a steady stream of water for, say, three minutes isn’t easy. If coffee is dump-and-drip, then pour over is a tea ceremony.

(via Ristretto | Pour-Over Coffee Drips Into New York - T Magazine Blog - NYTimes.com)

Sometimes I think that the culture of X (for many values of X, from coffee to cocktails to baking to bicycling to whatever shows up in the style section on a slow news week) is more about proving how much better you are (because you do things a certain, extremely specific way) than about enjoying the result.

I’m curious about pour-over coffee in the abstract, but I’ll stick with my French press, thanks.

Tags: coffee NYT oh please
~ Saturday, January 23 ~
Permalink
tbridge:

I want a real DC roastery, too, but Nick isn’t the guy for it, I’m afraid. Great coffee artist, terrible business man.

You should try Qualia.

tbridge:

I want a real DC roastery, too, but Nick isn’t the guy for it, I’m afraid. Great coffee artist, terrible business man.

You should try Qualia.

Tags: coffee
10 notes
reblogged via tbridge