Giter VIP home page Giter VIP logo

yihoc / clouddisk-cs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 82457097/clouddisk-cs

0.0 0.0 0.0 13.28 MB

多进程+数据库连接池+Epoll+FastDFS。其主要工作流程是由父进程维护一个监听socket,然后当有接到连接请求时,通过管道通知子进程来与新的客户端建立连接,并且将其添加到子进程维护的epoll上。这样每个子进程相当于实际的工作进程,父进程只负责客户端连接请求的分发。然后每个字进程都通过边缘触发的方式来结收客户端的数据消息,并且通过公用的mysql连接池将文件信息进行存储,然后再通过fastDFS文件系统的traker服务器找到适合存储的存储节点,实现文件的分布式存储。

C++ 95.17% Makefile 3.73% Shell 0.46% Python 0.64%

clouddisk-cs's People

Contributors

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