gleam icon indicating copy to clipboard operation
gleam copied to clipboard

Cached/persistent in memory dataset

Open tux-mind opened this issue 6 years ago • 1 comments
trafficstars

Hello, I am trying to figure out if gleam is the right tool for the job.

My inquiry is similar to #27 , I have a huge amount of data that I want to keep in memory to run a certain operation on it several times in a distributed fashion.

For the sake of clarity, I am reporting a simplified pseudo-code example of my use case.

data = seq(1, 1024*3)
mapping = (n) -> n*56
filter_op = (n) -> n < 123456

My goal is to have 3 nodes, each with 1024 numbers. Each node would run mapping, discarding results that do not satisfy the filter_op predicate.

I would like to be able to run this multiple times, changing mapping or filter_op but keeping the 1024 numbers in the nodes' memory.

Thank you in advance for your time and help!

tux-mind avatar Apr 15 '19 14:04 tux-mind

Currently not ready, but sounds an interesting use case.

chrislusf avatar Apr 15 '19 16:04 chrislusf