Maker_web 0.1.0: High-performance, zero-allocation HTTP server is here!

Three months of work after school, and finally - maker_web is out! It's a high-performance web server designed for microservices.

Please take a look at this project - any feedback is appreciated! :folded_hands: And please don't judge too harshly, I'm just 16 :blush:

Links:

Would love your stars and feedback! :star:

Note

I'm aware of the broken link to the support site on crates.io. I'll fix it in the next version.

1 Like

Hi! Can you show some benchmarks tests please? Like latency response measurements. Also, does it have any ddos protection? Thanks!

Sure! Here is the AB output :

Test environment: Windows 7, Intel i5-4200U (2-core, 1.6GHz base)

This is ApacheBench, Version 2.3 <$Revision: 1923142 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient)

Server Software:        
Server Hostname:        127.0.0.1
Server Port:            8080

Document Path:          /api/kz/user?name=Jons&ter=sda&sdf=sdf
Document Length:        3 bytes

Concurrency Level:      1000
Time taken for tests:   2.044 seconds
Complete requests:      100000
Failed requests:        0
Non-2xx responses:      100000
Keep-Alive requests:    100000
Total transferred:      8100000 bytes
Total body sent:        28200000
HTML transferred:       300000 bytes
Requests per second:    48933.18 [#/sec] (mean)
Time per request:       20.436 [ms] (mean)
Time per request:       0.020 [ms] (mean, across all concurrent requests)
Transfer rate:          3870.69 [Kbytes/sec] received
                        13475.74 kb/s sent
                        17346.43 kb/s total

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0      16
Processing:     0   20   8.7     16     109
Waiting:        0   20   8.7     16     109
Total:          0   20   8.7     16     109

Percentage of the requests served within a certain time (ms)
  50%     16
  66%     16
  75%     31
  80%     31
  90%     31
  95%     31
  98%     31
  99%     31
 100%    109 (longest request)

About DDoS protection: Yes - there are built-in limits on connections, requests, and responses. Invalid traffic is rejected proactively, and the zero-allocation architecture prevents resource exhaustion during an attack.

1 Like