magento2 – M2.2 Import a large number of products

I'm importing a lot of products (15-20k) using a custom module importer that uses Magento's Basic API.

J & # 39; would improve speed of Product importer.

When I went up for 64 GB of RAM in AWS, the server only used 8-10 GB of RAM on average. How can I configure PHP / MySQL / Opcache to use the available memory and processor?

Until then, I've tested to increase the PHP memory limit, MySql buffer size. Is there a way to analyze and test different configurations?

Note:

  1. Large imports are for single use only.