Skip to content
This repository was archived by the owner on Apr 18, 2018. It is now read-only.
This repository was archived by the owner on Apr 18, 2018. It is now read-only.

sshelve Write Caching #9

@generalfault

Description

@generalfault

It seems that shelve caches writes until close or sync (this means huge performance.)

sshelve seems like it should be a drop-in replacement, but instead of caching (or having an option to do so) it does a "sync" (or commit) after every write or delete. It does seem to cache for reads, but that is only half the story.

I do know of the "update" method, but that means complete rewrite of the logic of the programs that use shelve.

I don't think it would be too difficult to implement the caching, and I'm willing to write it, but I guess the question is... is there a reason this was specifically left out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions