Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cached/persistent in memory dataset #161

Open
tux-mind opened this issue Apr 15, 2019 · 1 comment
Open

Cached/persistent in memory dataset #161

tux-mind opened this issue Apr 15, 2019 · 1 comment

Comments

@tux-mind
Copy link

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!

@chrislusf
Copy link
Owner

Currently not ready, but sounds an interesting use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants