World Record | MapR on Google Compute Engine | |
---|---|---|
Time to sort | 1:02 | 1:20 |
Number of Servers | 1,460 | 1,256 |
Number of Cores | 11,680 | 5,024 |
Time to build cluster | Months | Minutes |
Capital Expenditure | $5,840,000 | $728 (per hour, could run 45 times!) |
me@workstation$ gcutil addinstance sa-example --service_account_scopes=storage-rw me@workstation$ gcutil ssh sa-example [snip] me@sa-example$ gsutil mb gs://unique-bucket-name Creating gs://unique-bucket-name/...
me@workstation$ gcutil addinstance metadata-example \ --metadata=role:master --metadata_from_file=config:config.txt me@workstation$ gcutil ssh metadata-example [...snip...] me@metadata-example$ curl http://metadata/0.1/meta-data/attributes/role master me@metadata-example$ curl http://metadata/0.1/meta-data/attributes/config [...file content...]
me@workstation$ cat render-stuff.sh #! /bin/bash apt-get install -y contextfree cfdg -s 10000 /usr/share/doc/contextfree/examples/sierpinski.cfdg /tmp/out.png gsutil cp -a public-read /tmp/out.png gs://contextfree-examples/sierpinski.png me@workstation$ gcutil addinstance start-me-up \ --metadata_from_file=startup-script:setup-my-instance.sh \ --service_account_scopes=storage-rw me@workstation$ gcutil ssh sa-example [...snip...] me@sa-example$ tail -f /var/log/google.log