kuzzleio / kourou

The CLI that helps you manage your Kuzzle application
31 stars 4 forks source link

Replace scroll usage by Point in Time API #172

Closed alexandrebouthinon closed 11 months ago

alexandrebouthinon commented 1 year ago

Why?

Elasticsearch recommends now to use Point in Time API instead of scrolls https://www.elastic.co/guide/en/elasticsearch/reference/7.17/point-in-time-api.html#search-slicing. Scrolls are huge memory consumers but Point in Time API only consume disk space and file descriptors (which are cheaper than memory)

rolljee commented 11 months ago

This need to be done in kuzzle first, then used inside kourou