You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.1 KiB

3 years ago
  1. ##arangodb
  2. database: https://github.com/arangodb/arangodb
  3. go driver: https://github.com/arangodb/go-driver
  4. options:
  5. ```
  6. [arangodb]
  7. enabled=true
  8. db_name="seaweedfs"
  9. servers=["http://localhost:8529"]
  10. user="root"
  11. pass="test"
  12. # whether to enable fulltext index
  13. # this allows for directory prefix query
  14. fulltext=true
  15. # tls settings
  16. insecure_skip_verify=true
  17. ```
  18. supports buckets with an extra field in document.
  19. omitempty means extra space is not used.
  20. i test with
  21. `docker run -p 8529:8529 -e ARANGO_ROOT_PASSWORD=test arangodb/arangodb:3.9.0`
  22. ## todo
  23. implement native TTL
  24. ## thoughts
  25. should there be one collection per bucket? would make deleting a bucket instant as compared to fast
  26. ## comparison
  27. arangodb uses rocksdb in the background, so i am assuming things run in log time
  28. i am not sure how the prefix query scales compared to the recursive calls that some other stores do for folder deletion
  29. might need to change that.
  30. ok, so if https://www.arangodb.com/docs/stable/indexing-index-basics.html#persistent-index is correct
  31. it should be log time to the number of files in the directory
  32. and constant time if you have full directory + file