Skip to content

in memory lock - #1464

Closed
bourgeoa wants to merge 1 commit into
nodeSolidServer:masterfrom
bourgeoa:master
Closed

bourgeoa wants to merge 1 commit into
nodeSolidServer:masterfrom
bourgeoa:master

Conversation

@bourgeoa

Copy link
Copy Markdown
Member

This is first part of issue #1460 replacing file locking by in memory locking.

Can reviewers give hints on what is expected for the rest.
I was thinking of having a dual in memory lock for Read and Write (googling 2 semaphore ?) :
options.mustExist = false for Write so I propose :

  • when Read to have in memory cache ( shall we check for a size limit) @timbl is it what you expected
  • when Write the actual solution will do

@RubenVerborgh

Copy link
Copy Markdown
Contributor

Proposing #1475 instead, as it relies on an existing, well-tested locking mechanism.

@bourgeoa bourgeoa closed this Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants