# Performance

> Optimize throughput, retry behavior, and compression when working with the Copyleaks APIs at scale.

Run scans efficiently. These pages cover the practical knobs, compression, batching, retries, and the per-content-type best practices.

<CardGroup cols={2}>
  <Card title="Texts & Documents" icon="file-lines" href="/concepts/performance/best-practices">
    Optimize text and document scanning, compression, feature scoping, submission patterns.
  </Card>
  <Card title="Images" icon="image" href="/concepts/performance/image-best-practices">
    Optimize the AI Image Detection API, multipart uploads, compression, throughput.
  </Card>
  <Card title="Handling Failures" icon="triangle-exclamation" href="/concepts/performance/handling-failures">
    Retry strategy and exponential backoff for transient errors and rate limits.
  </Card>
</CardGroup>
