Caching of data in C code to a file

预算 $30 - $250 USD
竞标 6
平均竞标 $147
状态 关闭

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.




Excellent work, mike621 is very professional developer, provides very useful advice and is brilliant in suggesting clever solutions.
mike621 Profile Picture

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.


  • 设置您的预算和时间范围
  • 简述您的提案
  • 通过工作获取报酬


  • cheapgetcode Profile Picture


    mohali,  India

    SCRUM, Php (Core Php, Symfony, Zend 2, Laravel, Codeigniter, Yii, Magento, Wordpress, Drupal, Joomla), Django-Python, Ruby on Rails, iOS, Android & UI/UX designing. Due to this I prefer fixed price jobs only. Highly skilled in Front-end development using CSS (SCSS/SASS), JavaScript, JavaScript libraries (, AngularJS, , , , , , Meteor), Jquery, Twitter Bootstrap & Html5. Extensive experience with both relational & non-relational databases like MySQL, MongoDB, PostgreSQL, NoSQL, MSSQL, SQLite. Mobile application development experience includes iOS development, iPad app development, Xcode, Objective-C, Swift, Android, Java, Xamarin, Phonegap & SQLite. Successful work experience includes 200+ projects, Real-time communication & VoIP portals (using XMPP, SDP protocols and WebRTC, WebSocket), .

  • aniljindal1983 Profile Picture


    ghaziabad,  India

    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.)

  • moonpower626 Profile Picture


    dandong,  China

    Hello, everybody! I am a new freelancer but I am a powerful IT expert with over 8 years experience. I will work for you and for my success. I am specialized in 1) desktop applications(c/c++, java/javafx, c#/.net, objective-c, python, ....), 2) web pages(html, javascript, php, , angular-js, jsp, jquery, boostrap, ext-js, ), 3) mobile applications(native, phonegap) and games with cocos2d, cocos2dx and unity, 4) assembling, analysing and extracting data, .... 5) OCR(Desktop, Android, iOS), DriverLicenseCard Recognition with 100% accuracy, CarNumberRecognition, Surveillance System, BarcodeReader(1d, 2d, pdf417...) 6) Database(mysql, sqlite, MS-SQL, Access, Oracle,...), I will be happy to work with you. I hope long time relationship with you and i will try my best for our success. I also have many great programmers, so you will get best result. thanks!

  • mike621 Profile Picture


    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.

  • rohittiwari00 Profile Picture



    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

  • yamaf555 Profile Picture


    DONGGANG,  China

    You are my alter ego forever! - Yamaf I am an iOS, android and web developer with a Bachelor of Science in Information Technology from Tsinghua University and 5 years of software development experience. I am experienced in web development with site building technologies using wordpress and codeigniter framework, and I have the ios and android app development technologies perfectly. I have a working experience with MVC. I have also designed and developed web user controls, master pages, validation controls, CSS files using technologies like AJAX Toolkit, jQuery, JavaScript, XML HTML and DHTML. Additionally, I have written a lot of project for android and iOS app. When working on a new project, I like to speak with my clients so that I can have a clear understanding of their needs and vision of the project. Thank you in advance for your time and consideration. I look forward to working with you soon.