Md Daily
https://blog.cloudflare.com/cloudflare-servers-dont-own-ips-anymore/
https://lowendtalk.com/discussion/182849/servers-dont-own-ip-address-anymore-cloudflare-did-it
یه نفر لطف کرده بود کل این مقاله رو خونده بود تو یه انجمنی برداشت خودش رو گذاشته بود که بررسیش میکنیم :)
یه نفر لطف کرده بود کل این مقاله رو خونده بود تو یه انجمنی برداشت خودش رو گذاشته بود که بررسیش میکنیم :)
LowEndTalk
Servers don't own IP address anymore! Cloudflare did it!
Long story short (from what I understood from their latest blog post) What they did is shared /32 with many servers.
Md Daily
https://lowendtalk.com/discussion/182849/servers-dont-own-ip-address-anymore-cloudflare-did-it یه نفر لطف کرده بود کل این مقاله رو خونده بود تو یه انجمنی برداشت خودش رو گذاشته بود که بررسیش میکنیم :)
یکی از دلایلی که کلودفلیر این کارا کرده به خاطر گرون بودن Ipv4 بوده و صرفه جویی تو هزینه ها
و اینجا صحبت از ipv6 هست
و اینجا صحبت از ipv6 هست
Md Daily
https://lowendtalk.com/discussion/182849/servers-dont-own-ip-address-anymore-cloudflare-did-it یه نفر لطف کرده بود کل این مقاله رو خونده بود تو یه انجمنی برداشت خودش رو گذاشته بود که بررسیش میکنیم :)
به طور خلاصه:
اومدن /32 رو با کلی سرور شیر کردن
یعنی یک ip رو تو پورت های مختلف با ۳۱ سرور شیر کردن
قبل تر اینجوری بوده که هر سرور یه ip داشته الان کل دیتاسنتر یه ip داره ولی رو پورت های سفارشی سازی شده میرسه به سرور مورد نظر
برای مثال اگه ما یه دیتاسنتر توی ایران داشته باشیم و ip v4 اش باشه: 185.285.00
سرور شماره ۱ میشه:
185.285.00:01
سرور شماره ۲ میشه :
185.285.00:02
سرور n هم میشه:
185.285.00:0n
و به همین ترتیب
اومدن /32 رو با کلی سرور شیر کردن
یعنی یک ip رو تو پورت های مختلف با ۳۱ سرور شیر کردن
قبل تر اینجوری بوده که هر سرور یه ip داشته الان کل دیتاسنتر یه ip داره ولی رو پورت های سفارشی سازی شده میرسه به سرور مورد نظر
برای مثال اگه ما یه دیتاسنتر توی ایران داشته باشیم و ip v4 اش باشه: 185.285.00
سرور شماره ۱ میشه:
185.285.00:01
سرور شماره ۲ میشه :
185.285.00:02
سرور n هم میشه:
185.285.00:0n
و به همین ترتیب
Md Daily
https://github.com/google/mangle
زبان تازه نفس گوگل بنام Mangle
نوشته شده با گو برای دیتابس
نوشته شده با گو برای دیتابس
https://github.com/thangchung/go-coffeeshop
A coffee shop application with event-driven microservices in Golang
A coffee shop application with event-driven microservices in Golang
GitHub
GitHub - thangchung/go-coffeeshop: ☕ A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault…
☕ A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault, and Terraform for deployment - thangchung/go-coffeeshop
How To Publish a Port of a Running Container 🧵
Docker (rightfully) doesn't allow that. So, what are the options?
- Restart it, potentially from a committed state 🥱
- Modify container's configs and restart dockerd 🙈
- Call <container_ip>:<port>
- Write some iptables
or... 👇🏻
Docker (rightfully) doesn't allow that. So, what are the options?
- Restart it, potentially from a committed state 🥱
- Modify container's configs and restart dockerd 🙈
- Call <container_ip>:<port>
- Write some iptables
or... 👇🏻
Brush up your containers and networking skills and create an elegant solution!
- Containers in the same network can talk to each other using their IP addresses
- You can "connect" any two sockets using a user-space proxy like socat
Solution: create a helper forwarder sidecar!
- Containers in the same network can talk to each other using their IP addresses
- You can "connect" any two sockets using a user-space proxy like socat
Solution: create a helper forwarder sidecar!