Sopel97 / chess_pos_db

Database software for chess position statistics. Designed to provide high performance and handle billions of games.
MIT License
3 stars 3 forks source link

Rewrite file handling #22

Open Sopel97 opened 4 years ago

Sopel97 commented 4 years ago

Currently there are some issues with file handling.

We want to base the file pool on a static resource pool that's reused by all pooled file types. The resource pool should not be coupled with files and only provide a way to execute a function with a pooled resource. This is because we want to add compressed files. Compressed files also require specifying open/reopen truncate/reserve semantics because they alter the file on close.