Srinath Reddy

Srinath is a Staff SDE at EDB, and a PostgreSQL internals developer, based out of Bengaluru, India. Srinath loves learning new languages; he currently speaks 5 languages and he's learning Japanese. As a kid, Srinath dreamed of becoming a scientist who could create a drug to make his parents immortal. He would often open up electronic devices, either trying to put them back together or invent something entirely new—though usually completely useless—by combining spare parts.

Read Blogs

Technical Blog
저자: Srinath Reddy 2025년 9월 3일 PostgreSQL 서버가 시작된 뒤 종료될 때까지 내부 프로세스가 어떻게 생성되고 협력하는지 살펴봅니다. postmaster와 ServerLoop를 중심으로 백엔드 프로세스, 백그라운드 워커, 복제 프로세스, 시그널 처리 및 종료 모드의 동작 흐름을 단계별로 설명합니다. PostgreSQL 프로세스 아키텍처 pg_ctl을 사용해 postgres를 시작하면 가장 먼저 실행되는 것은 postmaster입니다. postmaster는 이후 실행되는 대부분의 프로세스에서 부모 프로세스 역할을 합니다. postmaster는 main() 함수를 실행하고 그 안에서 PostmasterMain을 호출하며, 이때 다음과 같은 주요 작업이 진행됩니다. GUC(Global...
Technical Blog
This blog takes you on a guided tour of PostgreSQL’s internal process world from startup to shutdown explaining how these processes work together to keep your database safe, fast, and consistent.