123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375 |
- # This is a TOML document. Boom.
- tick = "1m"
- [xlog]
- dir = "/data/log/app-intl"
- [xlog.agent]
- family = "app-intl"
- taskID = "000053"
- proto = "unixgram"
- addr = "/var/run/lancer/collector.sock"
- chan = 10240
- [bm]
- [bm.outer]
- addr = "0.0.0.0:8000"
- timeout = "1s"
- [feed]
- [feed.index]
- count = 10
- iPadCount = 20
- moePosition = 6
- followPosition = 7
- [feed.cmResource]
- "iphone" = 1890
- "android" = 1897
- "ipad" = 1975
- [search]
- seasonNum = 3
- movieNum = 3
- seasonMore = 1
- movieMore = 1
- upUserNum = 1
- uvLimit = 1
- userNum = 1
- userVideoLimit = 1
- biliUserNum = 1
- biliUserVideoLimit = 1
- operationNum = 1
- [view]
- vipTick = "300s"
- relateCnt = 3
- [showInfoc]
- taskID = "000027"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 10240
- [tagInfoc]
- taskID = "000028"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 10240
- [redirectInfoc]
- taskID = "000029"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 10240
- [coinInfoc]
- taskID = "000078"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 1024
- [viewInfoc]
- taskID = "000025"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 1024
- [relateInfoc]
- taskID = "000025"
- proto = "tcp"
- addr = "172.19.100.20:5401"
- chanSize = 1024
- [host]
- live = "http://live.bilibili.co"
- liveApi = "http://api.live.bilibili.co"
- bangumi = "http://bangumi.bilibili.co"
- data = "http://data.bilibili.co"
- hetongzi = "http://hetongzi.bilibili.co"
- www = "http://www.bilibili.com"
- apiCo = "http://api.bilibili.co"
- api = "http://api.bilibili.com"
- ad = "http://cm.bilibili.co"
- activity = "http://matsuri.bilibili.co"
- rank = ""
- show = "http://show.bilibili.com"
- dynamic = "http://api.vc.bilibili.com"
- bigData = "http://bigdata.bilibili.co"
- search = "http://s.search.bilibili.co"
- [app]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- [httpWrite]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "30ms"
- timeout = "100ms"
- keepAlive = "60s"
- timer = 128
- [httpWrite.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpClient]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "30ms"
- timeout = "100ms"
- keepAlive = "60s"
- timer = 128
- [httpClient.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpClientAsyn]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "1s"
- timeout = "2s"
- keepAlive = "60s"
- timer = 10
- [httpClientAsyn.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpData]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "30ms"
- timeout = "200ms"
- keepAlive = "60s"
- timer = 1024
- [httpData.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpTag]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "200ms"
- keepAlive = "60s"
- timer = 10
- [httpTag.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpAd]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "100ms"
- keepAlive = "60s"
- timer = 128
- [httpAd.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpActivity]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "150ms"
- keepAlive = "60s"
- timer = 128
- [httpActivity.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpBangumi]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "150ms"
- keepAlive = "60s"
- timer = 128
- [httpBangumi.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpDynamic]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "200ms"
- timeout = "800ms"
- keepAlive = "60s"
- timer = 128
- [httpDynamic.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpAudio]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "150ms"
- keepAlive = "60s"
- timer = 128
- [httpAudio.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpShow]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "150ms"
- keepAlive = "60s"
- timer = 128
- [httpShow.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [httpSearch]
- key = "e7482d29be4a95b8"
- secret = "9e803791cdef756e75faee68e12b7442"
- dial = "50ms"
- timeout = "150ms"
- keepAlive = "60s"
- timer = 128
- [httpSearch.breaker]
- window = "10s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [mysql]
- [mysql.show]
- addr = "172.18.33.49:3306"
- dsn = "show:UJYgc9UkHIaGovEDUXpTU4U0rjBpZtwb@tcp(172.18.33.49:3306)/bilibili_show?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 2
- idle = 1
- queryTimeout = "1s"
- execTimeout = "1s"
- tranTimeout = "1s"
- [mysql.show.Breaker]
- window = "1s"
- sleep = "1s"
- bucket = 10
- ratio = 0.5
- request = 100
- [mysql.resource]
- addr = "172.18.33.49:3306"
- dsn = "resource:nMgVkY0JPgQr60nUVif5tEUbOTXlilXN@tcp(172.18.33.49:3306)/bilibili_resource?timeout=100ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 2
- idle = 1
- queryTimeout = "1s"
- execTimeout = "1s"
- tranTimeout = "1s"
- [mysql.resource.Breaker]
- window = "1s"
- sleep = "1s"
- bucket = 10
- ratio = 0.5
- request = 100
- [mysql.manager]
- addr = "172.16.33.205:3308"
- dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_manager?timeout=100ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
- active = 2
- idle = 1
- queryTimeout = "1s"
- execTimeout = "1s"
- tranTimeout = "1s"
- [mysql.manager.Breaker]
- window = "1s"
- sleep = "1s"
- bucket = 10
- ratio = 0.5
- request = 100
- [redis]
- [redis.feed]
- name = "app-intl/feed"
- proto = "unix"
- addr = "/tmp/uat-app-redis.sock"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "80ms"
- writeTimeout = "80ms"
- idleTimeout = "80s"
- expireRecommend = "1h"
- expireBlack = "16h"
- [redis.upper]
- name = "app-intl/upper"
- proto = "unix"
- addr = "/tmp/uat-app-redis.sock"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "50ms"
- writeTimeout = "50ms"
- idleTimeout = "80s"
- expireUpper = "96h"
- [memcache]
- [memcache.feed]
- name = "app-intl/feed"
- proto = "unix"
- addr = "/tmp/uat-app-mc.sock"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "150ms"
- writeTimeout = "150ms"
- idleTimeout = "80s"
- expire = "24h"
- [memcache.cache]
- name = "app-intl/cache"
- proto = "unix"
- addr = "/tmp/uat-app-mc.sock"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "150ms"
- writeTimeout = "150ms"
- idleTimeout = "80s"
- expire = "24h"
- [memcache.archive]
- name = "app-view/archive"
- proto = "unix"
- addr = "172.18.33.61:11221"
- active = 5
- idle = 1
- dialTimeout = "30ms"
- readTimeout = "200ms"
- writeTimeout = "200ms"
- idleTimeout = "80s"
- relateExpire = "5m"
|