# production-debugging

Published articles for production-debugging.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## From slow tests to slow production: Debugging with Stackprof

DevFeed: [From slow tests to slow production: Debugging with Stackprof](<https://devfeed.tech/articles/from-slow-tests-to-slow-production-debugging-with-stackprof-33519.md>)

Original publisher: [Read original article](<https://www.aha.io/engineering/articles/debugging-with-stack-prof>)

Published: 2026-08-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [Aha! Engineering Blog](<https://devfeed.tech/sources/aha-engineering-blog.md>)

Topics: [debugging](<https://devfeed.tech/topics/debugging.md>), [Tooling](<https://devfeed.tech/topics/tooling.md>), [RSpec](<https://devfeed.tech/topics/rspec.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [ci](<https://devfeed.tech/tags/ci.md>), [cpu-time](<https://devfeed.tech/tags/cpu-time.md>), [database](<https://devfeed.tech/tags/database.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [logs](<https://devfeed.tech/tags/logs.md>), [overhead](<https://devfeed.tech/tags/overhead.md>), [performance](<https://devfeed.tech/tags/performance.md>), [production-debugging](<https://devfeed.tech/tags/production-debugging.md>), [profiling](<https://devfeed.tech/tags/profiling.md>), [rspec](<https://devfeed.tech/tags/rspec.md>), [snapshots](<https://devfeed.tech/tags/snapshots.md>), [tests](<https://devfeed.tech/tags/tests.md>), [timing](<https://devfeed.tech/tags/timing.md>)

### AI overview

An investigation into tests that became six times slower traces the stall to code generating example data and Active Record callbacks. The article explains using Stackprof with RSpec to profile the test, including I/O time, and reports that the test spent 71% of its time sleeping.

### Source excerpt

One morning, a developer announced in our Slack channel that some tests were failing on our main branch. The cause of the failures was not obvious. No recent PRs seemed related, and neither the code nor the tests had changed in a long time. The test

## Using Claude and custom tools to streamline production support debugging

DevFeed: [Using Claude and custom tools to streamline production support debugging](<https://devfeed.tech/articles/i-m-the-agent-for-claude-now-33523.md>)

Original publisher: [Read original article](<https://www.aha.io/engineering/articles/im-the-for-claude-now>)

Published: 2026-06-22T00:00:00Z

Content type: opinion

Language: en

Sources: [Aha! Engineering Blog](<https://devfeed.tech/sources/aha-engineering-blog.md>)

Topics: [Claude](<https://devfeed.tech/topics/claude.md>), [Tooling](<https://devfeed.tech/topics/tooling.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [claude](<https://devfeed.tech/tags/claude.md>), [cli](<https://devfeed.tech/tags/cli.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [production-debugging](<https://devfeed.tech/tags/production-debugging.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

An Aha! engineer describes using Claude with a custom production-debugging skill to support customer tickets. The skill links to filtered logs and provides tools for configuration inspection, query analysis, and record history, while customer data is kept out of Claude.

### Source excerpt

Every seven weeks or so, each Aha! engineer takes a week of support rotation. I caught myself doing something dumb during my last one. A ticket came in. I clicked over to our production log viewer, narrowed the time range, and started piecing togeth

## Using the OSI Model for Effective Production Issue Debugging

DevFeed: [Using the OSI Model for Effective Production Issue Debugging](<https://devfeed.tech/articles/using-the-osi-model-for-effective-production-issue-debugging-26515.md>)

Original publisher: [Read original article](<https://medium.com/engineering-housing/using-the-osi-model-for-effective-production-issue-debugging-c37052e87b48?source=rss----3a69e32e2594---4>)

Author: Kamal Kumar

Published: 2025-08-28T17:37:45Z

Content type: tutorial

Language: en

Sources: [Housing.com](<https://devfeed.tech/sources/housing-com.md>)

Topics: [debugging](<https://devfeed.tech/topics/debugging.md>), [networking](<https://devfeed.tech/topics/networking.md>), [Network](<https://devfeed.tech/topics/network.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Server](<https://devfeed.tech/topics/server.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [business logic](<https://devfeed.tech/topics/business-logic.md>), [Framework](<https://devfeed.tech/topics/framework.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [apis](<https://devfeed.tech/tags/apis.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [devops](<https://devfeed.tech/tags/devops.md>), [errors](<https://devfeed.tech/tags/errors.md>), [firewalls](<https://devfeed.tech/tags/firewalls.md>), [load](<https://devfeed.tech/tags/load.md>), [mapping](<https://devfeed.tech/tags/mapping.md>), [network](<https://devfeed.tech/tags/network.md>), [osi-model](<https://devfeed.tech/tags/osi-model.md>), [production-debugging](<https://devfeed.tech/tags/production-debugging.md>), [production-issue](<https://devfeed.tech/tags/production-issue.md>), [rca](<https://devfeed.tech/tags/rca.md>), [root-cause-analysis](<https://devfeed.tech/tags/root-cause-analysis.md>), [routing](<https://devfeed.tech/tags/routing.md>), [servers](<https://devfeed.tech/tags/servers.md>), [sre](<https://devfeed.tech/tags/sre.md>), [tcp](<https://devfeed.tech/tags/tcp.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>), [udp](<https://devfeed.tech/tags/udp.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

This tutorial explains how to use the seven-layer OSI model to structure root cause analysis for production alerts. It recommends checking lower layers for network and gateway errors, and higher layers for application and client errors, including connectivity, routing, logs, APIs, authentication, and configuration.

### Source excerpt

In production environments, debugging alerts can sometimes feel like finding a needle in a haystack. Over the years, I've found the OSI (Open Systems Interconnection) model to be a reliable guide during Root Cause Analysis (RCA) of production issues. What is the OSI Model? The OSI model is a conceptual framework that standardizes the functions of a telecommunication or computing system into seven layers: Physical Layer -- Hardware, cables, switches Data Link Layer -- MAC addresses, switches, network topology Network Layer -- IP addressing, routing Transport Layer -- TCP/UDP, ports, session reliability Session Layer -- Session management, authentication Presentation Layer -- Data translation, encryption Application Layer -- APIs, web servers, applications How I Use OSI Layers in RCA: When I debug production alerts, I follow different approaches depending on the type of error: Network / Gateway Errors (e.g., 502, 504): These errors usually indicate communication issues between services. I start from the bottom layers (Physical -> Network -> Transport) to check connectivity, firewalls, routing, or load balancers. Application / Client Errors (e.g., 500, 503, 404): These errors generally originate from the application or business logic. I start from the top layers (Application -> Presentation -> Session) to check service logs, APIs, authentication issues, or configuration problems. Why this approach works: Following the OSI model provides a structured, layer-by-layer method for troubleshooting, ensuring that we don't miss low-level network issues or high-level application errors. It helps reduce mean time to resolution (MTTR) and improves the quality of RCA reports. Takeaway: The OSI model is not just a theoretical concept -- it's a practical tool that can guide engineers through complex production debugging. Next time you face a tricky alert, try mapping it to the OSI layers, and you might find the root cause faster than you think. Using the OSI Model for Effective Production Issue