Skip to content
This repository was archived by the owner on Aug 9, 2021. It is now read-only.
This repository was archived by the owner on Aug 9, 2021. It is now read-only.

Research and test implications of using a single IPFS datastore and orbitdb-cache #280

@msterle

Description

@msterle

Document answers to the following questions (with reproducible tests where suitable):

ipfs:

  • What purpose do locks serve for ipfs repos?
  • Why is it considered safe to not use locks on S3 ipfs repos, as appears to be shown by https://github.com/ipfs/js-datastore-s3/blob/master/src/s3-repo.js ?
  • Is it "safe" to ignore locks on other datastore types?
  • Are there conditions that should be met for not using locks, and if so, what are they? Do we currently satisfy these conditions, and will we continue to do so?
  • If it is safe, are there other disadvantage to have a single datastore? What is the motivation behind the ipfs-cluster project in this case?

orbitdb:

  • Under what conditions will an in-memory cache fail? (elasticache/redis)
  • Can concurrency issues arise from a shared orbitdb cache, and if so, under what conditions?
  • How can these issues be mitigated?

links:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions