Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try3 - Cache FDB #46

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Try3 - Cache FDB #46

wants to merge 9 commits into from

Conversation

ApusDT
Copy link

@ApusDT ApusDT commented Oct 14, 2021

No description provided.

@ohhmm
Copy link
Owner

ohhmm commented Oct 14, 2021

Thanks for contributing.

@@ -28,18 +30,18 @@ if(NOT WIN32)
set(DEPENDENCIES ${DEPENDENCIES} boost_thread boost_serialization boost_system)
endif()

lib(${DEPENDENCIES})
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this lib function declares new library project with dependencies enumerated in params (${DEPENDENCIES})

template < typename pageCache>

class Reference : public EvictablePageCache ::future<pageCache> {
using base = std::future<pageCache>;//creo que lo de abajo es lo mismo
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public:

@ohhmm
Copy link
Owner

ohhmm commented Nov 19, 2023

I'll extract caching functionality into new sibling sublibrary 'storage'.
FoundationDB-based caching level is needed for D-SKRYPT.
Cache, LevelDB-based layer and all other layers will implement ICacheLevel interface.

@ohhmm
Copy link
Owner

ohhmm commented Nov 25, 2023

Integrating storage component to simplify this.
Here is an example how it going to look like for LevelDB soon:
Once it ready, similar is for FoundationDB.

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