初赛:
分两个版本,mainfirst.cpp得分2550w左右。互不侵犯版本score2700w左右
首先是标签分析
mainfirst.cpp写入分布,两个认真副本,每个磁盘维护各自的大小标签,读取则读取最近的请求,同时将即将超时的请求抛弃
前期
后期
score2700w.cpp,单副本读取,实现二三副本与第一个副本互不侵犯,中间有明显界限
复赛:优化了内存碎片,在后期让磁盘写入从当前读的磁头开始寻找空闲块,两个磁头各自分工各自的标签
-
Notifications
You must be signed in to change notification settings - Fork 0
FZUxxx/Object-Storage-Algorithm
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published