Home

Awesome

mod_mrf AHTSE

An apache module that serves tiles directly from a local MRF, 2D or 3D.
With the MRF data on a local SSD, this module average tile request latency is .25ms (as measured by httpd), and reaches request rates above 20000 req/sec on a single core.

Apache configuration directives:

MRF_RegExp Required, only requests matching this pattern are handled. It can appear multiple times If not provided, the module is inactive

MRF_Indirect On|Off

If set, this module will only respond to internal subrequests

MRF_ConfigurationFile Filename

Points to an AHTSE Control text file, where the first word on a line is a directive, followed by parameters

AHTSE Control Directives for this module are:

DataFile path start_offset size

Size X Y Z C

PageSize X Y 1 C

RetryCount N

IndexFile string

EmptyTile Size Offset FileName

SkippedLevels N

ETagSeed base32_string

Dynamic On

MMapping prefix

CannedIndex On

Redirect path start_offset size Deprecated, use the DataFile directive and start path with ://

For better performance on local files, the httpd source against which this module is compiled should include support for random file access optimization. A patch file for libapr is provided, see apr_FOPEN_RANDOM.patch

For better performance when using object stores, the mod_proxy should be patched to reuse connections on subrequests. A patch file is included, see mod_proxy_httpd.patch