cacheproxy

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 24 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command cacheproxy is a test vehicle for vis: an HTTP cache in front of a slow, simulated origin, with knobs a person, an agent or a reflex can turn. It is the service from the UI mockup, running for real.

go run ./examples/cacheproxy                # the proxy on :8790, MCP on :7070, the control UI on :7071
go run ./examples/cacheproxy/loadgen        # load, from outside the process
curl localhost:7071/api/state               # what the UI shows, for scripts too

Directories

Path Synopsis
Command loadgen drives cacheproxy over real HTTP from outside its container, so squeezing the container's CPU throttles the server, not the load.
Command loadgen drives cacheproxy over real HTTP from outside its container, so squeezing the container's CPU throttles the server, not the load.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL