- Newest
- Most votes
- Most comments
Hello.
As you pointed out, upon reviewing the documentation, I could not find any mention of the 30 pages-per-minute parsing speed or the 300-second timeout for the POST_CHUNKING Lambda function as explicitly configurable quotas.
For Bedrock Knowledge Bases, you can use options such as Foundation Models, Amazon Bedrock Data Automation, or a default parser to analyze PDF documents.
While the official AWS documentation explains the differences between these analysis methods and their respective limitations, it does not explicitly state the fixed processing speed limit of 30 pages per minute for analysis performed using Foundation Models.
Could you verify whether the overall analysis speed changes depending on whether multiple small PDF files are submitted versus a smaller number of large PDF files?
If parallel processing occurs with multiple files—leading to an increase in overall throughput—it is possible that the document-level processing method is a contributing factor.
https://docs.aws.amazon.com/bedrock/latest/userguide/kb-advanced-parsing.html
As for Lambda, the maximum execution time is typically 15 minutes, so it is possible that Bedrock imposes some kind of limitation.
However, this limitation is not mentioned in the documentation.
If you are processing more than 15,000 pages, rather than simply extending the Lambda timeout, why not consider an architecture that breaks the processing down into smaller units?
You could split large PDFs into chapters or sections, then compare the analysis speed and the efficiency of parallel processing.
Note, however, that splitting files will not necessarily result in faster processing; it also depends on the limitations of the Knowledge Bases themselves.
Relevant content
asked 2 years ago

We have tried with files of all sizes, and the speed does not change in any scenario. Splitting files and parallelization does not help, as you already mentioned - this impacts speed whichever strategy we choose. Also, if we end up doing so much manual work and circumvent Bedrock's mechanisms, why use Bedrock at the first place? I understand the need for service quotas in order to protect the system - however, these quotas should be documented and somewhat flexible.