Skip to content

Try3 - Cache FDB#46

Open
ApusDT wants to merge 9 commits into
ohhmm:mainfrom
ApusDT:main
Open

Try3 - Cache FDB#46
ApusDT wants to merge 9 commits into
ohhmm:mainfrom
ApusDT:main

Conversation

@ApusDT

@ApusDT ApusDT commented Oct 14, 2021

Copy link
Copy Markdown

No description provided.

@ohhmm

ohhmm commented Oct 14, 2021

Copy link
Copy Markdown
Owner

Thanks for contributing.

Comment thread omnn/math/CMakeLists.txt
set(DEPENDENCIES ${DEPENDENCIES} boost_thread boost_serialization boost_system)
endif()

lib(${DEPENDENCIES})

Copy link
Copy Markdown
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})

Comment thread omnn/math/CacheFDBtry3.h
template < typename pageCache>

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

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

public:

@ohhmm

ohhmm commented Nov 19, 2023

Copy link
Copy Markdown
Owner

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

ohhmm commented Nov 25, 2023

Copy link
Copy Markdown
Owner

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