В роботі

Caching of data in C code to a file

I need to implement caching into my existing C code. It currently downloads blocks of bytes from internet (variable size blocks), and I need it to cache these blocks in a file, so if subsequent request is called for the same bytes block, it will first try to get it from a cached file on disk, and only if that is not in the cache yet, it downloads the data from network and then stores it in cache for future.

You should modify the C code to accept commandline arguments, provided by the user, which will specify file path/name where to save the cache on disk, and an index file path/name where to store index for the cache if needed. Furthermore a commandline parameter has to be added to allow the user to limit maximum cache size. If cache size reaches its maximum, oldest blocks in the cache will be overwritten by newest blocks.

The C code is based on httpfs2 opensource software, and it will be compiled in Linux using gcc and compilation must produce no warnings and no errors.

Навички: Програмування на С

Показати більше: data table save file, code extract data excel file row, save pdf file code, code form data excel file, source code merge data text file, write macro code export data excel txt file, pseudo code extracting data file, php code export data mysql ms word file, perl code fetch data file, vb6 data file code, rapidshare file code download software, php code store data file, java code read data text file parse, php code display data web page, reverse engineering exe file code, read file find average data, write code transfer data sql server excel

Про роботодавця:
( 70 відгуки(-ів) ) Sumperk, Czech Republic

ID проекту: #11781321

2 фрілансерів(-и) у середньому готові виконати цю роботу за $107


Have already done similar work. !! :-) Quite familiar with this task. ________________________________________________________

$78 USD за 2 дні(-в)
(1 відгук)

I can do [url removed, login to view] u need?

$136 USD за 4 дні(-в)
(0 відгуків(-и))