Elasticsearch Ability to write to Memory


I was wondering if its possible to have Elasticsearch write docs to memory and have them roll. The use case is that we have a lot of data on a specific index being written and the writes to disk are using lots of disk io, we need this data for a short term and would be nice to have them in memory like the feature Prometheus offers.

Is that possible with Elasticsearch?

You can create a memory mount at the OS level and then have a node (eg hot) that uses that mount as the data directory, yes.

There's nothing native to Elasticsearch that will do that directly though, so it's a bit of DIY.

@warkolm Thank you for getting back to me. I will start exploring that option.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.