リクエストを落とさずにデプロイ
Caddyの背後でのblue/green、1分でのロールバック、旧バージョンを壊さないマイグレーション。
いま困っていることを選んでください。それぞれに製品と、その背景にある手法を解説するガイドがあります。
Caddyの背後でのblue/green、1分でのロールバック、旧バージョンを壊さないマイグレーション。
restic、保持ポリシー、復元訓練。バックアップがあるとは、データを取り戻せるということです。
誰かが誤ったDELETEを実行した日のための、WALアーカイブと時点復旧。
1台のマシンで動くサービスのためのシャットダウン、タイムアウト、メモリ、ログ。
署名検証、重複排除、クラッシュしても残る再試行キュー。
GoReleaser、チェックサム、信頼できるインストーラー。
1台のVPSのための堅牢化、ファイアウォール、ログ、ディスク、監視。
Webhook を安全に受け取る小さな Go サービスです。署名検証、重複排除、永続化、リトライまで済んでいて、自分で書くのは一つの関数だけです。
取り消せるデプロイ、リストアして確かめたバックアップ、ストップウォッチで測る復旧ドリル。助言だけでなく、そのまま動くスクリプトを付けています。
サーバー単体に置きっぱなしにできる Go サービスの書き方。シャットダウン、タイムアウト、メモリ、systemd を、掲載コードすべてに裏付けのあるリファレンスサービスとともに解説します。
誤った DELETE の直前の状態に、PostgreSQL サーバーを戻せます。一晩で読めるスクリプトと、それが動くことを示すドリル付きです。
Go サービスを、リクエストを落とさずにサーバー単体へリリースします。使うのは systemd、Caddy、bash だけで、pm2 もコンテナも要りません。
Go 製のコマンドラインツールを、慎重にリリースするためのキットです。GoReleaser の設定、ダウンロードを検証するインストーラー、周辺のスクリプトを一式そろえています。
動くコマンドと実際の使い方を載せた長めのガイド。
Deploys and releasesBackups and recoveryPostgres and dataGo in productionWebhooksPackaging and releasing CLIsVPS operations
Deploys and releases · 読了まで約 10 分
Run two copies of a Node app on two ports, health-check the new one, then switch Caddy to it. Commands, the pm2 symlink trap, and measured failed requests.
Backups and recovery · 読了まで約 8 分
A fill-in restore runbook template for one VPS covering who does what, the order of steps, RTO and RPO in plain words, and how to drill it until it works.
Webhooks · 読了まで約 9 分
Avoid the mistakes that break or weaken webhook signature checks in Go, and see how GitHub, Stripe and Standard Webhooks differ in practice.
Webhooks · 読了まで約 8 分
Build a webhook job queue on one SQLite table: claim work with leases, retry with jittered backoff, dead-letter poison events and replay them safely.
Webhooks · 読了まで約 9 分
Handle at-least-once webhook delivery safely: pick event ids, use unique constraints, size the dedupe window and make side effects run once.
Webhooks · 読了まで約 8 分
Write a dependency-free Go verifier for Standard Webhooks signatures as used by Polar, with secret rotation, replay protection and a known-answer test.
Webhook署名チェッカーと復元テストスクリプト。どちらもMITライセンスです。購入前にやり方を試せます。