Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
日本語の概要は準備中です。原文の説明を表示しています。
Rate limiting and throttling for Educabot APIs (Go/TS): token bucket, sliding window, Redis, per-user/IP/endpoint, 429 headers, protecting logins/expensive APIs.
日本語の概要は準備中です。原文の説明を表示しています。
実行スコア 未検証
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Authoritative backend-side rate limiting with Redis for coordination across pods.
| Use | Do NOT use |
|---|---|
| Login/signup/forgot-password (bruteforce) | As the only security mechanism (combine with auth, WAF) |
| Public APIs (scraping, abuse) | Internal service-to-service endpoints (circuit breakers) |
| Expensive endpoints (LLM, reports, exports) | Limiting legitimate usage (that is pricing/plans) |
CDN/WAF (Cloudflare) → API Gateway/Ingress (crude per-IP) → App middleware (per-user, per-endpoint)
| Algorithm | When |
|---|---|
| Sliding Window Counter | Default — balances precision/cost |
| Token Bucket | APIs where bursts are useful |
| Fixed Window | Simple daily/monthly quotas |
| Leaky Bucket | Shapeable rate (uploads) |
| Key | When |
|---|---|
ip:<ip> | Unauthenticated |
user:<userId> | Default authenticated |
endpoint:<route>:<userId> | A specific expensive endpoint |
action:<name>:<id> | Login, forgot-password |
tenant:<orgId> | Multi-tenant |
Combine: action:login:ip:<ip> + action:login:email:<email>
| Endpoint | Limit | Window | Key |
|---|---|---|---|
| POST /auth/login | 5 | 15min | ip + email |
| POST /auth/signup | 3 | 1h | ip |
| POST /auth/forgot-password | 3 | 1h | |
| General authenticated API | 1000 | 1min | user |
| General anonymous API | 60 | 1min | ip |
| Exports/reports | 10 | 1h | user |
| LLM/AI endpoints | 30 | 1min | user + tenant |
go-redis + embedded Lua script. TS: rate-limiter-flexibleX-RateLimit-Limit: 1000
X-RateLimit-Remaining: 847
X-RateLimit-Reset: <unix timestamp>
Retry-After: 30 ← only on 429
429 body: application/problem+json with type, title, status, detail, retryAfter
Config per plan (free/pro/enterprise) → look up the user's plan → use the matching limiter
trustProxy: true. Gin: SetTrustedProxies([]string{"10.0.0.0/8"})X-Forwarded-For without a trusted proxy — trivial spoofingRetry-After headerrate_limit_requests_total{endpoint,decision}, redis_errors_totalまだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.
日本語の概要は準備中です。原文の説明を表示しています。
Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.
日本語の概要は準備中です。原文の説明を表示しています。
Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.
日本語の概要は準備中です。原文の説明を表示しています。
Interactive music for games: vertical layering, horizontal re-sequencing, stingers, transition rules with sync points, and mapping gameplay states to music. Use for: adaptive music, dynamic music system, musical transitions, combat music.
日本語の概要は準備中です。原文の説明を表示しています。
Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.
日本語の概要は準備中です。原文の説明を表示しています。
Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.
日本語の概要は準備中です。原文の説明を表示しています。