Skip to content

Save quick cache to disk #79

@joanbalaguero

Description

@joanbalaguero

Hi Arthur,

Here trying to serialize to disk a quick cache (that can hold up to 64GB of data) to disk.

My first approach was having an iterator over the non expired entries and just save them to disk, this is quite slow.

So, as a creator of this crate, I was wondering if you could advise me about any other way to do this, maybe starting several threads and reading, at the same time, different parts of the cache.

Not sure, I'm relatively new to rust, if you can have an idea about the best way to do this serialization then fantastic, otherwise I will continue trying other ways.

Thanks!

Joan.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions