TrawlerHostBucketData

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):

View Attributes

Attributes

  1. ClientTrafficFraction (type: number(), default: nil)
    - How much existing traffic
  2. ClientWeightFraction (type: number(), default: nil)
    - belong to the client How much weight the client
  3. CurrentActiveConnections (type: integer(), default: nil)
    - How many connections are actively used for downloading ?
  4. IsFull (type: boolean(), default: nil)
    - Is this bucket currently full ?
  5. LastScheduleIntervalMs (type: String.t, default: nil)
    - How many ms ago we last scheduled a url
  6. MaxActiveConnections (type: number(), default: nil)
    - The current hostload value (# of connections)
    - if negative does not apply
  7. 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
  8. MinInterRequestSecs (type: number(), default: nil)
    - The min delay between requests (in secs)
    - if negative does not apply
  9. NonFullIntervalMs (type: String.t, default: nil)
    - If is full, when is becoming non-full (in ms)
  10. 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
  11. TotalUsedQps (type: number(), default: nil)
    - Currently used qps
  12. 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
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.TrawlerHostBucketData