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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠