Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
Cognito listUsers with aws-sdk is very slow

I'm creating one api with express-js and Cognito for users management, but every query in cognito takes at least 700ms to return the data... this is very slow!! How can i speed this up?

Have configs in AWS to reduce network delay?

import AWS from 'aws-sdk';

const Cognito = new AWS.CognitoIdentityServiceProvider({
  region: '...',
  accessKeyId: '...',
  secretAccessKey: '...',
});

const data = await Cognito.getUser({
  AccessToken
}).promise();

return {
  ...data,
  userName: data.Username,
};
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!