Category Archives: Technical

Docs Antipatterns (Part 2)

Posted on (0 Comments)

I previously wrote down a few documentation antipatterns, or descriptions of commonly seen bad solutions to problems. If you’re not quite sure what an antipattern is, it’s explained in that blog post. I’d like to present a couple more documentation antipatterns to avoid, both drawn from experiences that we’ve had in the past but have solved along the way. Antipattern: Big Ball of Mud Definition The Big Ball of Mud is a well-known antipattern in software engineering. To quote the authors who coined the term: “A Big Ball of Mud is a a haphazardly structured, sprawling, sloppy, duct-tape-and-baling-wire, spaghetti-code jungle.

READ MORE »

Scaling MySQL at SendGrid

Posted on (0 Comments)

SendGrid is the epitome of catching a tiger by the tail. Our systems were not originally designed to handle the massive scale we deal with today. Adding new features at this scale also presents challenges budding companies don’t yet need to design for. With our growth and overall traffic, we have had to come up with solutions to handle challenges related to simply scaling our datastores. At SendGrid, a large portion of our data is housed in 10 distinct MySQL datastores with a total of 87 physical machines and 255 MySQL instances. We also have a varying combination of challenges

READ MORE »

Friends, Android, and Libraries

Posted on (0 Comments)

Do you remember when you started going to hackathons or just basically started to do cool stuff? I remember it very clearly. In those days I gained a very dear friend, Daniel Santiago. Every so often I bug him with Java/Android stuff since he is a baller Android Developer. My questions were usually about adding support to the Java library. He took the extra time to make a little hacking project. A fork of the Java library, but intended for Android, hence, SendGrid-Android has been born! I don’t know about you, but I value this gesture more than almost any

READ MORE »

Hacking Health With SendGrid and SMS

Posted on (0 Comments)

I’m trying to drink more water starting today. There are several reasons behind it, but the top one is to make my mom happy. Mothers are somewhat hard to please. At least mine is… I’ve attempted this in the past, but it didn’t end up well. In my first attempt, I had alarms set up at every single hour. This obviously didn’t work since alarms are a bit annoying. I would be in a meeting or having a conversation, and my water alarm would start ringing. Awkward… Since I still want to accomplish this, and alarms shouldn’t step in the

READ MORE »

The Top 7 Tech Posts of August and September

Posted on (0 Comments)

Our tech posts are written by our developer evangelists as a way to inform readers about some of the great things they are doing. Oftentimes, this means hacks they’re working on using SendGrid, events they’re attending, or how they’ve used SendGrid with another great piece of tech. Over the last couple months, we’ve tracked our most popular technical posts, and we’ve compiled them here. Check out what people have been reading and learning about: 1. The SendGrid Ruby Gem and My Mama! by Eddie Zaneski – This introduction to the new SendGrid Ruby library also features a hack that Eddie created

READ MORE »

OneNote and SendGrid’s Event Webhook

Posted on (0 Comments)

SendGrid will let you know, in near real-time, when emails fail to reach your customers. But what do you do after you have that information? Do you have a plan? With this simple app, you can automatically create follow-up actions in Microsoft OneNote, right as email failures occur. In this blog post, I show you how to use Flask (A Python Microframework), hosted on Microsoft Azure, to capture messages regarding email failures sent from the SendGrid Event Webhook. We then create OneNote pages, that contain follow-up actions, based on the particular email failure. Prerequisites This code was developed using Microsoft

READ MORE »

Connecting Inbound Email to Google Spreadsheets

Posted on (0 Comments)

One of the questions I get asked a lot is how to get information from incoming emails entered into a Google Spreadsheet. In this post, I’ll show you one implementation on how to do this with the gspread module in Python. Getting Started with Our Parse Webhook The first thing we need to do is tell your domain that SendGrid will handle the email on its behalf. Then we tell SendGrid where to post the data from the email: Modify MX Records Change the MX Records of your domain to point to mx.sendgrid.net. This lets the registrar know that SendGrid

READ MORE »