GoogleApi.ContentWarehouse.V1.Model.TrawlerHostBucketData
Table of Contents ▼
Jump to a specific part of the page:
Description
============================ Next Tag: 22 ============================ Data about the scheduling host bucket a URL was in (if the client wants to use this, e.g. for more intelligent scheduling, etc).
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
ClientTrafficFraction
(type:number()
, default:nil
)
- How much existing traffic -
ClientWeightFraction
(type:number()
, default:nil
)
- belong to the client How much weight the client -
CurrentActiveConnections
(type:integer()
, default:nil
)
- How many connections are actively used for downloading ? -
IsFull
(type:boolean()
, default:nil
)
- Is this bucket currently full ? -
LastScheduleIntervalMs
(type:String.t
, default:nil
)
- How many ms ago we last scheduled a url -
MaxActiveConnections
(type:number()
, default:nil
)
- The current hostload value (# of connections)
- if negative does not apply -
MediumTermLoad
(type:number()
, default:nil
)
- The load the recent times (the actual hostload that we apply is MaxActiveConnections / MediumTermLoad)
- a hostload of 1.00 is normal, while over 1.0 is higher than normal load -
MinInterRequestSecs
(type:number()
, default:nil
)
- The min delay between requests (in secs)
- if negative does not apply -
NonFullIntervalMs
(type:String.t
, default:nil
)
- If is full, when is becoming non-full (in ms) -
TotalCapacityQps
(type:number()
, default:nil
)
- The following four fields attempt to make things simpler for clients to estimate available capacity. They are not populated yet as of 2013/08/21. Even after they are populated, they may change. So talk to trawler-dev@ before you use the fields. Total qps for this hostid -
TotalUsedQps
(type:number()
, default:nil
)
- Currently used qps -
urllist
(type:list(GoogleApi.ContentWarehouse.V1.Model.TrawlerHostBucketDataUrlList)
, default:nil
)
-
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.TrawlerHostBucketData{
ClientTrafficFraction: number() | nil,
ClientWeightFraction: number() | nil,
CurrentActiveConnections: integer() | nil,
IsFull: boolean() | nil,
LastScheduleIntervalMs: String.t() | nil,
MaxActiveConnections: number() | nil,
MediumTermLoad: number() | nil,
MinInterRequestSecs: number() | nil,
NonFullIntervalMs: String.t() | nil,
TotalCapacityQps: number() | nil,
TotalUsedQps: number() | nil,
urllist: [GoogleApi.ContentWarehouse.V1.Model.TrawlerHostBucketDataUrlList.t()] | nil
}
ClientTrafficFraction: number() | nil,
ClientWeightFraction: number() | nil,
CurrentActiveConnections: integer() | nil,
IsFull: boolean() | nil,
LastScheduleIntervalMs: String.t() | nil,
MaxActiveConnections: number() | nil,
MediumTermLoad: number() | nil,
MinInterRequestSecs: number() | nil,
NonFullIntervalMs: String.t() | nil,
TotalCapacityQps: number() | nil,
TotalUsedQps: number() | nil,
urllist: [GoogleApi.ContentWarehouse.V1.Model.TrawlerHostBucketDataUrlList.t()] | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.TrawlerHostBucketData