|
Project Information
Members
|
English1.Very high performance FTP Server about 10X than vsFTP server Deutsch1.sehr hohe Leistung zu 10X als vsftp Server More Info: @wuqunfei in weibo.com of Sina 高性能的Ftp服务器,使用Python的环境,改进了pyftpdlib源码 Notice,it's just for linux System only. 1.Python 2.6<= verison <= 2.7because this server need multiprocess supported and pyfpdlib supported More in detail 2.Install$unzip pyftpdlib-0.6.0-By-Fei $cd pyftpdlib-0.6.0-By-Fei $python setup.py install $cd .. $vim FEITP-SERVER.py modify your user & pwd & server address & port & 目录 & 权限 $vim 修改 线程数量,建议CPU数量的两倍 NUMBER_OF_PROCESSES = multiprocessing.cpu_count() $python FEITP-SERVER.py running your ftp server now
3.RunYou need config your FTP ,PORT,USER,PWD,DIR in FEITP-SERVER $python FEITP-SERVER.py 4.DIY your logicIf you overwrite YourHandler Class, there are a lot of your logic you can do 5.Hope could you like itLink: wu.qunfei@gmail.com 6.Thinking in FTP degsinThe server was designed for a lot of clients sent file to server at same time. The code job is 3 things: First lib is pyftpdlib which is a high-level portable interface to easily write asynchronous FTP servers. Some params need to config 2.In Process 4.In FTP tcp_no_delay = True 1900 TPS for 50 Client together,No failed,Response at 0.005~0.0035 ms. Test Much better than VSFTP server,VSFTP(JUST 268TPS) |