Menu

A new version PHPDCLib 2

NullWarez
2011-12-01
2013-04-16
  • NullWarez

    NullWarez - 2011-12-01

    Comming soon a new version of PHPDCLib.

    The library has undergone many changes:

    1. Since, PHP can not work in separate threads. Will run two processes are managed through sockets. If you write code in a control heavy flow, it will not cause "freezes" in the flow phpdclib. The biggest problem is the buffer management. Need to control the buffers, so they are not full, quickly cleared, and in case of an error caused an exception that can be processed.

    2. In the future the library will be rewritten using libevent. But now, lib works on a cycle and sleep.

    3. We are testing the file transfer. In php there is no normal algorithm TigerHash. I'll think about how to implement it. As soon as the library will work steadily, you can download a library.

     
  • NullWarez

    NullWarez - 2011-12-01

    I've tested, downloading a file of 11 GB, using the client StrongDC. StrongDC PHPDCLib and were running on localhost. Download Speed ​​in StrongDC was equal to 128 mb/s, which equals the speed of my RAID 0, 2 WD Green. Excellent results, the load on the processor does not exceed 5%

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.