Comments (1)
- 首先nginx是很优秀的代理,具体用哪个看项目需求;这是一个纯go语言的ws代理库,可以集成到项目代码里进行定制化的功能开发;性能上这个库只在协议升级时进行http数据包的解析,升级完成后只进行tcp流量的透传,工作在4层,性能完全不用担心。
- 使用fasthttp意义不大,像上面描述的一样这个代理库只会在协议升级时进行http协议解析,剩余流程都是流量透传;fasthttp优秀在内存池、协程池、连接池的设计上。这些优秀的特性在这里都用不到,因为这个工作在4层,唯一的内存池优化技术库里面已经实现了。
如果现有的fasthttp项目想集成这个库,目前这个版本还不支持,如果有需要的话,我可以实现下
from websocketproxy.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websocketproxy.