Textract faster on some days rather than others

0

Previously about 2 weeks ago we were experiencing around 10-15 seconds per pdf when querying textract to translate our pdf. All the sudden now with the same code it takes give or take 5 minutes. Some key things I would like to point out are the PDFs are no larger and the code has not changed since then. The language I'm using is python and the library is boto3. Currently we are using the start_document_text_dection function that points to a pdf located in our s3 bucket. Once we determine the PDF is done reading (JobStatus changes from IN_PROGRESS), we then use the get_document_text_dection function to wrap the process up.

1 個回答
1
已接受的答案

Recommend that you create a service ticket with support to dig deeper into your issue and the region you are operating within. They can then examine if there was a regional latency issue and can provide this information back to you. You can also try leveraging an alternative region to check and see if your latency returns to 10-15 seconds but beware that not all regions charge the same amount per API.

profile pictureAWS
Chris_R
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南