-
Notifications
You must be signed in to change notification settings - Fork 323
Description
2022 Alibaba Summer of Code
Welcome to the open source world! If you haven't planned how to spend this summer, come to the Alibaba Summer of Code and code with us! 💻
Alibaba Summer of Code is a global program focused on engaging students directly in open source software development. Under the guidance of the mentor in the Alibaba open source project, students can experience software development in the real world. Alibaba Summer of code will begin from May 30th to September 1st. Students can use the summertime to participate in the open source project and work with the core members of the project.
What you can get?
On this exclusive developer journey, students will have the opportunity to:
- Participate in the top projects of the International Open Source Foundation;
- Get a scholarship from Alibaba;
- Obtain an open source contributor certificate;
- Get a fast pass of Alibaba Internship
- Get your code adopted and used by the open source project!
Timeline
Our Mentor
@RongtongJin [email protected] @tsunghanjacktsai [email protected]
Subject
Snapshot is a very important feature for raft protocol. For example, it can greatly shorten the recovery time and delete useless logs in time. Currently, DLedger has not implemented this feature.
@hzh0425 has implemented statemachine feature and the snapshot interface is left.
dledger/src/main/java/io/openmessaging/storage/dledger/statemachine/StateMachine.java
Lines 37 to 52 in 4293093
/** | |
* User defined snapshot generate function, this method will block StateMachine#onApply(Iterator). | |
* Call done.run(status) when snapshot finished. | |
* | |
* @param writer snapshot writer | |
* @param done callback | |
*/ | |
void onSnapshotSave(final SnapshotWriter writer, final CompletableFuture<Boolean> done); | |
/** | |
* User defined snapshot load function. | |
* | |
* @param reader snapshot reader | |
* @return true on success | |
*/ | |
boolean onSnapshotLoad(final SnapshotReader reader); |
Welcome to implement snapshot feature for dledger on this basis and improve the log deletion strategy in state machine mode
difficulty
Advanced (10000 Yuan)
Apply Now
Upload your CV and project proposal via ASOC 2022 official website:
https://opensource.alibaba.com/asoc2022
If you have any questions, visit the event website:https://opensource.alibaba.com/asoc2022
Email address: [email protected]