FastDFS V6.09Release, major improvement: Introduce web framework librarylibserverframereplace the originaltracker nioandstorage niotwo modules. 2015yearlibserverframefromFastDFSofniomodule extracted, nowFastDFSuselibserverframemakes the code more concise and efficient, and solves the long-standing onebug: The network thread receives the client request and transfers the file read and write to the diskIOAfter the thread, if the client disconnects during the disk thread processing, the corresponding network thread will be idling, resulting inCPUrun full.The workaround istaskObjects use reference counters, held separately by network threads and disk threadstaskObject (reference count plus one), which is released after each processing is completetaskobject (reference count minus one), when the reference count is zero, thetaskPut back the object pool.

V6.09Two other improvements:

1)tracker serverandstorage serverBoth support-Noption to indicate that the program runs in the foreground instead of the traditionaldaemonOperation mode to facilitate integration with other operation and maintenance tools;

2) The counters such as the number of file uploads and file downloads no longer use thread locks, but use atomic operations, which makes the code more concise and has higher performance.

FastDFS V6.09 relylibfastcommonandlibserverframeThese two basic libraries are welcome to download and use. It is recommended that existing users upgrade to the latest version as soon as possible.

#FastDFS #V609 #released #integrating #network #framework #libserverframe #News Fast Delivery

Leave a Comment

Your email address will not be published. Required fields are marked *