Python vs. Ruby

In this blog post, we'll be going through two server-side scripting languages; Python and Ruby with focus on comparing the performance and other factors that might help you in deciding which language to pick over the other for your web application. Read more

A Comprehensive Guide to migrating from Python 2(Legacy) to Python 3

Python powers many applications we use day-to-day like Reddit, Instagram, Dropbox, Spotify and so on. Adoption of Python 3 has been a subject of debate in the Python community for long. While Python 3 has been out for more than a decade now, but there wasn’t much incentive to migrate from the stable Python 2.7 in the earlier releases, but with its end of life in January 2020 it’s high time to migrate. Read more

Memory Management in Python

Memory management in python: Yes, you heard it right “memory management in python”. You must be thinking: why do I need to manage the memory in any high-level language like python? Read more

Python Protocol Buffers

Protocol Buffers are a way to encode data before transportation, which efficiently shrinks data blocks and therefore increases speed when sending it. It abstracts data into a language-and  platform-neutral format. Read more

Python Profilers

Python performance measurement tools help us to identify performance bottlenecks in our app. This allows us to focus on the business login as opposed to writing custom code, setting it up with our app, and then figuring out whether the results are accurate enough. These tools are well tested by the open source community and used by many companies to measure the performance of their web apps. Read more

Identifying bottlenecks and optimizing performance in a Python codebase

Optimizing performance in Python What does "Optimizing" code mean anyway? The term "optimization" can apply to a broad level of metrics. But two general metrics of most interest are; CPU performance (execution time) and memory footprint. For this post, you can think of an optimized code as the one which ... Read more

Is your Django app slow? Think like a data scientist, not an engineer

I'm an engineer by trade. I rely on intuition when investigating a slow Django app. I've solved a lot of performance issues over the years and the short cuts my brain takes often work. However, intuition can fail. It can fail hard in complex Django apps with many layers (ex: ... Read more

Scout APM now supports Python 2.7!

We launched our Python agent a few months ago, supporting Python 3.4+. Read more

Monitor a Django app with Scout

In this post, I'll show how to setup Scout to monitor the performance of SQL queries, external HTTP calls, template rendering, and more in Wagtail , a Django CMS app. Wagtail is a fast, modern opensource content management system built on Django. Used at NASA, Google, MIT, and more, it's ... Read more

Monitoring Django apps on Heroku

I don't know of an easier way to deploy a Django app than letting Heroku do the work. That said, how do you stay on top of your app's performance, errors, and stability post-launch? Running an app on Heroku is a blissful experience, but it presents some monitoring challenges that ... Read more

Get Started with a 14-day, credit-card less trial.

Isolate performance issues without the guesswork. Hunt down N+1, Memory Bloat, Slow Queries and more to the exact line of code faster than ever before.