Elevated 5xx API error rates and increased latency for some SparkPost and SparkPost Enterprise customers (US hosted only)

Incident Report for SparkPost

Postmortem

In the past few weeks, we experienced some performance challenges with our authentication services that caused an increase in API latency and 5xx error rates. (We notified our customers of these incidents via the SparkPost Status Page - please subscribe if you have not already done so.)

What happened?

Recent organic growth put pressure on the data storage infrastructure that we use for authentication and some other key services. This caused some downstream impacts and some customers would have seen the following during periodic episodes of performance issues:

  • Trouble logging in and using the SparkPost dashboard
  • Increased API latency
  • Increased 5xx error rates or timeouts Increased SMTP authentication errors

Due to existing caching and high-availability features, many customers’ production email streams were minimally impacted by these events.

What did we do about it?

During the past few months, we performed some tuning and adjusted caching within the authentication system to support our growth trends; however, we determined these improvements alone were not enough to ensure we meet our performance and availability targets. So yesterday, January 25th, we made a significant architectural improvement -- we migrated some of the more intensive workloads to a separate cloud-based data storage service that is better suited to our needs. Since this migration 24 hours ago, we have seen a significant improvement with average time to fulfill authentication requests dropping by 75%, and we are no longer seeing high variability in the API response times. Customers will see more consistent and better performance from our APIs, and experience a more responsive SparkPost dashboard. We will continue to evaluate and perform additional infrastructure improvements where necessary as we stay ahead of our rapid growth.

Posted Jan 26, 2018 - 15:59 EST

Resolved

The issue has been resolved.
Posted Jan 25, 2018 - 03:19 EST

Monitoring

The underlying issue has been identified and remediated. We will continue to monitor as things return to normal.
Posted Jan 25, 2018 - 01:56 EST

Investigating

We are experiencing an elevated level of API and UI errors and latency for our APIs for some SparkPost and SparkPost Enterprise customers (including Transmissions API and SMTP injection API). Please retry any 5xx error.
Note: This issue does not impact our SparkPost Enterprise customers hosted in the EU.
Posted Jan 25, 2018 - 01:13 EST
This incident affected: Metrics API (Metrics API - USA), Transmissions API (Transmissions API - USA), Events API (Events API - USA), SparkPost Application (WebUI) (SparkPost Application - USA), SMTP API (SMTP API - USA), Sending Domains API (Sending Domains API - USA), SMTP Delivery (Outbound Message Delivery) (SMTP Delivery - USA), and Relay Webhooks Delivery Service (Relay Webhooks - USA).