Symptom: Service/Pod could create success, but could not connect to pod. Could not connect to another pod in another node (even in the same node) All kubectl status works well Your docker is newer than 1.13 (it works well if your docker version is 1.12) It will happen on “kubeadm” but not happen in “minikube”. Diagnosis: Check iptable rule. sudo iptables-save -A INPUT -j KUBE-FIREWALL -A FORWARD -j DOCKER-ISOLATION -A FORWARD -o docker0 -j DOCKER -A FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED - j ACCEPT -A FORWARD -i docker0 ! -o docker0 -j DROP -A FORWARD -i docker0 -o docker0 -j DROP -A OUTPUT -j KUBE-FIREWALL -A DOCKER-ISOLATION -j RETURN As you could observe “A FORWARD -i docker0 ! -o docker0 -j DROP” Root cause: Refer to moby issue 40182 (still not resolve until kubernetes 1.8) Docker 1.13 changed the default iptables forwarding policy to DROP So all forward...
Meetup related material
slide
sample code
Meetup note
pprof -> no clue about how many CPU we used.
trace -> understand the process time and
channel send -> channel recev
“Synchronization blocking profile” is a good clue to figure out problem related to unbuffered channel.
Execution-tracer also help to figure out problem when you trace running http server.
It could help us to figure out network request and http serve diagram.
View Option -> Flow Arrow to display all the incoming and outcoming flow.
Goroutine announce -> to understand the goroutine path
Execution tracker is low overhead, until the lots golang routine waiting (not must but almost 10%).
Original Video:Slack: Real-Time Communication with HAProxy and Route53 on AWS Preface: Original video comes from AWS “My Architect”, it introduce how slack to build their service on top of AWS. This video is very easy to understand within 5 minutes, it make me to think about - Could we use this video to think about how to build slack-like service from scratch? 原始影片是在講解如何透過 AWS 的服務來架設 Slack ,不過裡面有許多思考脈絡很適合去思考 ”如何架設一個類似 Slack 的架構”. 這邊很歡迎大家去看原始影片,只要 05:43 而已,但是裡面有許多細節可以提供我們慢慢地思考. Disclaimer This article just made by me which to think about how to make a slack-like service from scratch. It not offical slack report or documentation here. Every ideas are just my assumptions. Feel free to correct me once you find anything is wrong. :) How to build slack-like service from scratch? (from my point of view) From beginning Slack is a “online messaging service”, so if we want to build something like slack. Your choice might...
Opportunity about new 5G Radio Broadband
簡短心得:
第一天的會議主軸主要是新的頻段可能帶來的商機與應用,當然不脫出三個主要的期待 (更高的頻段,更多的資料預載量,更有彈性的應用)
除了這些之外,不脫出 5G 的重要關鍵因素 (低延遲,高併發與高頻寬)
5G NR(New Radio)
Broadband range from 4G(6G HZ) to 5G NR(100 GHZ)
Also include mmWave (24 GHZ ~ 100 GHZ)
(refer slide)
mmWave(millimeter-wave)
Multi-Giga byte data rate
Much more capacity
Flexible deployments
(refer to QualComm slide)
Key Factors
eMBB (enhanced Mobile Broadband):
It means more data bandwidth for mobile system.
mMTC (massive Machine Type Communications)
For IOT or multiple concurrency IOT related industry. It include massive connectivity for IOT(or other) device.
URLLC (Ultra-Reliable and Low Latency Communications)
It point to very low latency communication normally use for auto-driving.
三個面向就是 “高頻寬”,”高併發” 跟 “極低延遲” .就是 5G 的三個面向.