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.
Este proyecto fue adjudicado a
Excellent work, mike621 is very professional developer, provides very useful advice and is brilliant in suggesting clever solutions.
¿Buscas ganar algo de dinero?
- Establece tu presupuesto y el plazo
- Describe tu propuesta
- Recibe dinero por tu trabajo
Ofertas en este proyecto
10 years of experience in C/C++, UNIX, PL/SQL and SNMP Primary Technical Skills: C, C++, UNIX Shell scripting, Sybase, Oracle, TCP, UDP, SNMP, XML Unix Programming (Network programming, IPC, multithreading etc.)
Nsk, Russian Federation
Over 15 years of experience in software design. Has a sound knowledge of the software development life cycle. Willing to join projects that will allow to apply and master all the range of my skills and experience.
we are group of website and app developing we work with our experienced developer which have more than 5 years of experienced in web.\app developing and designing. our skills are:- - PHP - HTML - HTML5 - CSS - CSS3 - graphics design - Joomla - wordpress - prestashop - opencart - magento - seo -JSON -Jquery we valued your time and money during complete tenure on your project . THANKS