完了

Caching of data in C code to a file

mike621$50 USDのためにこのプロジェクトを3日で完了しました

このようなプロジェクトの無料見積もりを取得
作業中の採用者
プロジェクト予算
$30 - $250 USD
完了にかかった期間
3 日
入札合計
6
プロジェクト情報

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.

以下の方によって完了済み:
必要なスキル

お金を稼ぎたいと思っていますか?

  • 予算と期限を設定してください
  • 提案のアウトラインを作成してください
  • 仕事の報酬を受け取りましょう

このプロジェクトにも入札したフリーランサーを採用する

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online