Daniel Lemire wrote in Performance tip: avoid unnecessary copies , comparing Bun to Node.js , about a particular case where copying data becomes expensive: It turns out that the copy was not happening as part of base64 decoding but in a completely separate function. There is an innocuous function in Node.js called StringBytes::Size which basically must provide an upper on the memory needed by the…
A couple of weeks ago, I’ve started reading Writing An Interpreter In Go . Reading this book means I’ll be building an interpreter for a language called monkey ( you can follow my implementation ). It is a topic that I’ve always been curious about but never actually took the plunge and decided to study it. I’ve dabbled a little bit with it in university. But we never actually wrote any of the…
I’ve kept this tradition of looking back at the traffic every six months since 2021 ( here and here ). This time, it also marks the end of the year, in terms of traffic, which makes this review two-fold: a six-month review along with a yearly review. In total, from July 2022 to December 2022, there were 11868 visitors and 13517 pageviews (~73/day). Google is still the biggest source of traffic,…
I’ve been using Temporal , “a developer-first, open source platform that ensures the successful execution of services and applications”, for troubleshooting purposes for a while now. We use it quite extensively at Datadog . Recently, I’ve started actually implementing something on top of Temporal and was amazed at the simplicity of its testing framework. At first I was a…
Last year I started publishing short summaries about the traffic this website receives. You can see the initial reports for January to June 2021 and July to December 2021 . This year I’m trying to keep doing just that. Here’s the traffic this website received during the initial semester of 2022. In total, from January to June 2022, there were 13127 unique visitors and 15156 pageviews…
kubectl explain can be used to get more information about which fields a given resource needs, as well as the meaning behind those fields. It can be used in mainly two ways: either for getting information about the fields of a resource (e.g. kubectl explain <resource> ) or by getting information about a specific field of a resource (e.g. kubectl explain <resource>.<field/s> ). Together with…
kubectl run is a command that can “create and run a particular image in a pod” , which means that it will start a pod with a particular image. It can also create the pod with some particular details by using combinations of flags. We can see the code for it in pkg/cmd/run/run.go . Interesting Flags --image specifies the image to be executed. --command allows to overwrite the command…
I recently started a quest to complete CKAD in the next few months, by May 2022. As I’ve explained in that previous essay, “I have spent quite some €€€ enrolling in it and I feel that it can still teach me a lot of relevant concepts about Kubernetes that will be useful” on my day-to-day. While studying for CKAD, through Kubernetes Certified Application Developer (CKAD) with Tests…
May 2021 in sunny Portugal. I virtually attended KubeCon + CloudNativeCon Europe 2021 , writing a series of daily highlights about this experience. It focused on the talks I most enjoyed, what I learned and technologies I’d keep an eye on. I even took the time to write some tweets, even though I barely use Twitter. At the time, I was using Kubernetes extensively. I was working as an SRE,…
Earlier this year I wrote Traffic: January to June 2021 with a quick summary about the traffic this website received between January and June of 2021. As I stated when I wrote it, it “isn’t necessarily an immediate concern whether this website gets much traffic” but it is always interesting to analyze and I’m always curious about it. So, without further ado, here are a few…