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
- Optimise templates - Keep template complexity reasonable
- Filter data - Only send necessary data to actions
- Batch wisely - Balance batch size with timeout limits
- Handle errors - Implement retry logic for transient failures
- Monitor usage - Track quota consumption in the portal