视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
palantir-rate-limits【文档与办公】Analyze and design bounded Foundry API concurrency, backoff, pagination, and overload behavior from current documented limits. Use when preventing or handling HTTP 429 or 503 responses. Trigger with "Palantir rate limit".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Protect Foundry and the caller from retry storms. Budget requests across the acting user, bound concurrent work, honor server responses, and distinguish retryable throttling from authorization, validation, or permanent resource errors.
references/official-docs.md immediately before setting numeric budgets because effective and endpoint-specific limits may change.429 or 503.Attribute the request budget to the actual OAuth principal. Do not distribute calls across extra tokens, users, or service users to evade a limit. Keep token material out of metrics and retry logs.
Inventory every worker and application using the same principal and estimate peak request rate plus in-flight concurrency.
Set a conservative shared concurrency budget and bounded queue with deadlines and cancellation.
Retry only documented transient statuses, honoring server guidance and using capped exponential backoff with jitter.
Use pagination, selective properties, batching supported by the endpoint, idempotency controls, and workload coalescing to reduce demand.
Load-test below the approved ceiling, simulate 429 and 503, and verify recovery without duplicate writes or unbounded backlog.
Application owners approve budgets and degradation; platform owners approve load tests; data owners approve any write retry or batch behavior. Creating principals to bypass limits is prohibited.
A principal-level request inventory, endpoint budgets, concurrency and queue design, retry matrix, idempotency rules, test evidence, alert thresholds, and support escalation criteria.
| Condition | Response |
|---|---|
| A non-retryable 4xx is retried | Stop and route it to validation, authentication, authorization, or resource triage. |
| Queue age exceeds the service objective | Reject or degrade work according to policy instead of accumulating unbounded backlog. |
| Retries duplicate a write | Disable automatic retry until idempotency or reconciliation is proven. |
| Throttling persists below the expected budget | Check shared-principal traffic and endpoint limits, preserve request IDs, and contact Palantir Support. |
Coordinate several workers under one client-credentials service user with a shared semaphore, bounded queue, capped jittered backoff, and metrics for 429, 503, in-flight requests, and queue age.
Make an object reader cheaper and safer by selecting required properties, paging deterministically, cancelling expired work, and lowering concurrency before increasing retries.