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.0 KiB

3 years ago
3 years ago
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. #basic auth
  11. user="root"
  12. pass="test"
  13. # tls settings
  14. insecure_skip_verify=true
  15. ```
  16. i test using this dev database:
  17. `docker run -p 8529:8529 -e ARANGO_ROOT_PASSWORD=test arangodb/arangodb:3.9.0`
  18. ## features i don't personally need but are missing
  19. [ ] provide tls cert to arango
  20. [ ] authentication that is not basic auth
  21. [ ] synchronise endpoint interval config
  22. [ ] automatic creation of custom index
  23. [ ] configure default arangodb collection sharding rules
  24. [ ] configure default arangodb collection replication rules
  25. ## complexity
  26. ok, so if https://www.arangodb.com/docs/stable/indexing-index-basics.html#persistent-index is correct
  27. O(1)
  28. - InsertEntry
  29. - UpdateEntry
  30. - FindEntry
  31. - DeleteEntry
  32. - KvPut
  33. - KvGet
  34. - KvDelete
  35. O(log(BUCKET_SIZE))
  36. - DeleteFolderChildren
  37. O(log(DIRECTORY_SIZE))
  38. - ListDirectoryEntries
  39. - ListDirectoryPrefixedEntries