Better HN
topnewbestaskshowjobs
Log inSign up

RobSpectre

758 karma · joined Mar 30, 2010 (16y ago) · 190 submissions

Just your average self-produced superhero.
Submissions

comment 13y ago · link · parent

I'm with you dude. This shit is hard.

comment 13y ago · link · parent

Another stellar example of the promise of this community.

Very proud of this group.

comment 13y ago · link · parent

Ngrok is one of the best tools in my belt for debugging webhooks at Twilio. Secure, fast, reliable and - above all - useful.

Stoked for the new features Alan - thanks!

comment 13y ago · link · parent

Oh biscuits.

comment 13y ago · link · parent

Thanks for that feedback - we wanted to get Picture Messaging out of the door as soon as we had it before attacking the wealth of other features MMS has to offer.

Really hope you enjoy it and check in often as we support more stuff.

comment 13y ago · link · parent

Truthfully, my personal track record for predicting protocol success isn't particularly good. There is an old essay on gopher's "resurrection" that I really hope no one is able to find anymore.

All I know is that a whole lot of our customers asked for it, so we built it. Took us a long time, but I'm very stoked for the response developers are giving us at Twiliocon.

comment 13y ago · link · parent

Fully heard and appreciated. Obviously, the storage of this media does have real cost, but feedback on the pricepoint is helpful.

Thank you.

comment 13y ago · link · parent

We wanted very badly to get this to you as well - it'll be released as soon as we can.

comment 13y ago · link · parent

I definitely hear you. We want it as badly as you do - can't wait to get them in your hands.

comment 13y ago · link · parent

btw - Thanks! We worked really hard on it.

comment 13y ago · link · parent

We are working very hard to bring this service to US phone numbers - we want it as badly as you.

For now, we have it on US short codes and Canadian phone numbers.

comment 13y ago · link · parent

Hanging out on the floor at Twiliocon, Josh - you should come!

Great questions - as you can imagine there's not a whole lot I can share about the relationships with our carrier partners. Working with them was essential to bringing this product to market, and we sincerely appreciate all the hours they put with us on getting Picture Messaging out the door.

A few details to the questions I can share:

1) The signaling, the SMIL generation and whole lot of other headaches from the MM* protocols are completely behind the API. We tried to keep this new feature as close to the SMS API you already know and love as possible - for inbound there are just four new params (NumMedia, MediaUrln, MediaContentType and the new unique identifier MessageSid) and for outbound just one new param MediaUrl.

You send / receive your photos - we make it work for whomever is sending or receiving. If you're at Twiliocon this week, two of our messaging leads Thomas Wilsher and Kelvin Law are dropping a killer talk on some of the technical details around this abstraction. It's probably my favorite of our talks at Twiliocon right now.

2) This was the combined effort of a whole lot of talent inside and outside Twilio for a very long time. Very proud of what they've been able to accomplish working together and so stoked to see first hand how excited developers are to use it.

3) This is real MMS sending and receiving pictures. We rolled out Picture Messaging first as we wanted to get it in developers hands as quickly as possible.

Got to head back out and join the Doers at the Design Concourse in San Francisco - Twiliocon only comes once a year, so I don't want to miss more time with all the hackers that came out to hang.

Always great to hear from you Josh. You should swing by if you're in town.

73.

Envelopes - Python email for humans(tomekwojcik.github.io ↗)

119 points · by RobSpectre · 13y ago · 34 comments

74.

Tech Writing Handbook(dozuki.com ↗)

4 points · by RobSpectre · 13y ago · discuss

comment 13y ago · link · parent

Totally agree. Need to clear up a developing misconception - Redis does not serve as the primary store for the account balance of Twilio's customers. The billing system uses a double bookkeeping model common to many high volume designs with Redis as the in-flight data store (e.g. when a call or SMS message is created) with the transaction also stored independently to an RDBMS post-flight (e.g. when a call or SMS message is completed).

Clearly however our implementation failed dangerously and did not recover in a manner that meets our customers' expectations. Totally get how such a misconception would occur from a cursory read of the incident report - just need to be clear.

76.

An open source song I'd like the NSA to hear(nospoilersallowed.com ↗)

29 points · by RobSpectre · 13y ago · 6 comments

comment 13y ago · link · parent

I'm not sure I know anyone who has tried such a topology with Redis. Would be interested to see how it affects writes as well.

comment 13y ago · link · parent

I'm not sure there is a "downside" to be had - it is an important requirement to every billing solution of any scale at all. The term is borrowed from accounting (http://en.wikipedia.org/wiki/Double-entry_bookkeeping_system) and states that each transaction gets recorded in a different ledger. Our implementation at Twilio divides the two in stages of the transaction lifecycle that we allude to in the OP - in-memory for in-flight (when a call or SMS message is initiated) and disk for post-flight (when a call or SMS message is complete).

comment 13y ago · link · parent

An incident like this is pretty painful for every customer affected. Hope they feel this explanation, the prompt refund of the erroneous charges and credit represents to them it is a pain we very much share.

comment 13y ago · link · parent

Truthfully the billing system is one of the most fascinating parts of our stack to me. Twilio's utility pricing model generates an incredible volume of minute transactions, which is a fascinating engineering problem to solve at scale.

That solution ultimately came up short last week, but think the foresight behind a number of the features (double bookkeeping to an unrelated, persistent datastore in particular) aided in recovery.

comment 13y ago · link · parent

Very true - in this business, it nearly always is a waterfall of small errors that produces large consequences.

Part of why I love being a software person - the devil lies literally in the details.

comment 13y ago · link · parent

Agree completely.

Ultimately the responsibility for getting this right is on us. We feel a thorough, dispassionate accounting of the human and technical errors when we come up short is part of living up to that responsibility.

comment 13y ago · link · parent

It is indeed. Proper procedure would be to pivot to a slave. We have reconfigured all our Redis hosts to prohibit a restart on masters to prevent exactly that temptation.

comment 13y ago · link · parent

I could have explained this better. Many usage events on the Twilio API generate a billing transaction (e.g. call, SMS message, phone number purchase, etc). When the transaction attempted to apply against a balance of zero and the customer had auto-recharge enabled, the billing system would trigger a charge attempt. With balances set to zero and read-only, each subsequent usage event would trigger a charge attempt, resulting in the erroneous charges.

85.

Billing Incident Post-Mortem: Breakdown, Analysis and Root Cause(twilio.com ↗)

77 points · by RobSpectre · 13y ago · 31 comments

comment 13y ago · link · parent

Truthfully? Our PR guy is on his honeymoon. Not kidding.

Glad to hear you got the information you needed when you needed it - still a lot of work to do to resolve this to our customers' complete satisfaction.

We'll get it done.

comment 13y ago · link · parent

Think it is the least we could do.

comment 13y ago · link · parent

Appreciate the feedback. Will get it fixed.

comment 13y ago · link · parent

Good feedback. Thank you.
1234567