How Discord Serves 15-Million Users on One Server.
I think this article was posted before on some of DevOps-related channels.
tl;dr: It's BEAM & Elixir. Also, every time you see an article noscriptd "how a chat app scales to crazy number of users", it's always BEAM.
Yet, in their case, Discord had to make some performance analysis and architectural optimizations with some data offloading. That part is interesting.
P.S. I'd love to learn Elixir someday, but I have zero experience with it or Erlang, or FP in general. So, if you're in the same position, and you're looking for a learning buddy, please, let me know :)
#elixir #architecture
I think this article was posted before on some of DevOps-related channels.
tl;dr: It's BEAM & Elixir. Also, every time you see an article noscriptd "how a chat app scales to crazy number of users", it's always BEAM.
Yet, in their case, Discord had to make some performance analysis and architectural optimizations with some data offloading. That part is interesting.
P.S. I'd love to learn Elixir someday, but I have zero experience with it or Erlang, or FP in general. So, if you're in the same position, and you're looking for a learning buddy, please, let me know :)
#elixir #architecture
Bytebytego
How Discord Serves 15-Million Users on One Server
Measuring GenAI Code’s Impact: Free Workshop (Sponsored) How is GenAI impacting software development? Join LinearB and ThoughtWorks’ Global Lead for AI Software Delivery to explore the metrics showing AI’s impact, unpack best practices for leveraging AI in…
👍8
And now it's time for a story of how Pinterest scaled to 11 million users with only 6 engineers.
No BEAM this time, though Pinterest isn't a chat app either. They managed to scale that much and stay so lean thanks to the architectural decisions (mostly around keeping it simple).
P.S. Also, Pinterest is probably the best social network out there (if you could call it a social network).
#architecture
No BEAM this time, though Pinterest isn't a chat app either. They managed to scale that much and stay so lean thanks to the architectural decisions (mostly around keeping it simple).
P.S. Also, Pinterest is probably the best social network out there (if you could call it a social network).
#architecture
Engineerscodex
How Pinterest scaled to 11 million users with only 6 engineers
Pinterest's tech stack explained simply
👍5🏆1
I’m a CLI guy. For me it was always easier to use good old commands like
Thus, it is still much easier to me to use plain
However, I know that many folks prefer graphical interfaces or at least some TUI. Also, I remember that a lot of folks were pissed when Lens split into a community and a paid versions.
So, today I want to share a new native Kubernetes desktop client - Seabird.
I haven’t tried it for the reasons I mentioned above, but you may enjoy it.
#kubernetes
find and cd to navigate around. At some point I even memorized the flags of tar.Thus, it is still much easier to me to use plain
kubectl with a couple of plugins to navigate the clusters.However, I know that many folks prefer graphical interfaces or at least some TUI. Also, I remember that a lot of folks were pissed when Lens split into a community and a paid versions.
So, today I want to share a new native Kubernetes desktop client - Seabird.
I haven’t tried it for the reasons I mentioned above, but you may enjoy it.
#kubernetes
GitHub
GitHub - getseabird/seabird: Native Kubernetes desktop IDE designed for seamless cluster exploration
Native Kubernetes desktop IDE designed for seamless cluster exploration - getseabird/seabird
👍13🤔5🤮1
A member of our community raises funds for a Mavic 3t for his classmate who serves in the 110 separate mechanized brigade.
You can donate on the Monobank jar
Or on a card directly:
5375 4112 1440 4548
#donations #Ukraine
You can donate on the Monobank jar
Or on a card directly:
5375 4112 1440 4548
#donations #Ukraine
❤8💩1
A delayed CatOps Digest is out!
You can find it here:
https://newsletter.catops.dev/p/catops-digest-2024-02-05
#digest #newsletter
You can find it here:
https://newsletter.catops.dev/p/catops-digest-2024-02-05
#digest #newsletter
newsletter.catops.dev
CatOps Digest 2024-02-05
What was on CatOps in the last couple of weeks...
👍2
Did you know that Isovalent (a company behind Cilium) has some amazing labs that can teach you about using Cilium, Hubble, and Tetragon.
The labs have multiple tracks, such as: platform, network, security, etc.
These labs also cover topics like the new
#kubernetes #networking #cilium #ebpf
The labs have multiple tracks, such as: platform, network, security, etc.
These labs also cover topics like the new
GatewayAPI. Doing some of these labs tight now at #cfgmgmtcamp24 and love them so far!#kubernetes #networking #cilium #ebpf
Isovalent
Isovalent Labs Resource Library | Isovalent
Explore Isovalent Labs for hands-on learning in eBPF, Cilium, and Kubernetes security. Step-by-step guides cover everything from basics to advanced use cases.
👍12❤1👎1🏆1
For today’s Donations Monday I’d like to remind you about Pavlo and Naya, who raise funds for drones and some telecom equipment for our defenders.
Now they have a neat page with all the requisites in one place.
#donations #Ukraine
Now they have a neat page with all the requisites in one place.
#donations #Ukraine
👍4❤1💩1
There was an interesting talk at CfgMgmtCamp 2024 about non blocking code reviews.
The good thing is that there’s also an article on this topic from the author
The general idea is that not all the code changes require a code review, especially when there are enough safety nets configured.
As a result, smaller code changes simply sit there and wait for be reviewed, which may take some time, especially in a remote setup.
The solution is to allow such changes as they are and add them to a backlog of pending reviews.
There are more details in the article. Also, here’s a picture from that presentation that kinda captures the spirit of this idea.
#programming #culture #devops
The good thing is that there’s also an article on this topic from the author
The general idea is that not all the code changes require a code review, especially when there are enough safety nets configured.
As a result, smaller code changes simply sit there and wait for be reviewed, which may take some time, especially in a remote setup.
The solution is to allow such changes as they are and add them to a backlog of pending reviews.
There are more details in the article. Also, here’s a picture from that presentation that kinda captures the spirit of this idea.
#programming #culture #devops
👍6
An overview of the progressive delivery principle by Buoyant.
There's also a comparison between Flagger and Argo Rollouts, which are probably the most famous (if not the only) tools designed for progressive delivery.
Now, Buoyant is the company behind Linkerd. So, obviously, their examples are based on Linkerd. However, you don't need any service mesh to adopt this technique. Service mesh will only help you with smarter traffic splitting.
Also, there's an error in this article: it claims that Flagger works with existing deployments, while Argo Rollouts requires its special CRD, which is only partially true. Argo Rollouts can also work with existing Deployment objects. So, in these regards, both tools are the same.
If you prefer a video format, I would also suggest watching a talk about progressive delivery by Carlos Sanchez at Fosdem 2024. There you can see Argo Rollouts in action.
#cicd
There's also a comparison between Flagger and Argo Rollouts, which are probably the most famous (if not the only) tools designed for progressive delivery.
Now, Buoyant is the company behind Linkerd. So, obviously, their examples are based on Linkerd. However, you don't need any service mesh to adopt this technique. Service mesh will only help you with smarter traffic splitting.
Also, there's an error in this article: it claims that Flagger works with existing deployments, while Argo Rollouts requires its special CRD, which is only partially true. Argo Rollouts can also work with existing Deployment objects. So, in these regards, both tools are the same.
If you prefer a video format, I would also suggest watching a talk about progressive delivery by Carlos Sanchez at Fosdem 2024. There you can see Argo Rollouts in action.
#cicd
www.buoyant.io
Flagger vs Argo Rollouts vs Service Meshes: A Guide to Progressive Delivery in Kubernetes
Progressive delivery is a vital tool for ensuring that new code is deployed safely to production with automated protections if things go wrong. Tools like Argo, Flux, and even service meshes like Linkerd provide different parts of the puzzle.
👍3
You might have heard that the WeaveWorks has gone out of business.
Yet, they did a right thing and open sourced their GitOps Enterprise product, which previously was only accessible to the paid customers.
#cicd #gitops
Yet, they did a right thing and open sourced their GitOps Enterprise product, which previously was only accessible to the paid customers.
#cicd #gitops
GitHub
GitHub - weaveworks/weave-gitops-enterprise: This repo provides the enterprise level features for the weave-gitops product, including…
This repo provides the enterprise level features for the weave-gitops product, including CAPI cluster creation and team workspaces. - weaveworks/weave-gitops-enterprise
❤17👍7
Friday is a great day to listen to our latest voice chat!
This time we have discussed what would be the next big thing in operations. And of course, the whole conversation was very AI focused.
You can find the latest episode on:
- YouTube
- Spotify
- Apple Podcasts
- Google Podcasts
#voice_chat #ai
This time we have discussed what would be the next big thing in operations. And of course, the whole conversation was very AI focused.
You can find the latest episode on:
- YouTube
- Spotify
- Apple Podcasts
- Google Podcasts
#voice_chat #ai
YouTube
What would be the next big thing in Operations?
В цьому епізоді фантазуємо на тему того, що буде наступним великим зсувом в operatinos після cloud і kubernetes.
Ну і очевидно, все звелось до обговорення AI.
Матеріали, що згадуються у випуску:
- https://github.com/gpt-engineer-org/gpt-engineer
- htt…
Ну і очевидно, все звелось до обговорення AI.
Матеріали, що згадуються у випуску:
- https://github.com/gpt-engineer-org/gpt-engineer
- htt…
👍7❤1
AI, AI everywhere…
… we could say after checking Ben Evans's presentation, where he's exploring macro and strategic trends in the tech industry for 2024.
Or we can say that it's still too early and error-prone. Or that we are not sure what we want and what possibilities it provides.
In any case, that is a good analytic, so take your time if you'd like to understand the current state of AI and its near future.
https://www.ben-evans.com/presentations
#ai
… we could say after checking Ben Evans's presentation, where he's exploring macro and strategic trends in the tech industry for 2024.
Or we can say that it's still too early and error-prone. Or that we are not sure what we want and what possibilities it provides.
In any case, that is a good analytic, so take your time if you'd like to understand the current state of AI and its near future.
https://www.ben-evans.com/presentations
#ai
🤗5👍2
A new issue of the CatOps digest is here! You can find it via:
https://newsletter.catops.dev/p/catops-digest-2024-02-18
#digest #newsletter
https://newsletter.catops.dev/p/catops-digest-2024-02-18
#digest #newsletter
newsletter.catops.dev
CatOps Digest 2024-02-18
What was on CatOps in the last few weeks…
👍2
A friend of mine is raising money for an FPV-drone Bomber Insomnia for defenders from the 119 separate brigade of Territorial Defence.
You can donate directly to this Monobank Jar: https://send.monobank.ua/jar/LmRuSA8dm
#Donations #Ukraine
You can donate directly to this Monobank Jar: https://send.monobank.ua/jar/LmRuSA8dm
#Donations #Ukraine
send.monobank.ua
Безпечний переказ коштів
Надсилайте безкоштовно та безпечно кошти
👍9💩1
Linux Foundation has some discounts for its courses and certifications till the end of February. Including Kubernetes, ArgoCD, and Istio certifications.
They are still not cheap, but you can save up to 50%, which is nice.
#kubernetes #training #courses
They are still not cheap, but you can save up to 50%, which is nice.
#kubernetes #training #courses
Linux Foundation - Education
Promo Inactive - Linux Foundation - Education
Sign up for our newsletter to get updates on our latest promotions.
👍5
For you to know: the full Kubernetes CKS (certified security specialist) is available on YouTube. There are both theory and practice, but obviously you will need to take the exam separately.
#kubernetes
#kubernetes
YouTube
Kubernetes CKS Full Course Theory + Practice + Browser Scenarios
Certified Kubernetes Security Specialist (CKS) preparation!
!!! USE Ubuntu 24.04 instances instead of the 20.04 shown in the video !!!
This course does not include the 2024 changes and missing topics are: Cilium, PodSecurityStandards and SBOM. But these…
!!! USE Ubuntu 24.04 instances instead of the 20.04 shown in the video !!!
This course does not include the 2024 changes and missing topics are: Cilium, PodSecurityStandards and SBOM. But these…
👍20🔥3❤2
Some time ago I had a task to split the
So, I found this issue in the Helm’s repository. People were suggesting using AWK for that, but that didn’t work well for me at the time, so I opted out for YQ.
A couple of days ago someone left a comment to that issue that apparently there is a tool called Kubesplit that can do exactly that. So, feel free to use it if you need to achieve something similar to what I did.
#kubernetes
helm template output into separate files per object.So, I found this issue in the Helm’s repository. People were suggesting using AWK for that, but that didn’t work well for me at the time, so I opted out for YQ.
A couple of days ago someone left a comment to that issue that apparently there is a tool called Kubesplit that can do exactly that. So, feel free to use it if you need to achieve something similar to what I did.
#kubernetes
GitHub
feature request: option in `helm template` to split output files when using {{ range }} · Issue #4680 · helm/helm
Hi When using helm template to generate static yaml files, and when using --output-dir , helm correctly generate multiple files according to source files.. would be useful if in I can add some hint...
👍5❤1
Today marks the 2 year of the russian full-scale invasion of Ukraine.
Today there are going to be rallies in many cities around the globe.
You can find the list here:
https://ukrainianvictory.org/publications/announcement-pro-ukrainian-rallies-marking-the-second-anniversary-of-the-russian-invasion-updated/
Go there, take your family, take your friends, take your colleagues.
Remind you local politicians that war is not over and that there would be no peace in this world until ruzzia exists!
Today there are going to be rallies in many cities around the globe.
You can find the list here:
https://ukrainianvictory.org/publications/announcement-pro-ukrainian-rallies-marking-the-second-anniversary-of-the-russian-invasion-updated/
Go there, take your family, take your friends, take your colleagues.
Remind you local politicians that war is not over and that there would be no peace in this world until ruzzia exists!
International Center for Ukrainian Victory | ICUV
Announcement: Pro-Ukrainian Rallies Marking the Second Anniversary of the Russian Invasion (updated) - International Center for…
On February 24th, Ukrainians and supporters of Ukraine worldwide will mark the second anniversary of Russia’s full-scale invasion of Ukraine with mass actions. We will gather in city squares to raise awareness of the devastating war Ukraine is enduring. On…
❤🔥21💩1
For today’s Donations Monday I would like to remind you about Pavlo and Naya, who raise money on drones and telecommunication equipment.
P.S. Here’s a photo of a drone you helped to buy last week and it’s already on its way to the place.
P.S. Here’s a photo of a drone you helped to buy last week and it’s already on its way to the place.
👍6
Resend had a 12 hour outage on the 21st of February.
tl;dr:
> The database migration accidentally deleted data from production servers…
> … we performed a database migration command locally, but it incorrectly pointed to the production environment instead…
You can read it in more details is the article, but here are some of the action items from this postmortem:
- No accessible user role should have write privileges on the production database.
- Improve local development to reduce risks related to database migrations.
- Create redundancy to preserve sending function even during a database outage.
- Increase cadence for disaster recovery tests.
- Implement incident banner on Resend dashboard to inform users quickly.
So, I dunno, check your database. Maybe, you have such a risk as well.
Also, it’s kinda strange that people rarely talk about network isolation not only between their production and non-production environments, but also between their local environment and production. Make production access conscious. Put it on a separate role/VPN. Add some friction accessing it.
Moreover, for the love of god, validate your DB backups.
#postmortem #databases
tl;dr:
> The database migration accidentally deleted data from production servers…
> … we performed a database migration command locally, but it incorrectly pointed to the production environment instead…
You can read it in more details is the article, but here are some of the action items from this postmortem:
- No accessible user role should have write privileges on the production database.
- Improve local development to reduce risks related to database migrations.
- Create redundancy to preserve sending function even during a database outage.
- Increase cadence for disaster recovery tests.
- Implement incident banner on Resend dashboard to inform users quickly.
So, I dunno, check your database. Maybe, you have such a risk as well.
Also, it’s kinda strange that people rarely talk about network isolation not only between their production and non-production environments, but also between their local environment and production. Make production access conscious. Put it on a separate role/VPN. Add some friction accessing it.
Moreover, for the love of god, validate your DB backups.
#postmortem #databases
Resend
Incident report for February 21st, 2024
Detailed postmortem of the outage on February 21st.
🤯8👍1🫡1