title: Construction of an instance of Sequelize seems to take too long
body: <p>I have some Typescript code that uses <strong>sequelize@5.22.3</strong> and <strong>sequelize-typescript@1.1.0</strong> libraries to manage an AWS Aurora MySQL RDS database (<strong>5.7.mysql_aurora.2.07.2</strong>).</p>
  <p>This code is running as Lambda function which is accessed via an AWS API Gateway. All this (including the RDS DB) are deployed within a private VPC (the same one for all of them).</p>
  <p>This is the function I call to create an instance of <strong>Sequelize</strong> (this is done on load time for the Lambda function):</p>
  <pre><code>import { Sequelize } from 'sequelize-typescript';
  
  function createSequelize(): Sequelize {
    const t0 = new Date().getTime();
    const sequelize = new Sequelize('mysql://aaa.cluster-c52mlmcfdpvd.eu-west-2.rds.amazonaws.com/bbb', {
      dialect: 'mysql',
      logging: false,
      username: 'xxx',
      password: 'xxx',
      pool: {
        min: 0,
        max: 1,
        idle: 10000,
        acquire: 30000
      }
    });
  
    const t1 = new Date().getTime();
  
    console.log(t1 - t0);
  
    return sequelize;
  }
  </code></pre>
  <p><strong>NOTE</strong>: I have used dummy strings in the code above to hide sensitive data (e.g. <strong>aaa</strong>, <strong>bbb</strong>, <strong>xxx</strong>).</p>
  <p>As you can see, I have put some timing code around this.</p>
  <p>I am very surprised that it takes between <strong>1.5s</strong> and <strong>2s</strong> to do this.</p>
  <p>This introduces an unacceptable latency in our applications whenever the Lambda is cold.</p>
  <p>Is there anything I can do to reduce this time?</p>
  <p>Other library versions that may be relevant:</p>
  <ul>
  <li>typescript@3.9.7</li>
  <li>mysql2@2.1.0</li>
  <li>aws-sdk@2.725.0</li>
  <li>aws-lambda@1.0.6</li>
  </ul>