Project

General

Profile

Bug #2449

Updated by Tom Clegg about 10 years ago

See current spec at [[arvados:Keep server]] 

 Goals for this sprint: 
 * Read and write using existing filesystem structure 
 * Enforce "one read/write operation per mount point" restriction (with command line flag to disable, for AWS. @--no-io-lock@?) 
 * Command line argument (@--port@?) specifies port to listen on. Fail if none given. 
 * Command line arguments (@--ssl-key@ and @--ssl-cert@?) enable https mode. Otherwise, plain http. 
 * Command line arguments (positional?) specify mount points ("run" script can be in charge of mount|grep etc) 
 * Test suite (use a tmpfs?) 

 Also, hopefully, index and status handlers: 
 * @GET /index.txt@ &rarr; one line per block stored on disk: @hash+size <space> modtime_unix_timestamp@ 
 * @GET /status.json@ &rarr; a json document something like this 

 <pre><code class="javascript"> 
 { 
  "stores":[ 
   {"mount_point":"/data/disk0","bytes_free":4882337792,"bytes_used":5149708288}, 
   {"mount_point":"/data/disk1","bytes_free":39614472192,"bytes_used":3314229248} 
  ] 
 } 
 </code></pre> 

Back