Guest User

Untitled

a guest
Sep 22nd, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. ### Design
  2. - [ ] Testing: unit tests/integration tests (? what does it even mean in this case)/performance tests
  3. - [ ] Implement standard java...File interfaces/create separate interfaces?
  4. - [ ] Don't allocate cluster for empty files
  5. - [ ] `iNodes` vs `array` vs `B-Tree`
  6. - [ ] Resource locking (`RWLocks` on segments)
  7. - [ ] Resource release in case of h/w failures e.g. power outage
  8. - [ ] File corruption
  9. - [ ] External file modification. Prevention and detection
  10. - [ ] Fragmentation
  11. - [ ] File sizes (does it matter?)
  12. - [ ] Performance of concurrent writes. Can threads write to separate segments of a file concurrently?
  13. - [ ] Delaying of operations
  14. - [ ] What to choose in java? `RandomAccessFile` or smth more fancy
  15. - [ ] Really atomic writes for metadata/userdata
  16. - [ ] Retries on timeouts or temporary disk failures
  17. - [ ] Dynamic resize/reallocation vs constant size vs expensive (?) static resize operation
  18. - [ ] Possible consequences of underlying outage while reading ?
  19. - [ ] Error handling: fancy exceptions
  20. - [ ] What to include in metadata?
  21. - [ ] Modification events? Callbacks/actors? How to notify without executing?
  22. - [ ] Decide on supported operations:
  23. * Create
  24. * Read
  25. * Write
  26. * Delete
  27. * Move
  28. * Copy
  29. * Rename
  30. * List
  31. * Find
  32. * Permissions
  33. * Set
  34. * Modify
  35. * Check
  36. - [ ] Checks for integrity/format correctness on initialization with existing FS
  37. - [ ] Wait for writes on shutdown or just disable?
  38. - [ ] Fair/unfair waiting on locks for data blocks?
  39. - [ ] How to react on simultaneous writes to the same block? Allow to write to the same block or say it has to be open?
  40. - [ ] Storage spec versioning?
Add Comment
Please, Sign In to add comment