diff options
Diffstat (limited to 'content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md')
| -rw-r--r-- | content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md b/content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md index 65cc7b5..504e659 100644 --- a/content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md +++ b/content/posts/2018-01-16-using-digitalocean-spaces-object-storage-with-fuse.md | |||
| @@ -26,13 +26,13 @@ To make this work you will need DigitalOcean account. If you don't have one you | |||
| 26 | 26 | ||
| 27 | Instuctions on how to use SSH keys and how to setup them are available in article [How To Use SSH Keys with DigitalOcean Droplets](https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets). | 27 | Instuctions on how to use SSH keys and how to setup them are available in article [How To Use SSH Keys with DigitalOcean Droplets](https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets). |
| 28 | 28 | ||
| 29 |  | 29 |  |
| 30 | 30 | ||
| 31 | After we created Droplet it's time to create new Space. This is done by clicking on a button [Create](https://cloud.digitalocean.com/spaces/new) (right top corner) and selecting Spaces. Choose pronounceable ```Unique name``` because we will use it in examples below. You can either choose Private or Public, it doesn't matter in our case. And you can always change that in the future. | 31 | After we created Droplet it's time to create new Space. This is done by clicking on a button [Create](https://cloud.digitalocean.com/spaces/new) (right top corner) and selecting Spaces. Choose pronounceable ```Unique name``` because we will use it in examples below. You can either choose Private or Public, it doesn't matter in our case. And you can always change that in the future. |
| 32 | 32 | ||
| 33 | When you have created new Space we should [generate Access key](https://cloud.digitalocean.com/settings/api/tokens). This link will guide to the page when you can generate this key. After you create new one, please save provided Key and Secret because Secret will not be shown again. | 33 | When you have created new Space we should [generate Access key](https://cloud.digitalocean.com/settings/api/tokens). This link will guide to the page when you can generate this key. After you create new one, please save provided Key and Secret because Secret will not be shown again. |
| 34 | 34 | ||
| 35 |  | 35 |  |
| 36 | 36 | ||
| 37 | Now that we have new Space and Access key we should SSH into our machine. | 37 | Now that we have new Space and Access key we should SSH into our machine. |
| 38 | 38 | ||
| @@ -102,14 +102,14 @@ As I suspected, object size is not really that important. Sadly I don't have the | |||
| 102 | 102 | ||
| 103 | **Here are plotted results** | 103 | **Here are plotted results** |
| 104 | 104 | ||
| 105 | You can download [raw result here](/do-fuse/copy-benchmarks.tsv). Measurements are in seconds. | 105 | You can download [raw result here](/assets/do-fuse/copy-benchmarks.tsv). Measurements are in seconds. |
| 106 | 106 | ||
| 107 | <script src="//cdn.plot.ly/plotly-latest.min.js"></script> | 107 | <script src="//cdn.plot.ly/plotly-latest.min.js"></script> |
| 108 | <div id="copy-benchmarks"></div> | 108 | <div id="copy-benchmarks"></div> |
| 109 | <script> | 109 | <script> |
| 110 | (function(){ | 110 | (function(){ |
| 111 | var request = new XMLHttpRequest(); | 111 | var request = new XMLHttpRequest(); |
| 112 | request.open("GET", "/do-fuse/copy-benchmarks.tsv", true); | 112 | request.open("GET", "/assets/do-fuse/copy-benchmarks.tsv", true); |
| 113 | request.onload = function() { | 113 | request.onload = function() { |
| 114 | if (request.status >= 200 && request.status < 400) { | 114 | if (request.status >= 200 && request.status < 400) { |
| 115 | var payload = request.responseText.trim(); | 115 | var payload = request.responseText.trim(); |
| @@ -218,13 +218,13 @@ result_time = CLOSE = end_time - start_time | |||
| 218 | print("CLOSE: %g seconds" % (result_time)) | 218 | print("CLOSE: %g seconds" % (result_time)) |
| 219 | ``` | 219 | ``` |
| 220 | 220 | ||
| 221 | You can download [raw result here](/do-fuse/sqlite-benchmarks.tsv). And again, these results are done on a local block storage and do not represent capabilities of object storage. With my current approach and state of the test code these can not be done. I would need to make Python code much more robust and check locking etc. | 221 | You can download [raw result here](/assets/do-fuse/sqlite-benchmarks.tsv). And again, these results are done on a local block storage and do not represent capabilities of object storage. With my current approach and state of the test code these can not be done. I would need to make Python code much more robust and check locking etc. |
| 222 | 222 | ||
| 223 | <div id="sqlite-benchmarks"></div> | 223 | <div id="sqlite-benchmarks"></div> |
| 224 | <script> | 224 | <script> |
| 225 | (function(){ | 225 | (function(){ |
| 226 | var request = new XMLHttpRequest(); | 226 | var request = new XMLHttpRequest(); |
| 227 | request.open("GET", "/do-fuse/sqlite-benchmarks.tsv", true); | 227 | request.open("GET", "/assets/do-fuse/sqlite-benchmarks.tsv", true); |
| 228 | request.onload = function() { | 228 | request.onload = function() { |
| 229 | if (request.status >= 200 && request.status < 400) { | 229 | if (request.status >= 200 && request.status < 400) { |
| 230 | var payload = request.responseText.trim(); | 230 | var payload = request.responseText.trim(); |
