Networking Transportのロゴ

Networking Transport

コミュニティ
d-padmanabhan
networking-transport

Networking and transport-layer architecture for production services. TCP keepalive, head-of-line blocking, TTFB budget, HTTP/1.1 vs HTTP/2 vs HTTP/3, when to choose gRPC/Protobuf over REST/JSON, connection pooling, long-lived connections (websockets / SSE / gRPC streaming), and CDN-to-origin patterns. Use when designing service-to-service APIs, debugging tail latency, choosing a wire protocol, configuring load balancer idle timeouts, or evaluating HTTP/3 / QUIC for mobile / cross-region workloads.

概要

公開者d-padmanabhan
リポジトリagent-engineering-handbook
スキル名networking-transport
スター
20
フォーク
3
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    d-padmanabhanがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Networking Transport」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/d-padmanabhan/agent-engineering-handbook/tree/main/skills/networking-transport
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbook.git /tmp/agent-engineering-handbook
mkdir -p .claude/skills
cp -r /tmp/agent-engineering-handbook/skills/networking-transport .claude/skills/networking-transport
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでNetworking Transportを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にNetworking Transportを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Networking Transportは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Networking & Transport - Architecture Patterns

The transport-and-wire-format layer underneath API design. The API design skill (${HANDBOOK_ROOT}/skills/api-design/SKILL.md) and rule (${HANDBOOK_ROOT}/rules/320-api-design.mdc) cover the API surface. This skill covers TCP, HTTP/n, QUIC, serialization, connection lifecycle, head-of-line blocking, and TTFB budgets.

Get this layer wrong and your P99 latency, mobile UX, edge cold-start cost, and east-west microservice throughput all suffer in ways that profiling your application code can't fix.

When to invoke

  • Designing or reviewing a service-to-service API (REST vs gRPC choice)
  • Debugging tail latency / TTFB spikes / "fast in isolation, slow in production"
  • Configuring load balancer idle timeouts (NLB, ALB, API Gateway, Cloudflare)
  • Designing long-lived connections (websockets, SSE, gRPC streaming)
  • Evaluating HTTP/3 / QUIC for mobile / cross-region / lossy-network workloads
  • Choosing a wire format (JSON vs Protobuf vs MessagePack vs Avro)
  • Reviewing a .proto file or a protobuf schema change

Five golden rules

  1. TCP keepalive is mandatory on long-lived clients. Linux defaults (tcp_keepalive_time = 7200s = 2 hours) are wrong for cloud. Set explicit per-language values.
  2. Reuse HTTP clients. A fresh client per request defeats keepalive and burns ~50-150ms on TCP+TLS handshake. The single most common production performance bug.
  3. Choose the wire by callers, not by hype. External / browser / human-debugged -> REST/JSON. Internal east-west / polyglot / streaming -> gRPC/Protobuf. Don't gRPC your public API just because it's faster.
  4. HTTP/2 multiplexes streams; HTTP/3 multiplexes connections. HTTP/2 still has TCP-level head-of-line. HTTP/3 fixes it. Matters when packet loss is non-zero (mobile, satellite, cross-region).
  5. Idle timeouts kill connections silently. AWS NLB drops at 350s, ALB at 60s, API Gateway REST at 29s. Set keepalive < min(idle timeout) or watch your "random" disconnects.

1. Mental model: four layers, four latency budgets

+----------------------------------------+
|  L7 wire format    JSON / Protobuf     |  Serialization CPU + size on wire
+----------------------------------------+
|  L7 protocol       HTTP/1.1 /2 /3      |  Multiplexing + HoL behavior
+----------------------------------------+
|  L6 transport sec  TLS 1.2 /1.3        |  Handshake RTTs (1-RTT, 0-RTT, session resume)
+----------------------------------------+
|  L4 transport      TCP / QUIC (UDP)    |  Handshake, congestion control, HoL
+----------------------------------------+
|  L3 IP             routing / DNS       |  DNS lookup, geo distance, MTU
+----------------------------------------+

Latency tuning at each layer:

LayerTypical contribution to TTFBTuning levers
DNS0-50ms (cold), 0-1ms (cached)TTL, edge DNS, prefetch
TCP handshake1 RTT (~5-150ms by geo)Connection reuse (keepalive), HTTP/3 (0 RTT)
TLS handshake1-2 RTT (TLS 1.3 = 1; TLS 1.2 = 2)TLS 1.3, session resumption, 0-RTT (with replay risk)
Request processingApp-dependentProfile; out of scope here
First byteStreaming vs bufferingStream early; don't await full result before responding

2. TCP keepalive

What it is

OS-level periodic probes on idle TCP connections to detect dead peers. Without keepalive, a connection in a half-open state (peer died, NAT timed out, LB recycled) appears alive until the next read/write attempt fails.

Why defaults are wrong

OS / settingDefaultProblem in cloud
Linux tcp_keepalive_time7200s (2 hours)LB drops connection at 60-350s; client believes still alive; first send after 6 minutes fails
Linux tcp_keepalive_intvl75sOK
Linux tcp_keepalive_probes9Total death-detection time = 2h + 9*75s = ~2.2h
macOS net.inet.tcp.keepidle7200000msSame
Windows KeepAliveTime7200000msSame

What to set per environment

EnvironmentSuggested idleWhy
AWS NLB-fronted (350s idle)60-120sProbe twice before LB cuts
AWS ALB-fronted (60s idle, configurable)30sProbe before LB cuts
API Gateway REST (29s idle, fixed)Don't keepalive; reconnect per requestPool inside a Lambda invocation only
Cross-region (RTT 100-200ms)30-60sDetect partition fast
Inside k8s cluster30-60sPod churn, kube-proxy reset

Per-language settings

go
// Go: customize the Transport's DialContext
tr := &http.Transport{
    DialContext: (&net.Dialer{
        Timeout:   5 * time.Second,
        KeepAlive: 30 * time.Second,    // probe interval
    }).DialContext,
    IdleConnTimeout:       90 * time.Second,
    MaxIdleConnsPerHost:   100,
    DisableKeepAlives:     false,
}
client := &http.Client{Transport: tr}
python
# Python (requests/httpx) - OS-level keepalive only; tune via Session
import requests
from requests.adapters import HTTPAdapter

session = requests.Session()
session.mount('https://', HTTPAdapter(pool_connections=20, pool_maxsize=100))
# OS-level: sysctl net.ipv4.tcp_keepalive_time=60 (container or host)
javascript
// Node: enable keepalive on the Agent (NOT default in older Node versions)
const https = require('https');
const agent = new https.Agent({
  keepAlive: true,
  keepAliveMsecs: 30_000,           // probe interval
  maxSockets: 100,
  timeout: 30_000,
});

Anti-patterns

  • Default OS keepalive in cloud (2-hour idle). Connection looks alive; first send fails.
  • Creating a new http.Client / requests object per request. No pooled connection, no keepalive, ~50-150ms handshake tax per call.
  • Setting keepalive longer than the load balancer's idle timeout. Backwards; LB still wins.

3. TCP head-of-line blocking

The problem at three layers

LayerWhat blocksFixed by
HTTP/1.1Whole connection blocks until current request completes (serial requests per connection)Concurrent connections (browsers cap at ~6/host); HTTP/2
HTTP/2 over TCPStreams are multiplexed in software, but TCP packet loss blocks all streams on that connection until retransmitHTTP/3 over QUIC
TCPLost packet stalls every higher-layer message on the connectionQUIC (per-stream loss handling at transport)

When this matters

  • Mobile networks (packet loss 1-5%): HTTP/2 single connection performs worse than HTTP/1.1 with parallel connections because one lost packet stalls everything.
  • Cross-region (especially via lossy intermediate networks): same.
  • High-fan-out backends: one slow upstream response on an HTTP/2 connection delays unrelated responses sharing the connection.

When it doesn't matter

  • LAN / data-center east-west with <0.001% loss: HTTP/2 multiplexing wins; HoL is theoretical.
  • HTTP/1.1 with one request at a time (most internal microservices today): never see it.

4. TTFB (time to first byte) budget

ComponentCost (typical)What to do about it
DNS lookup0-50ms cold, 0-1ms cachedHigh TTL, edge DNS, DNS prefetch in clients
TCP handshake1 RTT (5-150ms by geo)Reuse connections (keepalive); HTTP/3 0-RTT
TLS handshake1 RTT (TLS 1.3) or 2 RTT (TLS 1.2)TLS 1.3 mandatory; session resumption / tickets
Server processingApp-dependentProfile; cache; precompute
First byte to client1 RTT to clientStream the response; don't buffer-then-send

The streaming insight: if your handler takes 800ms to compute a 4KB response, TTFB is 800ms + 1 RTT. If you stream incrementally, TTFB drops to whatever the first chunk takes (often <100ms). Big TTFB win, no algorithmic change required.


5. HTTP/1.1 vs HTTP/2 vs HTTP/3

AspectHTTP/1.1HTTP/2HTTP/3
TransportTCPTCPQUIC over UDP
Connection per hostMany (browsers ~6)One (multiplexed)One (multiplexed)
Request concurrency on one connectionNone (serial)Many streamsMany streams
TCP HoLN/A (serial)Yes (packet loss blocks all streams)No (per-stream)
Handshake RTT1 (TCP) + 1-2 (TLS)1 + 1-20-1 (0-RTT with replay caveat)
Header compressionNoneHPACKQPACK
Server pushNoneYes (deprecated 2022)No (dropped)
Browser/server supportUniversalUniversalStrong but middlebox issues
When it winsSimple, debuggableInternal east-west, LANMobile, cross-region, lossy networks

HTTP/3 prerequisites

  • UDP port 443 must be reachable end-to-end. Some corporate proxies, old firewalls, and certain ISP middleboxes drop or rate-limit UDP/443.
  • Server advertises via alt-svc header in an HTTP/2 or 1.1 response: alt-svc: h3=":443"; ma=86400.
  • Client must support and choose to attempt H3. Browsers do this transparently; SDKs / curl need explicit flags.
  • TLS 1.3 mandatory (HTTP/3 only runs over TLS 1.3+).

When HTTP/3 is the right choice

  • Public-facing edge traffic for mobile users
  • Cross-region / cross-cloud / high-RTT paths
  • Edge POPs to mobile clients (Cloudflare, Fastly, CloudFront all support)
  • Anywhere packet loss meaningfully affects current HTTP/2 P95/P99

When HTTP/2 is still right

  • Internal east-west (low loss, low RTT, no UDP-path concerns)
  • gRPC (which requires HTTP/2)
  • Anywhere your egress path doesn't reliably pass UDP/443

6. REST/JSON vs gRPC/Protobuf vs GraphQL vs Connect

Decision matrix

Use caseChoiceWhy
External public APIREST + JSONBrowser-debuggable, curl-friendly, broadest tooling, OpenAPI spec mature
Internal east-west microservices (polyglot)gRPC + ProtobufSchema-first, code generation, streaming, ~5-10x smaller wire, ~3-5x faster serialization, native HTTP/2
Browser <-> internal servicesREST or gRPC-Web (with proxy) or ConnectgRPC doesn't run in browsers natively; gRPC-Web requires an Envoy/Nginx proxy that translates
Client-driven shape (graph fetches)GraphQLSingle endpoint, client picks fields, batches
Want gRPC's API style without HTTP/2 mandateConnect (or Twirp)Protobuf schemas, HTTP/1.1-friendly, browser-callable directly
Mobile <-> backendREST + Protobuf (or Connect)gRPC works on mobile but battery / network resilience varies
Event-driven / pub-subKafka / NATS / SQS with Protobuf or Avro schemasNot a request/response problem; see 483-kafka.mdc

See references/grpc-vs-rest-decision.md for the long version with worked examples.

gRPC's real wins

  • Schema-first contract. .proto is the single source of truth; client + server generated from it. No "is this field optional?" debates.
  • Streaming. Server, client, and bidirectional streams as first-class concepts. Long-lived RPC over a single connection.
  • Polyglot code-gen. Same .proto -> Go, Python, Java, TS, Swift, Kotlin, Ruby, C++, Rust. Type-safe in each.
  • Smaller wire, faster parse. Protobuf vs JSON: ~3-10x smaller, ~3-5x faster to (de)serialize.
  • HTTP/2 native. Multiplexed streams, no per-request connection.

gRPC's real losses

  • Browsers don't speak gRPC. Need gRPC-Web + Envoy translation, or use Connect.
  • Debuggable from a CLI? Need grpcurl (not curl) and a reflection server or the .proto file.
  • Load balancing. gRPC's persistent HTTP/2 connection breaks naive L4 load balancers; need L7 (Envoy, Linkerd, AWS Application LB with gRPC support).
  • No browser-friendly caching. REST Cache-Control and CDN integration is a solved problem; gRPC isn't.
  • Tail-latency observability. Per-call metrics need extra instrumentation; less out-of-box than HTTP middleware.

Connect (and Twirp): the middle ground

  • Protobuf schemas + code-gen (like gRPC)
  • HTTP/1.1-friendly (like REST)
  • Browser-callable directly with fetch (unlike gRPC)
  • Streaming supported (Connect: yes; Twirp: no)
  • Less feature-complete than gRPC but covers the common 80%

Anti-pattern: gRPC for the public API

If your callers are external (third-party developers, mobile teams you don't control, browsers): use REST or Connect. gRPC's operational burden on external callers is real.


7. Protobuf design essentials

protobuf
syntax = "proto3";

package myorg.users.v1;     // semantic-version the package; never break clients of v1

message User {
  string id = 1;            // field numbers are wire identity - never re-number
  string email = 2;
  string display_name = 3;
  reserved 4, 5;            // numbers of removed fields; prevents accidental reuse
  reserved "deprecated_field_name";

  // Presence semantics: in proto3, scalar zero values don't serialize.
  // Use `optional` (proto3 since 2020) or wrapper types for true "absent" semantics.
  optional string phone = 6;  // absent vs empty distinguishable
}

message UpdateUserRequest {
  string id = 1;
  // oneof for mutually-exclusive update modes
  oneof update {
    string new_email = 2;
    string new_display_name = 3;
  }
}

Schema-evolution rules (memorize)

ChangeCompatible?
Add a new field with a new numberYes (forward + backward)
Remove a field, reserve the numberYes
Re-number a fieldNO - changes wire identity; corrupts existing data
Change a field's typeNO (with rare exceptions like int32 <-> int64 same wire kind)
Rename a field (number unchanged)Yes (wire is by number, not name)
Add value to an enumBackward-compatible; old code sees UNKNOWN
Remove an enum valueRisky; old data may carry it
Change optional to repeatedNO
Make required field optional (proto2)Yes (no-op in proto3; everything is optional)

See references/protobuf-schema-evolution.md for the long form with examples.

Wire-format gotchas

  • Default values don't appear on the wire (proto3 scalars). Receiver can't distinguish "set to zero" from "absent". Use optional (since 2020) or wrapper types (google.protobuf.StringValue).
  • Field numbers 1-15 use 1 byte tag; 16+ use 2. Reserve 1-15 for hot fields.
  • Unknown fields are preserved by default in most languages. Don't strip them.
  • bytes and string are similar on the wire; bytes skips UTF-8 validation. Use bytes for binary; string for text.

8. Connection pooling per language

The #1 production-performance bug: a fresh HTTP client per request.

Go

go
// BAD: new Client per request -> no keepalive
func bad(url string) {
    resp, _ := http.Get(url)  // uses http.DefaultClient with default Transport
    // but if you do `http.Client{Transport: &http.Transport{...}}` per call, you lose pooling
}

// GOOD: package-level (or DI'd) client, reused
var client = &http.Client{
    Timeout: 10 * time.Second,
    Transport: &http.Transport{
        MaxIdleConnsPerHost: 100,
        IdleConnTimeout:     90 * time.Second,
        DialContext: (&net.Dialer{
            Timeout:   5 * time.Second,
            KeepAlive: 30 * time.Second,
        }).DialContext,
    },
}

Python

python
# BAD: requests.get() per call - no session reuse
def bad(url):
    return requests.get(url)

# GOOD: Session pools connections, sends keepalive headers
session = requests.Session()
adapter = HTTPAdapter(pool_connections=20, pool_maxsize=100, max_retries=3)
session.mount('https://', adapter)
session.mount('http://', adapter)

Node

javascript
// BAD: implicit Agent per call (older Node)
const res = await fetch(url);

// GOOD: shared keepalive agent (Node 19+ defaults to keepAlive: true; older versions don't)
const https = require('https');
const agent = new https.Agent({ keepAlive: true, maxSockets: 100, timeout: 30_000 });
const res = await fetch(url, { agent });

gRPC clients

python
# Single channel reused across calls (NOT a channel per call)
channel = grpc.insecure_channel('service:50051', options=[
    ('grpc.keepalive_time_ms', 30_000),
    ('grpc.keepalive_timeout_ms', 5_000),
    ('grpc.keepalive_permit_without_calls', True),
    ('grpc.http2.max_pings_without_data', 0),
])
stub = MyServiceStub(channel)

A gRPC channel is itself a connection pool; create one per (service, credentials) pair and reuse for the lifetime of the process.


9. Long-lived connections

PatternProtocolUse whenWatch out for
WebsocketWS over HTTP UpgradeBidirectional, real-time, browser-friendlyLB idle timeout (NLB 350s; ALB 60s; Cloudflare 100s free / 300s paid); reconnect logic with exponential backoff
Server-Sent Events (SSE)HTTP/1.1+ text/event-streamServer-to-client push, browser-friendly, simpler than WSOne-way only; some proxies buffer; need keepalive comments to defeat idle timeouts
gRPC streamingHTTP/2 streamsPolyglot service-to-service, bidirectional or unidirectionalBrowser unsupported (use Connect streams instead); load balancer must understand HTTP/2
Long pollingHTTP/1.1Legacy clients, last-resort fallbackHigh per-request overhead; consider SSE first

Idle-timeout cheat sheet

Proxy / LBDefault idle timeoutConfigurable
AWS Network Load Balancer (NLB)350s (TCP), 350s (UDP)No (fixed)
AWS Application LB (ALB)60sYes, 1-4000s
AWS API Gateway REST29sNo (fixed; will be 30s+ for HTTP APIs)
AWS API Gateway WebSocket10 min idle, 2 hr totalNo
Cloudflare WebSocket100s (free), 300s (paid)No (use tickets/heartbeats)
Cloudflare HTTP/2100sNo
Nginx (default)60s (proxy_read_timeout)Yes
Envoy1h (stream_idle_timeout)Yes

Application-level heartbeats (every 30-60s) are the only reliable way to defeat idle-timeout disconnects across this matrix.


10. Edge / CDN patterns

  • Cold POPs are real: first request to a POP that hasn't seen your origin pays a full handshake. Subsequent requests reuse the warm connection.
  • CDN-to-origin keepalive is on by default in Cloudflare, Fastly, CloudFront. Verify and tune origin-side keepalive timeouts to match (origin must not drop before CDN reuses).
  • Anycast routing brings the connection to the nearest POP; routes between POPs and origin use the CDN's own backbone (faster than the public internet for cross-region).
  • HTTP/3 from edge to client is supported by all major CDNs; origin-to-edge usually remains HTTP/2.
  • Regional fall-through: if a POP can't reach origin, CDN may try other regions. Configure origin allow-lists or auth that work from any POP.

11. Observability for the transport layer

Metrics to capture per outbound HTTP/gRPC client:

MetricWhy
http_client_requests_total{status, host}Error budget
http_client_duration_seconds_bucket{host, status}P50/P95/P99 latency by host
http_client_connection_reuses_total{host} / _creates_totalConnection-pool effectiveness; ratio should be high
tcp_keepalive_probe_failures_totalOS-side dead-peer detection rate
tls_handshake_duration_seconds_bucketHandshake cost contribution to TTFB
dns_lookup_duration_seconds_bucketDNS cost (often forgotten)
grpc_client_msg_received_total{rpc, code}gRPC streaming health

For deeper observability patterns see rules/330-observability.mdc.


12. Anti-patterns

  1. New HTTP client per request. Defeats connection reuse, burns ~50-150ms / call on handshake. #1 production performance bug.
  2. Default OS TCP keepalive in cloud. 2-hour idle means connections look alive long after LB cut them; first write fails.
  3. HTTP/2 single connection across mobile / lossy networks. TCP HoL stalls all streams; HTTP/1.1 parallel or HTTP/3 wins.
  4. gRPC for a browser-facing API without gRPC-Web/Connect. Doesn't work; teams discover too late.
  5. Re-numbering a protobuf field. Wire-incompatible; existing data and clients corrupt.
  6. proto3 scalar field for true "optional" semantics. Default-zero-doesn't-serialize means receiver can't distinguish; use optional (since 2020) or wrappers.
  7. Buffering then sending. TTFB blows up; stream incrementally where possible.
  8. Keepalive longer than LB idle timeout. LB wins; "random" disconnects appear in P99.
  9. One TCP connection per RPC in a high-call-rate service. Channel-per-call instead of channel-reuse is gRPC's equivalent of #1.
  10. Assuming HTTP/3 works without verifying UDP/443. Corporate proxies and some ISPs filter; fall back gracefully.

13. Reviewer checklist

For any PR introducing or modifying an HTTP / gRPC client:

  • Client is created once (package-level, DI, singleton) and reused
  • Explicit timeout set (overall request, not just connect)
  • TCP keepalive interval set < load balancer idle timeout
  • MaxIdleConnsPerHost / pool size sized to the workload (default is often 2)
  • TLS minimum is 1.2; prefer 1.3
  • Retry policy bounded (max attempts, max total time, backoff with jitter)
  • Metrics: latency histogram, status counter, connection-reuse ratio
  • If gRPC: channel reused; keepalive options set; permit_without_calls if appropriate

For any PR adding or changing a .proto:

  • No field re-numbered
  • Removed fields have reserved for both number and name
  • New fields use unused numbers (never reused)
  • Optional semantics: optional keyword (proto3 since 2020) or wrapper types
  • Package versioned in the namespace (myorg.users.v1)
  • Generated code committed or generated in CI from the .proto

References

Related

  • API design: ${HANDBOOK_ROOT}/skills/api-design/SKILL.md and ${HANDBOOK_ROOT}/rules/320-api-design.mdc - the contract layer above this skill
  • Rule: 316-zero-trust.mdc - Network section (mTLS, default-deny egress) - the security model on top of this transport
  • Rule: 330-observability.mdc - Logging, metrics, tracing - including the transport-layer metrics above
  • Rule: 400-cloudflare.mdc - CDN patterns, Workers, edge-to-origin connection lifecycle
  • Rule: 410-aws.mdc - AWS ALB/NLB/API Gateway idle-timeout specifics
  • Rule: 483-kafka.mdc - Kafka transport + Avro/Protobuf schema registry
  • Rule: 510-mcp-servers.mdc - MCP protocol patterns
  • Skill: zero-trust - Network-tier security pairing
  • Skill: cloud-platforms - Per-cloud LB and edge specifics

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Networking Transport」では何ができますか?

Networking and transport-layer architecture for production services. TCP keepalive, head-of-line blocking, TTFB budget, HTTP/1.1 vs HTTP/2 vs HTTP/3, when to choose gRPC/Protobuf over REST/JSON, connection pooling, long-lived connections (websockets / SSE / gRPC streaming), and CDN-to-origin patterns. Use when designing service-to-service APIs, debugging tail latency, choosing a wire protocol, configuring load balancer idle timeouts, or evaluating HTTP/3 / QUIC for mobile / cross-region workloads.

TypingMindでNetworking Transportを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Networking Transportはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにNetworking Transportをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/d-padmanabhan/agent-engineering-handbook/tree/main/skills/networking-transportを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Networking Transportを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Networking Transportで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもNetworking Transportを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Networking Transport」は無料ですか?

はい。d-padmanabhanがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇