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

functionaliy demos #18

Open
bebbi opened this issue Apr 14, 2015 · 4 comments
Open

functionaliy demos #18

bebbi opened this issue Apr 14, 2015 · 4 comments

Comments

@bebbi
Copy link

bebbi commented Apr 14, 2015

checkout crowdprocess.com, they have a nice raytracing demo: http://distracer.io/
Would be cool if js-spark had the same.. if I have a spare moment I'll see if I could help with that.

@syzer
Copy link
Owner

syzer commented Apr 14, 2015

so cool!

@syzer
Copy link
Owner

syzer commented Apr 14, 2015

Any help most welcome!.

I was thinkg about doing GOL impleentation during hackergarden.
http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

@JordyMoos
Copy link
Contributor

What do you have in mind with implementing GOL in JS-Spark?

@syzer
Copy link
Owner

syzer commented Jul 8, 2015

Game of Life: streaming algorithm
1.we split map to regions...
every region need one! row from atahing regions
we send data to workers/clients...
when they got resolved next iteration of game we get that data back
then
in reduce/merge phase we solve conflicts on the edges.
and we can go to 1.

#Why it works ?
most of world is stagnant...
edges of regions are tiny part of world...
ergo most of time regions will be stagnant and not cause merge conflicts

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

No branches or pull requests

3 participants