ipfs / ipfs/go-ds-s3

Question: does/could the datastore support multiple ipfs instances?

Open
#19 2 comments 0 reactions 0 assignees View on GitHub
kind/support
Dominant language
Go
Stars
273
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Hi there,

Would the datastore support concurrent access (ether rw or ro) to a given bucket? that is to say, can two distinct ipfs processes (be they on the same computer, or in containers, different VMs etc.) _share_ a bucket? In the js-ipfs implementation they apparently use an object within the bucket as a lockfile, but I've had a quick look at the code and don't really see why it would be the case here (tho I am no go programmer).

Any thoughts/guidance would be gratefully received!

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the go-ds-s3 datastore implementation and its S3 bucket access assumptions first. Determine whether concurrent read/write or read-only access by multiple IPFS processes is supported, and clarify the required locking behavior before defining any implementation work.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.