Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

172
Vistas
How to run a batch API operation for hundreds of URLs?

I’d like to run a batch operation where my script calls the Pagespeed Insights API for a list of URLs, returns the JSON and saves it to Dynamo. Each API response averages between 20-30 sec, so maybe 30 URLs max before my Lambda times out at 15 min max. I’ll eventually have the list of URLs at maybe 200+.

What’s the best approach/stack for this?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Have a Lambda function put the URLs into an SQS queue and another Lambda function that gets invoked for messages in the Queue. The second Lambda handles querying one URL and stores the result in DynamoDB. You also get retries in case something goes wrong by using SQS.

You can limit concurrent executions by setting a concurrency limit for the second Lambda function. You can also configure batching for the SQS integration and have each Lambda invocation handle up to 10 URLs.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda