Comments (8)
from hfs2.
if you are concerned about that "busy" message, it will appear after just 1 request from the same IP, because you are requesting folders (not files) and that's by design with 2.4.
HFS is not a high-performance server but if you are interested in benchmarks you can try requesting a file.
Cosnider that if you generate more log like i see in your screenshot you will also use more cpu.
from hfs2.
I use ab -n 20000 -c 64 http://1.coco56.top/robots.txt
in Ununtu to request robots.txt
file.
But HFS use a lot of ports, I think one port is enough. Too many ports also make it impossible to handle a large number of requests.
from hfs2.
The port changes every time I make a request.
from hfs2.
You misunderstood what that specific port is: it is the client's port.
This is how TCP works, and it is true for every TCP server, even if most programs won't show you, because you normally don't need to know.
The server port is only one, and HFS is not even able at the moment to have more than one.
from hfs2.
When HFS sends 409, what's the time of Retry-After ? And why the client sends a large number of requests consecutively in a very short period of time ?
from hfs2.
When HFS sends 409, what's the time of Retry-After ? And why the client sends a large number of requests consecutively in a very short period of time ?
静态文件,用Nginx更牛B。打算做文件床的话,用Nginx,Apache Http都行啊,非得来折腾这个
from hfs2.
The time communicated is random in the range 1-3 seconds.
The http header used is not retry-after but "refresh", but I guess retry-after could even be better, and we may have both just to be sure that more clients will understand. Thanks for pointing it out.
About the "why the client..." question, you should probably ask to whoever made the client, i have no idea.
from hfs2.
Related Issues (20)
- Duplicated file upload HOT 1
- HFS.Libraries is not found. HOT 4
- 2.4rc7 can't login in if set password.
- Sometimes the service does not respond. HOT 3
- could add a wiki for how the struct of vfs file works? HOT 9
- High concurrency HOT 2
- On the next generation network protocol HOT 1
- How to setup browsable to users only and file downlodable to everyone? HOT 3
- how to setup domain? HOT 9
- Bug# - When I use cloudflare proxy, user can't login HOT 2
- BUG [v2.4-rc07]: Trying to archive 1 or more items into a TAR file fails.
- Is Uploading files completely gone from this version? HOT 1
- 在同一个文件夹,但还是无法翻译为什么呀 HOT 1
- [Question] Indexing of VFS content ? HOT 8
- Bug/Feature request ? - The search shows results from folders with restricted access to users who are not part of who can access those folders HOT 1
- ♻️ scriptLib.pas - macrosLog, | Suggestions for Improvements and Optimization HOT 1
- Anyone compiled it on Free Pascal? HOT 2
- HFS2 triggering a lot of false positives on VirusTotal HOT 8
- HFS 2 Deleted itself? HOT 11
- HFS 2.3.m Hack - Remote Command Execution HOT 7
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 hfs2.