ideawu / c1000k Goto Github PK
View Code? Open in Web Editor NEWA tool to test if your OS supports 1 million connections(c1000k/c1m)
A tool to test if your OS supports 1 million connections(c1000k/c1m)
Hi,从代码中看,单个客户端貌似提供不了百万级的量,client得部署多个吧
Command:
./server 7000
./client 127.0.0.1 7000
When running to a certain time
error message:
....
connections: 129999, fd: 130001
connections: 130573
error: Connection timed out
gcc -O2 -o server server.c
server.c: In function ‘main’:
server.c:37: error: ‘for’ loop initial declarations are only allowed in C99 mode
server.c:37: note: use option -std=c99 or -std=gnu99 to compile your code
server.c:66: error: ‘for’ loop initial declarations are only allowed in C99 mode
server.c:85: error: redefinition of ‘i’
server.c:66: note: previous definition of ‘i’ was here
server.c:85: error: ‘for’ loop initial declarations are only allowed in C99 mode
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.