My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
The error tracking space is heating up

The error tracking space is heating up

Antonia Bozhkova's photo
Antonia Bozhkova
·Apr 10, 2017

A plethora of crash reporting and error tracking tools sprouted up in the past few years. Why so?

The rise of the SPA

Years ago technologies like Adobe Flash and Flex, as well as Microsoft Silverlight, used to be the standard for creating visually pleasing, interactive web experiences. The term “Single-Page Application” was more of a buzzword, and while employed by smaller ventures, larger companies were nowhere near adopting such approach.

These days we see that HTML5 and JavaScript libraries are dominating the web development world. The rising adoption of JavaScript also signals the growth of client-side problems, both in terms of absolute numbers and complexity, which invariably makes reproducing these issues more difficult and costly.

What’s a SPA?

Just like the name suggests it, Single-Page Applications (SPAs) are web applications that load a single HTML page which gets dynamically updated as the user interacts with the app. Most of the work gets done on the client side, in JavaScript, allowing SPA’s to offer a desktop-like experience to users, without constant page reloads. A growing ecosystem of JavaScript frameworks like Angular, React, EmberJS, Meteor, Backbone is available to support the development and adoption of SPA’s.

Why now?

We all know that the present-day user gets easily distracted, his attention span getting shorter and shorter. Providing a snappy, enjoyable user experience to web visitors today is a key factor in achieving business goals.

Similarly, it’s not news for anyone that mobile traffic’s been growing faster than traditional desktop traffic, and mobile device users by default expect the look and feel of native mobile apps.

With Single-Page Applications, organizations can mimic the native app-like experience (and performance!) within the browser. This provides an answer to the common question a lot of companies are facing nowadays: app or website? Saving the costs and effort to upload and maintain an app on the app stores is not negligible. On top, you can update your web application as many times as you want, this way shortening time to market.

The Single-Page model also supports more elaborate user interactions which can be harder to implement with server-side rendering: Pinterest’s deep linking, Artsy’s fade between pages, infinite scroll, just to name a few. (Rise of the SPA by Dan Pupius)

What’s more, adding more logic to the client side of the SPA and allowing the app to handle separation of data and view layers help radically improve performance by reducing the number of client-server loops.

JavaScript and the Enterprise

There’s a growing list of large companies adopting JavaScript for more than just front-end work. Last year VMWare announced its decision to work towards transitioning its vSphere web client to HTML5. Groupon rebuilt its entire web layer with Node.js, switching from Ruby. Further, GoDaddy ditched. NET to work with Node.js. Netflix, Capital One, NASA – just to throw in a few more names. Despite the continuously growing mobile traffic, the desktop is still the norm in the office environment and among B2B customers alike. Hence the investment we see enterprises make in JavaScript development, and SPA’s in particular, comes as no surprise.

The numbers speak for themselves:

Source: 2016 StackOverflow Developer Survey data

A continuous cycle of growth in the enterprise. Source: Salesforce Developers Blog

The explosive growth of error tracking tools

The past few years saw the vigorous development of crash reporting and error tracking tools to fill an increasing need to understand, reproduce and debug application problems, both on the server- and the client-side.

Furthermore, with the growing popularity of SPA’s, where a substantial part of the app logic gets added to the client, the debugging challenges for developers are multiplying. The application client-side gets more dynamic and complex and developers struggle to replicate the errors that occurred in user browsers.

The increasing popularity of hosted software and the fact that these tools managed to free-ride the SaaS wave helped them quickly secure traction and user base.

In less than 5 years, from an internal tool for exception logging in Django applications, Sentry.io grew to support other popular languages like PHP, Java, Ruby and eventually JavaScript. Just a year ago they secured $9 million funding to grow their team and expand the product feature set.

A stack trace of a JavaScript error in Sentry

There’s a lot of similar solutions in the space, and competition is heating up. In the past few years, tools like Rollbar and Bugsnag also managed to secure funding and the interest of VC and angels investors alike.

The new frontier

A new concept has started to gain traction in the past year: tools that help developers get the context in which an error happened in order to reproduce the issue and debug faster. These tools get plugged into the web app, CPA’s including, to collect data on how users interact with it. When a user runs into an error (something breaks, a network request fails, etc.), the tool recreates the collected data as a video in which developers can see every step the user took to get the error. In addition, they get the stack traces of JavaScript and server errors, details of failed network requests and debug messages. SessionStack is one such tool with a couple of more solutions that sprung up in the last few months.

A SessionStack user session recording. All user actions and tech details can be expanded on the left.

(Originally posted on SessionStack's blog)