Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Come to MongoDB World. We Need to Talk.

DZone's Guide to

Come to MongoDB World. We Need to Talk.

Please come see me at MongoDB World. It's in New York on June 28 and 29. I'll give you 25% off, I just need to talk to you.

Free Resource

MongoDB Atlas is a database as a service that makes it easy to deploy, manage, and scale MongoDB. So you can focus on innovation, not operations. Brought to you in partnership with MongoDB.

Please come see me at MongoDB World. It's in New York on June 28 and 29. I'll give you 25% off, I just need to talk to you.

You see, for four years, I've had this guilt hanging over me. It goes back to a winter afternoon in early 2012, when I met a MongoDB customer who was very angry. He'd come to our regular "MongoDB Office Hours" at our old spot in Soho, and he had one question: "When a MongoDB driver handles a network error, what should my code do?" He demanded to know why I didn't have a simple answer for him.

I'd been working for MongoDB just a few months. This guy, I'll call him Ian, was upset, and I couldn't help him. My guilt has pressed the memory of that day in my brain. I can still see Ian's face, haggard as if he'd been up all night worrying about network errors. We were sitting in a little windowless room, the only free room we could talk in at our little office. We sat side by side on the edge of the table, because the room had no chairs.

I told him there's no single solution that applies to the diverse applications and features people build on MongoDB, and no one approach to all kinds of errors. This did not go over well.

In the years since, I've worked to answer Ian. First, I wrote the Server Discovery and Monitoring Spec, which all our drivers have now implemented. The spec vastly improves drivers' robustness in the face of network errors and server failovers. Complaints like Ian's are rarer now, because drivers throw exceptions more rarely. But still: how would I answer him, if he came into our new office in Times Square today? What's a smart strategy for writing a resilient MongoDB application?

On June 28 in New York, I'm going to answer him. I'm going to talk about a solution four years in the making, which combines the latest driver technology with a wise approach to making MongoDB operations idempotent.

Ian, if you're out there: Come to MongoDB World. We need to talk. I'll give you 25% off the ticket price, my discount code is "jessedavis." Anyone can use it, even if you aren't Ian:

25% off MongoDB World Tickets

I hope to see you there. I owe you.

MongoDB Atlas is the best way to run MongoDB on AWS — highly secure by default, highly available, and fully elastic. Get started free. Brought to you in partnership with MongoDB.

Topics:
new york ,mongodb ,events

Published at DZone with permission of A. Jesse Jiryu Davis, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}