DivanteLtd / coreshop-vsbridge

CoreShop Vue Storefront integration - first Progressive Web App (PWA) framework for Pimcore
https://vuestorefront.io
MIT License
74 stars 25 forks source link

Import in bulk instead of one by one #36

Closed dkarlovi closed 4 years ago

dkarlovi commented 4 years ago

Elasticsearch has a Bulk API. Using that in the importer command would mean we would do way less HTTP requests at a time, likely improving performance and robustness of the import process.

Since this package uses ongr Elasticsearch bundle to abstract interacting with ES, this would likely need to be supported there first.

Alternatively, this package could switch to Elastica which already supports bulk operations (but the switch would likely be quite a bit of work).

dkarlovi commented 4 years ago

This is invalid, it's already doing bulk upserts.