GitXplorerGitXplorer
d

quine-relay

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
0e4aeca61cfc78d04b531a454ae241e4b4befc91

fixes

ddgageot committed 9 years ago
Unverified
c6e33147a035587bbe3b64b22cbb1ac61d32732e

Cluster almost works

ddgageot committed 9 years ago
Unverified
58a0439ff6a5b6c5aa0218c90cd108f7806a6738

Don't push the images

ddgageot committed 9 years ago
Unverified
5b6ed94efe23ca93bb156f2fa2ea1723130623d3

Rename images

ddgageot committed 9 years ago
Unverified
0a1501b8a6b464367a07fa7ba839c03ba7105c31

Smaller images

ddgageot committed 9 years ago
Unverified
2c2985fc9c10f6cc61b50446fbb80bb10ec533e9

Improvements

ddgageot committed 9 years ago

README

The README file for this repository.

What's that?

Quine relay implemented with a network ring of Docker containers.

Aka, "The most expensive cat QR.rb script ever".

Create the cluster

./cluster.sh

This will build a Docker image with every 100 languages installed in it. That's a large image we are talking about. Maybe too big for the default virtualbox based boot2docker. I warned you.

In an ideal world it would build 100 different images with only what's needed to compile and run a single language. I'm open to pull requests.

Then it will start 100 linked containers to create an oriented ring.

Eventually it'll print merged logs for all 100 containers.

You should seen empty logs. Don't panic! Our next action is to awake the monster.

Post the QR.rb ruby source code

From a different terminal:

./client.sh

It'll post the QR.rb file to the first node of the ring (not a movie). On each node, the source code will be compiled, then executed. It'll produce a source code recognizable by the next node of the ring. So on and so on. Nodes communicate through http posts. Once all 100 nodes are visited, the client will get as an answer the exact same ruby code it sent in the first place.

How cool is that?

Was it worth it?

Of course it was!