GSoC 2022 Series - 4
系列导航
开个坑,关于将互斥锁改为共享锁这一部分后面再写,这里先放一下结项的 final report
GSoC final report
- project: Introduce WebSockets into rTorrent
- Organization: CCExtractor Development
- Contributor: Dongyang Zheng
- mentor: jesec
Introduction
This GSoC project will replace the antique SCGI protocol in rTorrent with Websocket, which will allows real-time events, less serialization/transfer overheads, better security, etc. There isn’t a modern c++ websockets library that supports unix domain socket, we will add this important feature into uWebsockets. And we also replace the global mutex in libtorrent with shared_mutex to improve concurrency.
What was done
- introduce websocket into rTorrent and implement “server push”, that is, client can subscribe some specific topics, once the event occurs,server will push the notification to client automatically
- add unix domain socket support for uWebSockets, now websocket can listen on unix domain socket, with better security.
- replace global mutex in libtorrent with shared_mutex
Link to work
- qualification task before get selected
- unix domain socket support for uWebsocket
- replace mutex with shared_mutex in libtorrent
- project code repo
- code commits
- related blogs (records of the development process)
Acknowledgements
Not only technical things I have learned but also the ability to think and tackle problems. Mentor jesec is very great, he gave me a lot of guidance and inspiration in the process of completing the project, work with jesec is wonderful, thanks jesec for help. Thanks Google and GSoC program and CCExtractor Development community provided such a good activity.
本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!