Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

one reason why the bittorrent layer could make better decisions on what to flush is because it always need to hash pieces that are downloaded. When blocks are downloaded out of order, it doesn't make sense to flush unhashed blocks before ones that the the hash cursor has already passed. If an unhashed block is flushed, it will have to be read back from disk again, when the piece complete, which is very expensive.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: