► |  | Web Server: HTTP Server

1 | Dispatching Server
2 | Dispatchers
3 | Launching Servers
4 | Web Servers
5 | Internal APIs
6 | Troubleshooting and Tips
| Index

▼ | 2 | Dispatchers

2.1 | General
2.2 | Mapping URLs to Paths
2.3 | Sequencing
2.4 | Timeouts
2.5 | Lifting Procedures
2.6 | Filtering Requests by URL
2.7 | Filtering Requests by Method
2.8 | Procedure Invocation upon Request
2.9 | Logging
2.10 | Password Protection
2.11 | Virtual Hosts
2.12 | Serving Files
2.13 | Serving Servlets
2.14 | Statistics
2.15 | Limiting Requests

On this page:

make-gc-thread
make

top ← prev up next →

#### 2.14`` Statistics

(require web-server/dispatchers/dispatch-stat)
| package: web-server-lib

The web-server/dispatchers/dispatch-stat module provides services related to performance statistics.

> > procedure

> > (make-gc-thread time) → thread?

> time : integer?

Starts a thread that calls (collect-garbage) every time seconds.

> > procedure

> > (make) → dispatcher/c

Returns a dispatcher that prints memory usage on every request.
top ← prev up next →