Skip to content
This documentation is currently in preview, therefore subject to change.

Scalability and Performance

Overview

Build a Doc is designed to handle document generation workloads at scale while maintaining consistent performance.


Performance Considerations

Document Complexity

  • Larger documents with many template expressions take longer to process
  • Complex loops and conditionals add processing time
  • High-resolution images increase document size and processing time

Data Volume

  • Large data sources increase binding time
  • Consider filtering data before sending to the action
  • Use pagination for very large datasets

Subscription Quotas

Different subscription tiers provide different quotas.

Please see the portal for current plan limits.

Rate Limiting

To ensure fair usage:

  • Requests may be throttled during high-volume periods
  • 429 errors indicate rate limiting
  • Implement retry logic with backoff

Best Practices

  1. Optimise templates - Keep template complexity reasonable
  2. Filter data - Only send necessary data to actions
  3. Batch wisely - Balance batch size with timeout limits
  4. Handle errors - Implement retry logic for transient failures
  5. Monitor usage - Track quota consumption in the portal