Fastly Inc > Net-Fastly-1.02 > Net::Fastly::Backend

Download:
Net-Fastly-1.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Net::Fastly::Backend - Representation of an individual host you want to serve assets off

ACCESSORS ^

service_id

The id of the service this belongs to.

version

The number of the version this belongs to.

name

The name of this backend.

address

A magic field - will automagically be set to whichever of ipv4, ipv6 or hostname is currently set.

Conversely if you set the address field then the correct field from ipv4, ipv6 or hostname will be set.

ipv4

the ipv4 address of the host to serve assets (this, hostname or ipv6 must be set)

ipv6

the ipv6 address of the host to serve assets (this, hostname or ipv4 must be set)

hostname

the hostname to serve assets from (this, ipv4 or ipv6 must be set)

port

the port to connect to (default 80)

use_ssl

whether to use ssl to get to the backend (default 0 i.e false)

connect_timeout

how long in milliseconds to wait for a connect before declaring the backend out of rotation (default 1,000)

first_byte_timeout

how long in milliseconds to wait for the first bytes before declaring the host out of rotation (default 15,000)

between_bytes_timeout

how long in milliseconds to wait between bytes before declaring the backend out of rotation (default 10,000)

error_threshold

how many errors before declaring the backend out of rotation (default 0, 0 meaning turned off)

max_conn

the maximum number of connections to this backend (default 20)

weight

the weight assigned to this backend (default 100)

healthcheck

the name of a healthcheck to associate with this backend. See the Healthcheck object

auto_loadbalance

set to 1 if you want to auto_loadbalance, set to 0 if you don't want to auto_loadbalance

request_condition

name of a request_condition to filter the backend on

syntax highlighting: