Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
c1f5bb19
Commit
c1f5bb19
authored
Oct 21, 2018
by
Kirill Smelkov
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X notes on why lazy-invalidate approach was taken
parent
d36b171f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
wcfs/wcfs.go
wcfs/wcfs.go
+7
-0
No files found.
wcfs/wcfs.go
View file @
c1f5bb19
...
@@ -343,6 +343,13 @@ package main
...
@@ -343,6 +343,13 @@ package main
// XXX zconn(s) for historical state
// XXX zconn(s) for historical state
// XXX serving read from @<rev>/data
// XXX serving read from @<rev>/data
//
//
// XXX(integrate place=?) emitting whole δR right at transaction-boundary time
// requires to keep whole blktab index in tree. Even though from space point of
// view it is somewhat acceptable (~ 0.01% of whole-file data size, i.e. ~
// 128MB of index for ~ 1TB of data), it is not good from time overhead point
// of view - initial open of a file this way would be potentially very slow.
// -> we took the approach where we invalidate lazily only actual block access.
//
// XXX(integrate place=?) ZData - ne need to keep track -> ZBlk1 is always
// XXX(integrate place=?) ZData - ne need to keep track -> ZBlk1 is always
// marked as changed on blk data change.
// marked as changed on blk data change.
//
//
...
...
Kirill Smelkov
@kirr
mentioned in commit
6f0cdaff
·
Oct 28, 2021
mentioned in commit
6f0cdaff
mentioned in commit 6f0cdaff23d4f8c3384b74b02d669c7fcfc2d821
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment