Finding and fixing N+1 queries in Django apps
The Django ORM makes it easy to fetch data, but there's a downside: it's easy to write inefficient queries as the number of records in your database grows.
The Django ORM makes it easy to fetch data, but there's a downside: it's easy to write inefficient queries as the number of records in your database grows.
Prior to adding Python performance monitoring , we'd written monitoring agents for Ruby and Elixir . Our Ruby and Elixir agents had duplicated much of their code between them, and we didn't want to add a third copy of the agent-plumbing code. The overlapping code included things like JSON payload ...
Browser development tools - like Chrome Dev Tools - are vital for debugging client-side performance issues. However, server-side performance metrics have been outside the browser's reach. That changes with the Server Timing API . Supported by Chrome 65+, Firefox 59+, and more browsers, the Server Timing API defines a spec ...
Observability: the degree to which you can ask new questions of your system without having to ship new code or gather new data. Above is my slightly modified definition of observability, mostly stolen from Charity Majors in Observability: A Manifesto . Observability is increasingly important . Modern apps and services ...
The New Relic price tag goes up dramatically as your server footprint grows. This might not be an issue if you are utilizing New Relic's full product suite, but what if you just care about error and performance monitoring? In that case, there's a solution that offers richer features as ...
If you've followed along with our previous episodes, we've covered many different aspects of setting up a production service. We've used many different products to simplify the day-to-day operations of running and maintaining an application. We've used Scout for monitoring our application, LogDNA for aggregating our logs, HoneyBadger for our ...
Over the past two weeks, there's been considerable discussion on whether developers should be on-call. I understand the frustration of the anti on-call party. If you go to school to be a doctor, you know that being on-call is likely in your future. You didn't know that being on-call would ...
Looking for a fresh, 2018 approach to deploying a Rails app to AWS? We've partnered with DailyDrip on a series of videos to guide you through the process. We're covering how to Dockerize a Rails app, AWS Fargate, logging, monitoring, setting up load balancing, SSL, CDN, and more. In the ...
Looking for a fresh, 2018 approach to deploying a Rails app to AWS? We've partnered with DailyDrip on a series of videos to guide you through the process. We're covering how to Dockerize a Rails app,...
Using Scout and Rollbar together to get performance and error data on one screen.
We've partnered with DailyDrip on a two-part series guiding you through Automated Backups and Disaster Recovery on AWS. This is part 2. You can read part 1 here . This is the second portion of a...
> We've partnered with DailyDrip on a two-part series guiding you through Automated Backups and Disaster Recovery on AWS. This is part 1. Read part 2 , which covers read replicas and multi-az. Have you ever lost data? It can make for a bad day. Now, imagine you lose your ...