W Toku

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.

Umiejętności: Programowanie C

Zobacz więcej: data table save file, save pdf file code, vb6 data file code

O pracodawcy:
( 66 ocen ) Sumperk, Czech Republic

Numer ID Projektu: #11781321

Przyznane użytkownikowi:

mike621

freelacer requres to put here at least 100 characters. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean sit amet aliquam arcu. Mauris vehicula metus nisi, ut mollis nulla pulvinar sit amet. Maecenas a c Więcej

$50 USD w ciągu 3 dni
(1 Ocena)
1.0

4 freelancerów złożyło ofertę na średnią kwotę w wysokości $119 do tego projektu.

$155 USD w ciągu 3 dni
(8 Ocen)
2.9
moonpower626

hi sir thanks for creating job i am Linux expert and have full experience of gcc my working is perfect(on time, correct) please contact me best regards

$250 USD w ciągu 3 dni
(4 Ocen)
3.7
rohittiwari00

Hi sir/ madam SUPERSOFT IT SOLUTIONS PVT.LTD Off add: C-54 sector -2 Noida near Wipro Technology ,201301 Website:www.supersoftitsolutions.com short Project Description:- Caching of data in C code to a fil Więcej

$211 USD w ciągu 3 dni
(0 Ocen)
0.0
aniljindal1983

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

$78 USD w ciągu 2 dni
(1 Ocena)
0.0
cheapgetcode

I can do it.When u need?

$136 USD w ciągu 4 dni
(0 Ocen)
0.0