---
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/?per=48&source=github&tag=ruby"
---

# Posts

Filtered by topics: Ruby, source: GitHub Engineering.

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

## 2025-05-13

- [GitHub Issues search now supports nested queries and boolean operators: Here’s how we (re)built it](https://swe.quest/articles/github-issues-search-now-supports-nested-queries-and-boolean-operators-here-s-2684ca9cc7ff5489.md): GitHub Engineering · 2025-05-13 · Medium · 9 min read · Search, Ruby, Deployment, Refactoring & migrations, Testing
  GitHub rebuilt Issues search to support AND/OR operators and nested parentheses by replacing the flat-list parser with a PEG grammar (via the Ruby parslet library) that produces an abstract syntax tree.

## 2025-02-12

- [How GitHub uses CodeQL to secure GitHub](https://swe.quest/articles/how-github-uses-codeql-to-secure-github-3ead357c38ddce28.md): GitHub Engineering · 2025-02-12 · Medium · 14 min read · Static analysis, Application security, Ruby, CI/CD
  GitHub's Product Security Engineering team runs CodeQL across more than 10,000 repositories, mostly with default setup and the security-extended suites.

## 2024-07-23

- [How we improved availability through iterative simplification](https://swe.quest/articles/how-we-improved-availability-through-iterative-simplification-1aa63e0def5687e6.md): GitHub Engineering · 2024-07-23 · Medium · 6 min read · Performance engineering, MySQL, Ruby, Observability, Deployment
  GitHub cut timeouts in its Rails monolith with small, measured changes found through Datadog metrics, Splunk logs and custom MySQL slow-query monitors.

## 2024-06-11

- [How we improved push processing on GitHub](https://swe.quest/articles/how-we-improved-push-processing-on-github-ee01af72cf149679.md): GitHub Engineering · 2024-06-11 · Medium · 7 min read · Event-driven architecture, Queues & messaging, Resilience, Ruby, Scaling
  GitHub replaced RepositoryPushJob, a single sequential background job that ran over 60 push-handling tasks from 20 services, with a Kafka push event fanned out to roughly 16 independently owned, parallel jobs.

## 2023-12-19

- [How we organize and get things done with SERVICEOWNERS](https://swe.quest/articles/how-we-organize-and-get-things-done-with-serviceowners-2afb066a8015a9a4.md): GitHub Engineering · 2023-12-19 · Medium · 4 min read · Developer productivity, Engineering management, Ruby, SRE
  GitHub added a service layer between code and teams in its 4.2M-line Rails monolith: a SERVICEOWNERS file maps glob patterns, directories and files to named services, and a service-mappings.yaml ties each service to teams, managers, chat channels and tier ratings.

## 2023-04-06

- [Building GitHub with Ruby and Rails](https://swe.quest/articles/building-github-with-ruby-and-rails-99851966c067c871.md): GitHub Engineering · 2023-04-06 · Medium · 5 min read · Ruby, Refactoring & migrations, CI/CD, Deployment, Open source
  GitHub's ~2M-line Rails monolith upgrades to the latest Rails main-branch commit every week via a scheduled GitHub Actions workflow that opens an automated PR, runs all builds, and ships the next day.

## 2022-11-03

- [How GitHub converts previously encrypted and unencrypted columns to ActiveRecord encrypted columns](https://swe.quest/articles/how-github-converts-previously-encrypted-and-unencrypted-columns-to-7a6a32eb2ff23c82.md): GitHub Engineering · 2022-11-03 · Medium · 7 min read · Ruby, Cryptography, Schema migrations, Security, Deployment
  GitHub migrated plaintext columns and columns encrypted with a deprecated internal library to ActiveRecord::Encryption.

## 2022-10-26

- [Why and how GitHub encrypts sensitive database columns using ActiveRecord::Encryption](https://swe.quest/articles/why-and-how-github-encrypts-sensitive-database-columns-using-activerecord-4abc36e2a491f04c.md): GitHub Engineering · 2022-10-26 · Medium · 5 min read · Cryptography, Ruby, Databases, Security
  GitHub replaced its internal Encrypted Attributes library with Rails' ActiveRecord::Encryption so developers can encrypt a sensitive column with a single familiar \`encrypts\` call, without hand-provisioning a key per column.

## 2022-04-21

- [Improving Git push times through faster server side hooks](https://swe.quest/articles/improving-git-push-times-through-faster-server-side-hooks-21ad6ccb34bf4962.md): GitHub Engineering · 2022-04-21 · Medium · 5 min read · Performance engineering, Version control, Go, Ruby, Refactoring & migrations
  GitHub cut pre-receive hook execution time on every Git push from about 880ms median to 10ms, dropping P99 by 95%, by rewriting the hooks from Ruby into its Go Git service.

## 2022-04-11

- [Performance at GitHub: deferring stats with rack.after\_reply](https://swe.quest/articles/performance-at-github-deferring-stats-with-rack-after-reply-fed8f334f87dc4fe.md): GitHub Engineering · 2022-04-11 · Medium · 3 min read · Ruby, Performance engineering, Observability
  GitHub cut 30ms at p50 and 50ms+ at p99 from every request by buffering statsd metrics during a request and flushing them in one batch through \`rack.after\_reply\`, a hook that runs callables after the full response reaches the client.

## 2021-09-27

- [Partitioning GitHub’s relational databases to handle scale](https://swe.quest/articles/partitioning-github-s-relational-databases-to-handle-scale-7b5ea75acfc088c0.md): GitHub Engineering · 2021-09-27 · Medium · 9 min read · MySQL, Distributed databases, Scaling, Schema migrations, Ruby
  GitHub split its monolithic \`mysql1\` MySQL cluster by first virtually partitioning tables into schema domains (declared in YAML) and enforcing boundaries with query and transaction linters, then physically moving domains to new clusters via Vitess vertical sharding or a custom ProxySQL/GTID-based write-cutover script.

## 2021-05-26

- [Why (and how) GitHub is adopting OpenTelemetry](https://swe.quest/articles/why-and-how-github-is-adopting-opentelemetry-0b6fb60f67930892.md): GitHub Engineering · 2021-05-26 · Medium · 4 min read · Observability, Ruby
  GitHub is standardizing on OpenTelemetry to replace a patchwork of statsd dialects, syslog-format logs and OpenTracing traces that made cross-signal correlation hard and forced repeated instrumentation work.

## 2021-04-27

- [How we ship code faster and safer with feature flags](https://swe.quest/articles/how-we-ship-code-faster-and-safer-with-feature-flags-49a97b8efaf60044.md): GitHub Engineering · 2021-04-27 · Medium · 9 min read · Deployment, CI/CD, Testing, Refactoring & migrations, Ruby
  GitHub puts risky changes and in-progress features behind feature flags so it can deploy continuously and disable problems in seconds instead of rolling back a deployment over several minutes.

## 2021-04-05

- [How we scaled the GitHub API with a sharded, replicated rate limiter in Redis](https://swe.quest/articles/how-we-scaled-the-github-api-with-a-sharded-replicated-rate-limiter-in-redis-c2f9366d9d874889.md): GitHub Engineering · 2021-04-05 · Medium · 9 min read · Caching, Replication, API design, Scaling, Ruby
  GitHub replaced a Memcached-based API rate limiter, which suffered evictions and could not survive a move to per-datacenter caches, with application-sharded Redis clusters (one primary, several read replicas) and atomic Lua scripts, rolled out behind a feature flag.

Same list as RSS: [https://swe.quest/feed.xml?source=github&tag=ruby](https://swe.quest/feed.xml?source=github&tag=ruby). 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)
