FS Server
pip3 install fs-server
Usage
See example config.json for quick setup.
usage: fs-server [-h] [-c CONFIG] [--host HOST] [--port PORT]
[--backlog BACKLOG]
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
file path of config in json format
--host HOST listen host
--port PORT listen port
--backlog BACKLOG the number of unaccepted connections that the system
will allow before refusing new connections
Benchmark
$ ll dist/fs_server-0.1.0-py3-none-any.whl
-rw-r--r-- 1 garden staff 4.0K Apr 10 15:31 dist/fs_server-0.1.0-py3-none-any.whl
$ ab -n 10000 -c 100 http://127.0.0.1:8080/public/fs_server-0.1.0-py3-none-any.whl
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /public/fs_server-0.1.0-py3-none-any.whl
Document Length: 4200 bytes
Concurrency Level: 100
Time taken for tests: 17.055 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 42960000 bytes
HTML transferred: 42000000 bytes
Requests per second: 586.33 [#/sec] (mean)
Time per request: 170.554 [ms] (mean)
Time per request: 1.706 [ms] (mean, across all concurrent requests)
Transfer rate: 2459.82 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.5 0 114
Processing: 5 170 80.3 139 588
Waiting: 2 170 80.2 139 587
Total: 9 170 80.5 139 588
Percentage of the requests served within a certain time (ms)
50% 139
66% 170
75% 190
80% 202
90% 269
95% 344
98% 455
99% 502
100% 588 (longest request)
$ ll TCoDEVONthink3-1.1.pdf
-rw-rw-rw-@ 1 garden staff 5.9M Apr 3 13:47 TCoDEVONthink3-1.1.pdf
$ ab -n 10000 -c 100 http://127.0.0.1:8080/TCoDEVONthink3-1.1.pdf
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /TCoDEVONthink3-1.1.pdf
Document Length: 572764 bytes
Concurrency Level: 100
Time taken for tests: 14.189 seconds
Complete requests: 10000
Failed requests: 9999
(Connect: 0, Receive: 0, Length: 9999, Exceptions: 0)
Total transferred: 6551813419 bytes
HTML transferred: 6550913419 bytes
Requests per second: 704.75 [#/sec] (mean)
Time per request: 141.895 [ms] (mean)
Time per request: 1.419 [ms] (mean, across all concurrent requests)
Transfer rate: 450916.05 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 4.6 0 458
Processing: 10 141 48.5 130 592
Waiting: 1 140 46.8 130 580
Total: 15 141 48.5 131 592
Percentage of the requests served within a certain time (ms)
50% 131
66% 136
75% 143
80% 147
90% 163
95% 185
98% 259
99% 482
100% 592 (longest request)
Metadata
Release files for fs-server 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fs_server-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / fs_server-0.1.3-py3-none-any.whl
| Download URL | fs_server-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65dd3cf10453af5fabe94b4ced4447262a2fde6d18c8e41519556ec4477d12fb
|
|
BLAKE2b-256 checksum How to use checksums |
8af32cb50dcacf1bd5e96bcfd6787c106dd1f06413f32b5fd6c80c407a5ff93f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.4.2 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.16
|
Security for fs-server 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.