Comments (1)
Yes, the point of checkpointing is to be able to recover FASTER after a process failure/crash.
The Checkpoint call returns a Guid
that the user is responsible for persisting, e.g., in a local file or database. During recovery, you read the Guid
and use it as the parameter to Recover. This allows the reader to create multiple checkpoints and choose which one to recover to. One may also take separate checkpoints of the index and hybrid log, and combine these checkpoints to control recovery time.
If multiple threads were interacting with FASTER, each thread should persist its session ID (obtained during StartSession). During recovery, each thread registers with FASTER using its session ID, using ContinueSession. This call will return the operation sequence number from which the thread should continue feeding input operations after recovery.
You can take a look at the SumStore example for more details. This example allows you to recover after a crash. Adding @gunaprsd as well (feel free to chime in with more details or corrections).
from faster.
Related Issues (20)
- in memory concurrent support dictionary HOT 2
- JVM language support HOT 1
- ShardedStorageDevice and related classes/interfaces HOT 1
- using fasterkv with string key and string value produces byte[] of humongous size in heap memory HOT 5
- Can FASTER replace Redis? Is there a caching mechanism similar to Redis RDP? HOT 1
- When upsert ArgumentOutOfRangeException HOT 6
- Log tail iteration does not end when log completed HOT 2
- Implement atomic GetOrAdd/AddOrUpdate equivalency from ConcurrentDictionary<> HOT 1
- Failure to resume previous session on restart
- Is it safe to reuse buffers between Upsert calls? HOT 1
- Is it ok to create and use many KV sessions and never dispose them? HOT 1
- FasterKV: Is there a way to wait for flush globally including all pending operations? HOT 1
- Reduce memory usage for FasterKV HOT 2
- Full checkpoint deletes only one log file HOT 4
- After dispose and restore obj.log is growing always
- Deserializing page content despite errorCode != 0?
- Checkpoints get deleted on recovery HOT 1
- Immutable records with mangled keys returned during key iteration HOT 10
- Is there a CPP client available? HOT 1
- store.TakeFullCheckpointAsync(CheckpointType.FoldOver) stucks forever HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faster.