News Stay informed about the latest enterprise technology news and product updates.

Log analysis tool keeps Washington Post news apps on time

Sumo Logic's log analysis tool initially couldn't keep up with the flow of data from the newspaper's mobile delivery apps, but a novel integration with AWS Lambda changed that.

Getting The Washington Post's daily news to mobile subscribers means staying on top of the latest dispatches from log analysis tools in real time.

When the Post's mobile app development team first deployed Sumo Logic's log analysis tool about nine months ago, Sumo's native data collectors couldn't keep up with the stream of data from up to seven Android and iOS apps.

"We would see sometimes up to a 40% to 60% drop rate on those log files, and then the system was always attempting to catch up, it was never current," said Hardip Singh, mobile development manager at The Washington Post.

One of the paper's engineers responsible for the Sumo integration worked with another engineer on the Sumo side to use Lambda to speed ingestion of logs into the Sumo Logic system.

"Since using Lambda, we have 100% success rate on getting those log files," Singh said.

Lambda proved more effective than Sumo Logic's native data collector because Lambda immediately recognizes small changes to data and forwards the change on to the Sumo Logic system, as opposed to data collectors which were much slower to ascertain what data had changed.

My developers need to focus on news delivery ... I don't want my developers to be focused on log transfers.
Hardip Singhmobile development manager, The Washington Post

"Before, it was more of a pull model where some process woke up, inspected the directory, took what's in the directory now and compared it to what was in the directory before," Singh said.  Running through this diff process for tens or hundreds of thousands of log files was computationally expensive -- "with the volume of data that we're sending, and the desire to get a real-time picture, that pull model simply doesn't work," he said.

Log analysis tool with data ingestion at webscale speed

After AWS Lambda picks up files and sends them to Sumo, the log analysis tool offers reporting, dashboards, and alerting as well as the ability to run specific advanced queries as needed.

"We can look at issues on an individual device level" using anonymous ID numbers, Singh said.

The real-time log analysis combination of AWS Lambda and Sumo Logic helps quickly catch and troubleshoot performance issues, rather than having to wait two or three hours to identify whether there was an issue. Singh recalled a time when an image resizer wasn't applying proper compression to photos, resulting in slowed performance on the mobile app.

"We knew pretty much immediately, because we got these notifications that said, 'Hey, your average performance has exceeded what you set up as a threshold,'" he said.

The system can also troubleshoot glitches with subscriptions, so that a subscriber on the other side of the planet can have login issues resolved remotely by The Washington Post mobile app development team, which can see what's going on with the user's individual device in real time using Sumo Logic's log analysis.

APIs on the horizon

AWS Lambda and Sumo Logic work nicely as a team, but the team at The Washington Post continues to search for the most efficient means of monitoring apps. Certain functions, such as keeping track of application heartbeats, are more suited for direct integration into Sumo Logic through HTTP APIs offered by the log analysis tool.

"If [Sumo] came up with native app-side SDKs, that would be really helpful," Singh said. "My developers need to focus on news delivery ... I don't want my developers to be focused on log transfers."

Sumo doesn't have an SDK specifically for iOS, but makes REST APIs available and has Javascript examples "that can easily be adapted to iOS," according to a company spokesperson.

Beth Pariseau is senior news writer for TechTarget's Data Center and Virtualization Media Group. Write to her at bpariseau@techtarget.com or follow @PariseauTT on Twitter.

Next Steps

Security monitoring in a hybrid cloud age

APIs make DevOps pipelines possible, but not perfect

How microservices replace monolithic apps

PRO+

Content

Find more PRO+ content and other member only offers, here.

Essential Guide

Use these DevOps examples to reimagine an IT organization

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

What tools do you use for log analysis?
Cancel

-ADS BY GOOGLE

SearchDataCenter

SearchAWS

SearchServerVirtualization

SearchCloudApplications

SearchCloudComputing

DevOpsAgenda

Close