Flamegraph: How to Visualize Stack Traces and Performance

Flamegraph: How to Visualize Stack Traces and Performance

Lou Bichard Developer Tips, Tricks & Resources

So you want a faster application? If you’ve not heard of a flamegraph, it can be a great way to improve and gain insight into your application performance. Today, we’ll explain what a flamegraph is. We’ll cover the stack trace and its origin, the call stack. Finally, we’ll define the flame graph and show how to leverage it for improving …

Docker Performance: Tips and Tricks

Docker Performance Improvement: Tips and Tricks

Lou Bichard Developer Tips, Tricks & Resources

Docker is now everywhere. Over the past few years, a lot of modern-day software has now moved to become packaged in a Docker container, and with good reason. One of the biggest benefits touted about Docker containers is their speed. You don’t get lightning-fast performance out of the box without Docker performance tuning. We’re going to discuss some of the tips and …

Node.js Performance Testing and Tuning

Node.js Performance Testing and Tuning

Lou Bichard Developer Tips, Tricks & Resources

We know Node.js for its lightning-fast performance. Yet, as with any language, you can write Node.js code that performs worse for your users than you’d like. To combat this, we need adequate performance testing. Today, we will cover just that with an in-depth look at how to set up and run a performance test and analyze the results so you …

Winston Logger Tutorial

Winston Logger Ultimate Tutorial: Best Practices, Resources, and Tips

Lou Bichard Developer Tips, Tricks & Resources

Are you looking to get up and running with Winston logger in Node.js? Do you want to understand best practices (and pitfalls) for structuring application logging in Node.js? If that’s what you’re looking for, you’re in the right place! For me, logging was always a somewhat mystical and frustrating idea. I could grasp the concept that you wanted to output information …

Node.js Module Exports – Demystified

Lou Bichard Developer Tips, Tricks & Resources

When I started out in Node.js, I remember being struck by the weird-looking module.exports code. I wondered what it was, and where it came from, and why it wasn’t declared in the file. What was this magic? Today we’re going to find out. We’ll demystify this somewhat odd-looking feature of Node.js. By the end of this article, you should be comfortable …

PostgreSQL Performance Tuning Tutorial

Lou Bichard Developer Tips, Tricks & Resources

Setting up the database correctly is just the first step in PostgreSQL performance tuning. With every table you add and every query you run, your databases will require maintenance and updates to ensure ideal PostgreSQL optimization. PostgreSQL optimization is pretty straight-forward, however, there are some things that it needs to know from you, the database admin, in order to run …

Top 10 Node.js Debugging Tips to Debug Like a Pro

Lou Bichard Developer Tips, Tricks & Resources

Err—not quite. Whilst this tweet is painfully relatable, it also saddens me. This goes to show there are so many Node.js developers out there who are debugging their applications the caveman way. But debugging Node.js needn’t be this hard. The more you relate to this tweet, the more you must read on. Your sanity begs you. Today we’re going beyond just …