---
# System prepended metadata

title: LINE TAIWAN TECHPULSE 2020
tags: [Note]

---

# LINE TAIWAN TECHPULSE 2020

###### tags: `Note`

[Session](https://techpulse.line.me/#sessions)

[toc]

> 上午場

Keynote
===

Speaker: Marco Chen/ LINE Taiwan CTO

Statistics
---

- Official account +140%
- Video call +235%
- LINE TODAY CPBL live YoY +74%
- Live Concert
- Travel +2483%

New Problem
---

- 激增的流量
- 激增的突發流量

### Solution

- 上雲

LINE Verda
---

- 給外部客戶使用的雲端運算平台
- 主要提供給遊戲商

From Verda to VKS
---

- 即使達成 IaaS 後還是有很多應用程式與環境的耦合問題
    - 容器化 - VKS (Verda K8s Service)
    - 考量點
        - 彈性
        - 社群支援度
- 目標
    - 半小時內佈署好新人的開發環境
    - Auto-Scaling
- 應用工程師不熟 Container 環境
    - 成立 DevOps 小組指導
        - 各專案派種子成員
    - 成立 SRE team
        - 統整開發工具
- 成果
    - 大幅縮減 deploy 時間
    - 不同團隊間的相互干擾減少

LINE Brain & LINE Clova
---

- AI
    - OCR
    - Face detect
    - Chatbot builder
        - Trained by AI
    - eKYC
        - for 身分驗證
- ML
    - By enormous data from LINE
    - MLU (Machine Learning Universe)
        - MLOps
        - 加速各個流程，快速開發，快速交付

Security
---

- Passwordless login

Tech Fresh
---

- 30 opening / year for internship


Lif on LINE CLOVA
===

Speaker: Aaron & Cid

- Machine Learning / ChatBot / Computer Vision 正在泡沫化

CLOVA
---

- **CLO**ud **V**irtual **A**ssistant
- CLOVA chatbot
- CLOVA face
- CLOVA OCR
- LINE eKYC
- LINE AiCall
- LINE OA

Face Sign
---

- CLOVA Face
    - abstract feature
    - save encrypted feature in DB
    - FAR 0.1% / FRR 1.5%

NEST
---

- Neural End-to-end Speech Transcriber
- conbination of accoustic model, language modle, and pronounciation model

LINE AiCall
---

- 7x24 AI customer service

LINE Platform API Update
===

Speaker: Evan Lin

今天將會以「縮短人與人之間的距離」

Narrowcast
---

> 我們不是討厭廣告，而是討厭無關的廣告。

- classify by
    - location
    - age
    - gender
    - etc

Icon and Display name switcher
---

- 可以換頭像 & 名稱

Emoji
---

- 可以送 emoji
- 可以收到 emoji，並了解含意

i18n
---

- Get user's language

Group / Chatroom API
---

- 可以更容易做出團購機器人

Unsend event
---

- 可以知道使用者收回訊息
- only in group / room

Video viewing complete
---

- cannot use in group / room

Share target picker
---

- 可以分享圖片、文字、QRcode、Flex Message
- 可以直接在主畫面傳訊息，甚至不用開 LINE


LIFF App
---

- 可以上一頁


Channel Access Token v2.1
---

- 更安全的 token 機制
- 可廢止的 access token

Safety Retry
---

- 可以檢查訊息是否傳送成功

LIFF endpoint
---

- path
- concatenate mode

LIFF error code
---
- error handling

Messaging API for Webhook
---

- 測試 webhook
- 更改 webhook
- 快速切換 (~1min)

Flex Message Update 2
---

- 漸層
- 自動調整文字大小
- 更多排版方式

Dev activities
---

- Internal Hackthon
- 梅竹黑克松
- LINE Fresh 2020 competition


Scaling Machine Learning at LINE
===

Speaker: Shawn & Penny

---

> 下午場

LINE Pay - My Card
===

Speaker: Hugo

Intro
---

- 會員卡 X LINE Pay
- Allow in 10.21+
- 一個卡片夾的概念

Use
---

- 給商家掃條碼
- 一次搞定所有流程

商家
---

- 更好的整合
- 點數、優惠互通

How GitOps Helps Kubernetes Adoption
===

Speaker: Denny Tsai

- More than 20 of LINE projects are run in k8s now
- Pros
    - Flexibility
    - Usability
    - Maintainance cost
- Use Rancher

Challenges of adopting k8s
---

- lack aware
    - mistake Rancher as a PaaS
- limit knowledge
- tool
    - Rancher is incompatible with VKS
- best practice
    - 太多選擇，缺乏統一
- config management
    - 存放位置
    - 權限管理
- arbitrary cluster manipulation
    - 氾濫的 production 控制權限

GitOps
---

### hunh?

- dev-friendly

### Single source of truth

- A single repo to store config file
- 用 git 管理設定檔
    - PR 確保每次改設定都有人 review 過
    - blame 追蹤每個人的行為
    - sync agent 負責把設定檔搬到 k8s

### tools

- ArgoCD
    - Continuous delivery
    - Web UI
- Kustomize
    - native config management tool
    - supported by ArgoCD
    - referable yaml generation

Automated Acceptance Test and Test Isolations
===

Speaker: Bryan

What's Acceptance Test
---

- test is to raise confidence

Test Isolation
---

- L1: 同一個環境下每次都應該跑出一樣的結果
- L2: test 結果不該互相依賴

### isolate context & default object

- 每次產生全新的、乾淨的context and object

API testing
---

Test Container
---

Lightning Talks
===

LDS
---

- share UI between LINE projects

LeSS
---

- 大型敏捷開發

Smart POI
---

- Point of Interest
- 收集使用者對 POI 各資訊的點擊行為作為訓練材料

 




