Giter Site home page Giter Site logo

cloudxtreme / ydfs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tedcy/ydfs

0.0 1.0 0.0 168 KB

ydfs is an open source mini distributed file system. It's major functions include: file storing, file syncing, and design for high capacity and load balance.

Makefile 3.45% C 96.22% C++ 0.33%

ydfs's Introduction

ydfs

ydfs is an open source mini distributed file system. It's major functions include: file storing, file syncing, and design for high capacity and load balance.

ydfs is designed for c10k problem,When connected 10000 clients,it runs well.

I test with Centos 6.3 on my laptop:

Thinkpad X230

Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz 2 cores

4G RAM

when run 1 tracker,2 storage,10000 client on one computer,every client upload 10 files in the same time

this is the result:

group_name-0

storage_id-0--------ip-127.0.0.1:9000--------size-11426400000--------upload_size-5282424720

count_stamp:NULL--------00000C1d--------NULL---------------status:ONLINE

storage_id-1--------ip-127.0.0.1:9001--------size-11426400000--------upload_size-6143975280

count_stamp:00000DzF--------NULL--------NULL---------------status:ONLINE

group_size 22852800000--------group_upload_size 11426400000

upload_size---- 11426400000--------upload_sec---- 335--------upload_speed----- 32.528358M/s

download_size 11426400000--------download_sec 536--------download_speed- 20.330223M/s

NOTE:

(1)When uploading,sync will catch some speed.In my computer,when uploading finished,the group_size is 1.5 times of the group_upload_size.When you test without syncing,It will be faster than it.

(2)Download_speed is slower than upload_speed,because when uploading,os will cache the file you want upload,the computer just need to do something write to disk. But when downloading,the computer not only reading from disk,but also writing to disk,so

it is slower than upload.

wait for more test results

ydfs's People

Contributors

tedcy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.