CatOps – Telegram
CatOps
5.09K subscribers
94 photos
5 videos
19 files
2.57K links
DevOps and other issues by Yurii Rochniak (@grem1in) - SRE @ Preply && Maksym Vlasov (@MaxymVlasov) - Engineer @ Star. Opinions on our own.

We do not post ads including event announcements. Please, do not bother us with such requests!
Download Telegram
​​Git is simply too hard.

I have mixed feelings about this article. On one hand, Git is too hard indeed. I personally google certain Git operations from time to time.

On another hand, this article doesn't provide any alternatives or ideas on how to fix this situation. Also, a lot of Git complexity comes from its distributed nature. Distributed systems are much harder to architect compared to centralized ones. Although, currently, we're mostly using Git as a centralized system nowadays.

So, I'll just add this well-known comics here.

#git
😁28👍5
UA Responders is a foundation that raises funds for tactical medicine, protective gear, and field hospitals.

And some drones, of course.

#donations #Ukraine
👍6
Handling concurrency is hard, even if it was made simple.

The Go 1.19 Atomic Wrappers and why to use them explores the sync/atomic package which was introduced in Go 1.19 and use cases for it.

I haven't used this one personally, but we have sync.Map in one of the projects to get the results from goroutines in one place.

#go #programming
👍9
Another article from our subscribers.

My experience migrating my infrastructure from Terraform to Pulumi is a story of the IaC migration to… well, Pulumi. A nice thing about this article is that it has some concrete examples of code as well as recommendations out of experience.

Yet, the final thoughts are somewhat questionable. For example, the claim that Pulumi is faster without any measurements.

BTW, I also wrote an article about Pulumi 3 years ago. It’s obviously outdated today but it’s interesting to observe how the project evolves.

P.S. If you want to share an article or just have a casual conversation, do not hesitate to join our chat (chat is in Ukrainian).

#pulumi #terraform #iac
3
Wanna share a video with you about WTF is Platform Engineering.

https://youtu.be/ghzsBm8vOms

I would say it's good enough. Mostly because the reality is usually more complex than the theory. However, if you were wondering WTF is Platform Engineering, this is a good start!

(and no, platform engineer is a specialization, not profession!)

#platform_eng
👍102
I personally don’t know this publisher. Yet, the noscripts of some books look interesting. For example, there is a book about FinOps as well as “Kubernetes for Jobseekers” (lol).

This is a Cloud OPS and Development bundle by BPB.

If you know this publisher or have any feedback on these books, feel free to share your impressions in our chat (chat is in Ukrainian).

As usual, you can pay different amount to unlock different number of books. This bundle is active for 20 more days.

#books
👍61
It may happen that you have a catch-all repository to store some work that may or may not be important. Notice, it's not quite a monorepo pattern, rather a single junkrepo. Like, I saw devops, utils, tools, and similar repositories in quite a few companies.

But what if some things from those repos are actually important, and you want to have a dedicated home for those things? Here's a guide by GitHub that explains how to separate things from a repository while saving the Git history.

This guide is created by GitHub, but it should work with any Git repository. Although, I only tested it with GitHub.

Enjoy!

#git #github
🤩7
​​Today's Donations Monday is for the joint fundraiser by Come Back Alive and Nova Posta - Protect the Sky.

The goal is to raise $8.9 million for Air Defense communications and mobile command posts.

#donations #Ukraine
👍12
A very cool bundle today! DevOps 2023 bundle by O’Reilly.

As usual, you can pay starting from ~€23 to unlock the whole bundle. And is has some good books like “Implementing SLOs” and “Database Reliability Engineering”.

#books #bundle
🤩101
Dead simple method of profiling your Go applications.

tl;dr:
- Import the github.com/pkg/profile package
- Add defer profile.Start().Stop() into your main function for CPU profile
- Add defer profile.Start(profile.MemProfile).Stop() for memory profile

#programming #golang
👍6
Some good practices for Argo Workflows. I'm not super familiar with this tool, so I'd just list the points here:

- Use common templates
- Limit parallelism to control cluster resources
- Avoid nested loops
- Collect metrics from your workflows
- Use lifecycle hooks
- Control long-running workflows or break down long workflows into separate smaller ones
- Integrate with Argo Events

#argocd #cicd #kubernetes
👍10
Yet another observability post: Datadog Alternative: When to Move Out? .

This article describes a fairly simple experiment: what would it cost to run Datadog compared to Prometheus & Thanos on different scales.

Although, the scope of the experiment was somewhat limited (no logs, no APM), it provides some numbers that you can use while evaluating different observability solutions.

The bottom line is: with the growth of your technological footprint, Datadog price grows faster compared to the Prometheus stack. Which is true for any SaaS solution compared to self-hosted, I believe.

However, another important considerations is that free software is not "free". You cannot just replace a vendor with an open-source tool and call it a day. You require engineering time to support and maintain those platforms. Therefore, on a smaller scale it might much more effective to use SaaS (especially, if you don't have experts in a given domain in your company yet).

#observability
👍8🔥3
This Monday, I want to share with you this list of charities you can donate to as well as other ways to support Ukraine.

http://stand-with-ukraine.pp.ua/

#donations #Ukraine
12
Just a small announcement: there won’t be many posts this week because I’m traveling.

You may also have noticed that there was no Sunday email last week. Well, I didn’t forget, but since this week is basically out, I’ll send out the newsletter this Sunday instead.

However, I’d like to share with you this book bundle about maths for programmers.

BTW, one of the books in this bundle is written by an Ukrainian (an article is in Ukrainian).

#books
7👏1🤷1