💾💾💾 Чим відрізняються Multicast від Anycast та Broadcast?
Multicast, Anycast и Broadcast – це методи доставки даних в мережах. Вони мають різні цілі та сценарії використання:
1. Broadcast
Broadcast відправляє дані до всіх вузлів у мережі або підмережі. Це найбільш базова форма розсилки, де кожен пакет даних копіюється та відправляється до кожного пристрою в локальній мережі.
Broadcast часто використовується для автоматичного отримання IP-адреси через DHCP або для пошуку пристроїв та служб у локальних мережах.
2. Multicast
Multicast дозволяє відправляти дані одночасно кільком отримувачам, але не всім у мережі. Отримувачі групуються за спеціальною multicast адресою, і дані відправляються лише цій групі.
Multicast застосовується для потокового мультимедійного контенту, онлайн-ігор та інших застосунків, де однакові дані потрібно доставити багатьом отримувачам одночасно.
3. Anycast
Anycast дозволяє відправляти дані до найближчого (у термінах мережевої топології) вузла з групи вузлів, які мають однакову IP-адресу. Це досягається за допомогою маршрутизації, яка вибирає найкоротший шлях до одного з декількох можливих отримувачів.
Anycast часто використовується для DNS-серверів, CDN (мереж доставки контенту) та для підвищення доступності та зниження затримки в мережевих службах.
Також варто зазначити що Broadcast не доступний в IPV6 мережах
#networking #broadcast #multicast #anycast
Multicast, Anycast и Broadcast – це методи доставки даних в мережах. Вони мають різні цілі та сценарії використання:
1. Broadcast
Broadcast відправляє дані до всіх вузлів у мережі або підмережі. Це найбільш базова форма розсилки, де кожен пакет даних копіюється та відправляється до кожного пристрою в локальній мережі.
Broadcast часто використовується для автоматичного отримання IP-адреси через DHCP або для пошуку пристроїв та служб у локальних мережах.
2. Multicast
Multicast дозволяє відправляти дані одночасно кільком отримувачам, але не всім у мережі. Отримувачі групуються за спеціальною multicast адресою, і дані відправляються лише цій групі.
Multicast застосовується для потокового мультимедійного контенту, онлайн-ігор та інших застосунків, де однакові дані потрібно доставити багатьом отримувачам одночасно.
3. Anycast
Anycast дозволяє відправляти дані до найближчого (у термінах мережевої топології) вузла з групи вузлів, які мають однакову IP-адресу. Це досягається за допомогою маршрутизації, яка вибирає найкоротший шлях до одного з декількох можливих отримувачів.
Anycast часто використовується для DNS-серверів, CDN (мереж доставки контенту) та для підвищення доступності та зниження затримки в мережевих службах.
Також варто зазначити що Broadcast не доступний в IPV6 мережах
#networking #broadcast #multicast #anycast
👍2
Поліція прикриває вбивць!!! Максимальний репост!!
Бездіяльність поліції кожен день коштує життя невинних. Закінчимо це беззаконня. Поліціянти мусят сісти за приховування доказів у вбивствах та співучасть в них! Ми повинні зробити показову справу!!
https://hromadske.ua/posts/zamkneni-u-pidvali-koti-zoozahisniki-podadut-zayavu-pro-bezdiyalnist-policiyi
Бездіяльність поліції кожен день коштує життя невинних. Закінчимо це беззаконня. Поліціянти мусят сісти за приховування доказів у вбивствах та співучасть в них! Ми повинні зробити показову справу!!
https://hromadske.ua/posts/zamkneni-u-pidvali-koti-zoozahisniki-podadut-zayavu-pro-bezdiyalnist-policiyi
hromadske
Замкнені в підвалі коти: зоозахисники подадуть заяву про бездіяльність поліції
Зоозахисники готують заяву про бездіяльність київської поліції у справі про жорстоке поводження з тваринами. Нещодавно жителі багатоповерхівки встановили решітки на підвал, де були коти, деякі з них померли. Поліція відкрила кримінальне провадження.
👍3
How i usually like to say - "Don't Trust Anybody"
Yesterday i understand that K8S not doing rolling deploy correctly, and some connections may be broken during it, which is not good.
I dig a little bit, and found that it open issue in K8S, which for some reason not fixed, while fix is very simple (but maybe i dont know something).
Here is article about the problem: https://engineering.rakuten.today/post/graceful-k8s-delpoyments/
And small test code with fix: https://github.com/creotiv/github.com-creotiv-k8s-rollout-test
#k8s #kubernetes #zerodowntime #deployment
Yesterday i understand that K8S not doing rolling deploy correctly, and some connections may be broken during it, which is not good.
I dig a little bit, and found that it open issue in K8S, which for some reason not fixed, while fix is very simple (but maybe i dont know something).
Here is article about the problem: https://engineering.rakuten.today/post/graceful-k8s-delpoyments/
And small test code with fix: https://github.com/creotiv/github.com-creotiv-k8s-rollout-test
#k8s #kubernetes #zerodowntime #deployment
Rakuten Engineering Blog
Zero-Downtime Rolling Deployments in Kubernetes | Rakuten Engineering Blog
Photo by Kammeran Gonzalez-Keola used under Pexels License
At Rakuten, we generally use Kubernetes to run our services. Kubernetes enables us to operate robust systems at scale. However, Kubernetes is not perfect and in edge cases it may behave in unexpected…
At Rakuten, we generally use Kubernetes to run our services. Kubernetes enables us to operate robust systems at scale. However, Kubernetes is not perfect and in edge cases it may behave in unexpected…
🔥2
Friends, i'm making another try of running a YouTube channel about #softwareengineering and #systemdesign The 4th one)
I will start with rubric #ANDevHowTo and will be telling about different interesting small stuff that helping be a better dev and optimize your work and emotional experience.
I will also duplicate all this content to Linkedin and my #GitHub https://lnkd.in/eSPEMKyj Don't forget to Follow & Set a Star :)
And today we will start from #Networking and #MulticastDNS
You can find full article here: https://lnkd.in/e6VhCJmb
#ANDevHowTo #ANDevHowToNetworking #DNS
PS: I will add youtube channel a bit later, so for now I will start from articles
I will start with rubric #ANDevHowTo and will be telling about different interesting small stuff that helping be a better dev and optimize your work and emotional experience.
I will also duplicate all this content to Linkedin and my #GitHub https://lnkd.in/eSPEMKyj Don't forget to Follow & Set a Star :)
And today we will start from #Networking and #MulticastDNS
You can find full article here: https://lnkd.in/e6VhCJmb
#ANDevHowTo #ANDevHowToNetworking #DNS
PS: I will add youtube channel a bit later, so for now I will start from articles
👍7❤1🔥1🍾1
Let's talk about few useful visualization tools that i use everyday
💾 Creating such cool code images
https://carbon.now.sh/
💾 Make Pdf from images. Usefull for Linkedin to create slideshow
sudo apt-get install img2pdf
img2pdf h1.png h2.png h3.png h4.png -o output.pdf
💾 Simple collaborative drawing. Useful when need to describe something fast
https://excalidraw.com/
💾 Make cool charts from the code
https://www.mermaidchart.com/
#ANDevHowTo #ANDevHowToTools #visualdesign #visualization #tools
💾 Creating such cool code images
https://carbon.now.sh/
💾 Make Pdf from images. Usefull for Linkedin to create slideshow
sudo apt-get install img2pdf
img2pdf h1.png h2.png h3.png h4.png -o output.pdf
💾 Simple collaborative drawing. Useful when need to describe something fast
https://excalidraw.com/
💾 Make cool charts from the code
https://www.mermaidchart.com/
#ANDevHowTo #ANDevHowToTools #visualdesign #visualization #tools
❤2
Друзі, прошу вас підтримати петицію про створення ЗооПоліції для захисту самих маленьких та беззахистних українців.
Робіть будь ласка репости, надсилайте друзям. Тільки від нас залежить в якій країні ми будемо жити завтра.
https://petition.kmu.gov.ua/petitions/6152
Робіть будь ласка репости, надсилайте друзям. Тільки від нас залежить в якій країні ми будемо жити завтра.
https://petition.kmu.gov.ua/petitions/6152
👍4
Today we will talk on How to make real #zerodowntime in #Kubernetes during #deployment.
Many of you may think that Kubernetes will do it for you, that it already should do this. Yeah... should, but not doing.
There is an open issue on that, which still not fixed. Which lead to situation that during deployment some part of the requests will return connection error. What we of course don't want especially on #HiLoad projects where this can be critical problem.
But there is a simple #solution for that.
#ANDevHowTo #ANDevHowToKubernetes #k8s
Many of you may think that Kubernetes will do it for you, that it already should do this. Yeah... should, but not doing.
There is an open issue on that, which still not fixed. Which lead to situation that during deployment some part of the requests will return connection error. What we of course don't want especially on #HiLoad projects where this can be critical problem.
But there is a simple #solution for that.
#ANDevHowTo #ANDevHowToKubernetes #k8s
👍2❤1
Forwarded from Andrey Nikishaev
Друзья, боремся за жизнь этого малыша, очень нужна ваша помощь
https://send.monobank.ua/jar/9tbJNeWg6U
https://send.monobank.ua/jar/9tbJNeWg6U
😢3❤1
Today in our everyday adventure for #knowledge we will discuss difference between big and heavy #cluster vs few small ones #sharded by users/etc.
Both of them has their pros and cons, as any #solution you will ever made. So remember to make good #systemdesign you will need to gather #requirements very carefully and #analyse them to understand which parameters a valuable for you and which are not.
#ANDevHowTo #ANDevHowToArchitecture #systemarchitecture #architecture #sharding
Both of them has their pros and cons, as any #solution you will ever made. So remember to make good #systemdesign you will need to gather #requirements very carefully and #analyse them to understand which parameters a valuable for you and which are not.
#ANDevHowTo #ANDevHowToArchitecture #systemarchitecture #architecture #sharding
Today in our rubric #ANDevHowTo i will teach you how to make cool approval #deploy #automation with #GitHubActions
Very often deploy, especially on production require attention and approval from many people from different teams like: dev, qa, product, support, etc.
And its very complicated to gather all this approvals manually, and most of the companies are not using any software that will help with this. But many of them using GitHub.
GitHub PRs already have approval process, but it lacks configuration.
That's why for solving this problem we will use 2 actions.
✅ This action that auto assign people to our PR
https://github.com/marketplace/actions/auto-assign-action
✅ This action will check that needed amount of teams and users approved PR
https://github.com/marketplace/actions/custom-approval-management
#ANDevHowToAutomation #GitHub #devops #process
Very often deploy, especially on production require attention and approval from many people from different teams like: dev, qa, product, support, etc.
And its very complicated to gather all this approvals manually, and most of the companies are not using any software that will help with this. But many of them using GitHub.
GitHub PRs already have approval process, but it lacks configuration.
That's why for solving this problem we will use 2 actions.
✅ This action that auto assign people to our PR
https://github.com/marketplace/actions/auto-assign-action
✅ This action will check that needed amount of teams and users approved PR
https://github.com/marketplace/actions/custom-approval-management
#ANDevHowToAutomation #GitHub #devops #process
👍2
🖥 Today in our #ANDevHowTo rubric we will start demystify how #Kubernetes #networking works and will emulate it with local #Linux tools. And in the end we will try to write our own CNI plugin for #K8S
Will start from the simple one - container to container connection on the same pod.
❓ Also have small question: What command should be added to give ability to run request to the containers(pod) through the host ip 192.168.0.15?
Here is article:
https://github.com/creotiv/articles/blob/main/DevOps/K8S/Networking/package_routing_inside_the_k8s.md
#ANDevHowToNetworking #ANDevHowToKubernetes
Will start from the simple one - container to container connection on the same pod.
❓ Also have small question: What command should be added to give ability to run request to the containers(pod) through the host ip 192.168.0.15?
Here is article:
https://github.com/creotiv/articles/blob/main/DevOps/K8S/Networking/package_routing_inside_the_k8s.md
#ANDevHowToNetworking #ANDevHowToKubernetes
🔥2❤🔥1
Тут пошерили код Дії. Ну що можу сказати:
1) як я і казав більшу частину інфри не пошерили, а саме вона цікава
2) Якість системи на рівні мідлів
Да що казати заходьте та дивітся, там все добре видно.
https://github.com/diia-open-source
1) як я і казав більшу частину інфри не пошерили, а саме вона цікава
2) Якість системи на рівні мідлів
Да що казати заходьте та дивітся, там все добре видно.
https://github.com/diia-open-source
GitHub
Diia
Diia is an app with access to citizen’s digital documents and government services - Diia
👍2
Proceeding on demystifying #Kubernetes #networking.
In previous post we described the scheme and network setup for many containers in one pod. In this one we will describe how to link pods on the same node
Basically we have the same setup like in previous post, as we just adding one more pod. But the crucial part is #iptables rules for routing packages from one #networknamespace to another connecting 2 #veth pairs.
Remember that by default Kubernetes use iptables over #IPVS. An on big clusters better to switch to the IPVS as it more faster. You can do this by modyfing #ConfigMap of #KubeProxy
Here is full article: https://github.com/creotiv/articles/blob/main/DevOps/K8S/Networking/package_routing_inside_the_k8s.md
In the next post we will connect containers on different nodes. Stay in touch.
And don't forget to support my work with like
#ANDevHowTo #ANDevHowToKubernetes #ANDevHowToNetworking
In previous post we described the scheme and network setup for many containers in one pod. In this one we will describe how to link pods on the same node
Basically we have the same setup like in previous post, as we just adding one more pod. But the crucial part is #iptables rules for routing packages from one #networknamespace to another connecting 2 #veth pairs.
Remember that by default Kubernetes use iptables over #IPVS. An on big clusters better to switch to the IPVS as it more faster. You can do this by modyfing #ConfigMap of #KubeProxy
Here is full article: https://github.com/creotiv/articles/blob/main/DevOps/K8S/Networking/package_routing_inside_the_k8s.md
In the next post we will connect containers on different nodes. Stay in touch.
And don't forget to support my work with like
#ANDevHowTo #ANDevHowToKubernetes #ANDevHowToNetworking
🔥2