---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=shopify&tag=debugging"
---

# Posts

Filtered by topics: Debugging, source: Shopify Engineering.

Posts 1–5 of 5, page 1 of 1, newest first.

## 2022-09-07

- [Four Approaches to Debugging Server-side WebAssembly](https://swe.quest/articles/four-approaches-to-debugging-server-side-webassembly-70e30fb86ae05146.md): Shopify Engineering · 2022-09-07 · Medium · 8 min read · WebAssembly, Debugging, Developer tools, Rust
  Step-debugging server-side WebAssembly can be done four ways: compiling to a native target and using LLDB/GDB, running the Wasm under Wasmtime inside LLDB, using a Wasm-specific debugger like Wasminspect, or using browser DevTools via Chrome's DWARF extension or source maps.

## 2022-07-15

- [Spin Infrastructure Adventures: Containers, Systemd, and CGroups](https://swe.quest/articles/spin-infrastructure-adventures-containers-systemd-and-cgroups-5a9e742638fea62c.md): Shopify Engineering · 2022-07-15 · Hard · 8 min read · Containers, Linux, Kubernetes, Debugging, Multi-tenancy
  Spin development instances run systemd inside Kubernetes containers, and processes launched through systemd escaped the pod's memory cgroup, so pod memory limits were not enforced and instances could exceed their allotment and disturb neighbours.

## 2022-03-08

- [7 Tips For Optimizing Apache Flink Applications](https://swe.quest/articles/7-tips-for-optimizing-apache-flink-applications-be2dbc2fd7e74cd5.md): Shopify Engineering · 2022-03-08 · Medium · 14 min read · Stream processing, Performance engineering, Java & JVM, Debugging
  Lessons from running large stateful Apache Flink jobs (up to 13 TB of state) on GKE with the RocksDB state backend and checkpoints on GCS.

## 2021-12-02

- [Upgrading MySQL at Shopify](https://swe.quest/articles/upgrading-mysql-at-shopify-bb0f87b54fe985d5.md): Shopify Engineering · 2021-12-02 · Hard · 16 min read · MySQL, Replication, Debugging, Deployment, Cloud platforms
  Shopify moved hundreds of horizontally sharded Percona Server shards, thousands of VMs in all, from 5.7.21 to 5.7.32, mainly to get writeset-based replication parallelism across replication topologies up to four hops deep.

## 2021-10-21

- [Debugging Systems in the Cloud: MySQL, Kubernetes, and Cgroups](https://swe.quest/articles/debugging-systems-in-the-cloud-mysql-kubernetes-and-cgroups-a5ded3f862ca5b21.md): Shopify Engineering · 2021-10-21 · Hard · 8 min read · Debugging, Linux, MySQL, Kubernetes, Performance engineering
  Slow MySQL Pod startup and degraded query performance on long-running GKE nodes in Shopify's KateSQL platform traced back to a Linux kernel memory cgroup leak: roughly 50K zombie memory cgroups made mem\_cgroup\_commit\_charge slow, so each 128MB mmap during InnoDB buffer pool initialization took about 100 ms. The investigation used strace, perf flamegraphs, slabtop and /proc/cgroups, and Google kernel engineers confirmed it as a side effect of slab reparenting on cgroup removal.

Same list as RSS: [https://swe.quest/feed.xml?source=shopify&tag=debugging](https://swe.quest/feed.xml?source=shopify&tag=debugging). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
