<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Posts on satrobit</title>
    <link>https://satrobit.com/posts/</link>
    <description>Recent content in Posts on satrobit</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 18 Apr 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://satrobit.com/posts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AWS Summit Amsterdam 2025 – Key Takeaways &amp; Reflections</title>
      <link>https://satrobit.com/posts/aws-summit-amsterdam-2025-key-takeaways-reflections/</link>
      <pubDate>Fri, 18 Apr 2025 00:00:00 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/aws-summit-amsterdam-2025-key-takeaways-reflections/</guid>
      <description>With the AWS Summit Amsterdam 2025 now wrapped up, I thought it was worth writing down some reflections. This isn&amp;rsquo;t your typical event recap—consider it part observation, part opinion.
After speaking with attendees and walking the floor, it seems many felt this year’s summit was one of the most thought-provoking in recent memory. While not as flashy or extravagant as previous editions, it made up for it with substance and energy.</description>
    </item>
    
    <item>
      <title>Developing Custom Plugins for CoreDNS</title>
      <link>https://satrobit.com/posts/developing-custom-plugins-for-coredns/</link>
      <pubDate>Sun, 30 Jun 2024 14:05:27 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/developing-custom-plugins-for-coredns/</guid>
      <description>Introduction To CoreDNS CoreDNS is a powerful, flexible DNS server written in Go. One of its key features is its plugin-based architecture, which allows users to extend its functionality easily. In this blog post, we&amp;rsquo;ll explore how to write custom plugins for CoreDNS.
As previously mentioned, CoreDNS utilizes a plugin chain architecture, enabling you to stack multiple plugins that execute sequentially. Most of CoreDNS&amp;rsquo;s functionality is provided by its built-in plugins.</description>
    </item>
    
    <item>
      <title>Extending Envoy with WebAssembly Proxy Filters</title>
      <link>https://satrobit.com/posts/extending-envoy-with-webassembly-proxy-filters/</link>
      <pubDate>Tue, 12 Jul 2022 00:41:33 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/extending-envoy-with-webassembly-proxy-filters/</guid>
      <description>Introduction To Envoy Envoy is an open-source edge and service proxy designed for cloud-native applications.
We can use Envoy as a gateway or a sidecar proxy in scenarios where we need connectivity between services.
It works by applying a number of filters on the data that goes through its proxy.
We can read or manipulate the data using built-in or custom filters/plugins via a filter chain architecture. This design has a proven record for this kind of application, as we&amp;rsquo;ve also seen a similar design in NGINX and other reverse proxies.</description>
    </item>
    
    <item>
      <title>Cache Replacement Algorithms: How To Efficiently Manage The Cache Storage</title>
      <link>https://satrobit.com/posts/cache-replacement-algorithms-how-to-efficiently-manage-the-cache-storage/</link>
      <pubDate>Thu, 14 Oct 2021 12:30:22 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/cache-replacement-algorithms-how-to-efficiently-manage-the-cache-storage/</guid>
      <description>Caching Let&amp;rsquo;s start at the beginning and talk about what caching even is.
Caching is the process of storing some data near where It&amp;rsquo;s supposed to be used rather than accessing them from an expensive origin, every time a request comes in.
Caches are everywhere. From your CPU to your browser. So there&amp;rsquo;s no doubt that caching is extremely useful. implementing a high-performance cache system comes with its own set of challenges.</description>
    </item>
    
    <item>
      <title>A Closer Look Into The World of Database Replication</title>
      <link>https://satrobit.com/posts/a-closer-look-into-the-world-of-database-replication/</link>
      <pubDate>Sun, 15 Aug 2021 17:45:21 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/a-closer-look-into-the-world-of-database-replication/</guid>
      <description>We all have used or heard about database replication at some point but have you ever wondered how It works underneath?
That&amp;rsquo;s exactly what we&amp;rsquo;ll be doing here.
Replication is basically copying an object from one space into another. Replicating immutable objects like a movie file is as simple as copying its bytes.
Replication a database which is a mutable object comes with its own challenges. How do you copy an object that is always changing?</description>
    </item>
    
    <item>
      <title>Rate limiting using the Sliding Window algorithm</title>
      <link>https://satrobit.com/posts/rate-limiting-using-the-sliding-window-algorithm/</link>
      <pubDate>Thu, 12 Aug 2021 06:51:27 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/rate-limiting-using-the-sliding-window-algorithm/</guid>
      <description>In this part of the rate-limiting series, we will introduce the Sliding Window algorithm and implement it in Python.
Even though there are more rate-limiting algorithms out there, I&amp;rsquo;m going to end the series here since I think These three algorithms are a pretty good gateway to the rate-limiting techniques.
Sliding Window Unlike the previous Fixed Window algorithm, this algorithm does not limit the requests based on a fixed time unit.</description>
    </item>
    
    <item>
      <title>CPU Time: How To Accurately Benchmark Your Code</title>
      <link>https://satrobit.com/posts/cpu-time-how-to-accurately-benchmark-your-code/</link>
      <pubDate>Wed, 04 Aug 2021 17:37:42 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/cpu-time-how-to-accurately-benchmark-your-code/</guid>
      <description>I&amp;rsquo;m going to assume that everyone reading this post has done some benchmarking here and there. But have you ever thought about how accurate are your readings?
In this post, we will talk about a few misconceptions, task schedulers, CPU timings, and a real example in C.
Misconceptions Time matters Ok, to be fair, the title is click-bait. Time really matters but not the time you see on your clock! We only care how much time is CPU spending on our process and that&amp;rsquo;s usually not the wall-clock time.</description>
    </item>
    
    <item>
      <title>Rate limiting using the Fixed Window algorithm</title>
      <link>https://satrobit.com/posts/rate-limiting-using-the-fixed-window-algorithm/</link>
      <pubDate>Wed, 21 Jul 2021 17:21:33 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/rate-limiting-using-the-fixed-window-algorithm/</guid>
      <description>In the previous post, we went through rate-limiting and what it is. Then, we introduced an algorithm called Token Bucket and implemented it in Python.
I&amp;rsquo;ve decided to turn this into a series and dedicate each post to an algorithm.
And in this post, we will learn about Fixed Window and its implementation in Python.
Fixed Window As the name suggests, It&amp;rsquo;s all about windows. In this algorithm, we divide the time into fixed windows and then map the incoming events into these windows.</description>
    </item>
    
    <item>
      <title>Rate Limiting in IPv6 Era Using Probabilistic Data Structures</title>
      <link>https://satrobit.com/posts/rate-limiting-in-ipv6-era-using-probabilistic-data-structures/</link>
      <pubDate>Thu, 17 Jun 2021 15:01:01 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/rate-limiting-in-ipv6-era-using-probabilistic-data-structures/</guid>
      <description>In any system where two parties communicate with each other, we hear things like rate-limiting, flow control, etc. The problem is that all systems have limits and to protect the system, you&amp;rsquo;d need to somehow control the flow of information passing through.
As you may have already figured out, we&amp;rsquo;re going to talk about a specific problem regarding rate-limiting in IPv6 networks.
Packets When we communicate through computer networks, we need to break down our data into smaller pieces called packets.</description>
    </item>
    
    <item>
      <title>Function as a service: behind the scenes</title>
      <link>https://satrobit.com/posts/function-as-a-service-behind-the-scenes/</link>
      <pubDate>Sun, 28 Mar 2021 14:49:05 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/function-as-a-service-behind-the-scenes/</guid>
      <description>It&amp;rsquo;s been months when I first decided to write this post but I honestly didn&amp;rsquo;t know to structure all the materials. With that in mind, I started writing it so let&amp;rsquo;s see how It goes.
This article tends to be a little bit unfair because I won&amp;rsquo;t cover all topics equally. There are some things that interest me more than others.
Introduction to Function as a service As the name suggests, in this model we deploy units of &amp;ldquo;function&amp;rdquo; or &amp;ldquo;code&amp;rdquo;.</description>
    </item>
    
    <item>
      <title>Rate limiting using the Token Bucket algorithm</title>
      <link>https://satrobit.com/posts/rate-limiting-using-the-token-bucket-algorithm/</link>
      <pubDate>Thu, 17 Dec 2020 13:33:59 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/rate-limiting-using-the-token-bucket-algorithm/</guid>
      <description>Rate Limiting The term &amp;ldquo;rate-limiting&amp;rdquo; is known to almost everyone who has worked with web servers. I think It&amp;rsquo;s one of those subjects that we often just use and don&amp;rsquo;t think about it. But I think knowing how rate limiting works is useful If you have ever used it.
As you may know, &amp;ldquo;rate-limiting&amp;rdquo; is basically monitoring the incoming requests and making sure they don&amp;rsquo;t violate a threshold. Basically, we define a rate of requests per time-unit and discard packets of a stream that is sending more packets than the one defined in our rate.</description>
    </item>
    
    <item>
      <title>Absolute Beginner&#39;s Guide to BCC, XDP, and eBPF</title>
      <link>https://satrobit.com/posts/absolute-beginner-s-guide-to-bcc-xdp-and-ebpf/</link>
      <pubDate>Thu, 26 Nov 2020 10:52:03 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/absolute-beginner-s-guide-to-bcc-xdp-and-ebpf/</guid>
      <description>Introduction If you&amp;rsquo;re reading this, chances are you have some idea of eBPF and XDP. In this article, we&amp;rsquo;ll write an eBPF program that will count and categorize packets based on the destination port.
eBPF Writing low-level tracing, monitoring, or network programs in Linux is not easy. Through all the layers of the kernel, people have been squeezing every bit of performance they could get.
And that&amp;rsquo;s where eBPF comes in.</description>
    </item>
    
    <item>
      <title>NGINX Load balancer Cluster with automatic configuration and node failure detection using Serf</title>
      <link>https://satrobit.com/posts/nginx-loadbalancer-cluster-with-automatic-configuration-and-node-failure-detection-using-serf/</link>
      <pubDate>Thu, 21 May 2020 14:21:48 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/nginx-loadbalancer-cluster-with-automatic-configuration-and-node-failure-detection-using-serf/</guid>
      <description>Introduction In one of my previous articles, I wrote about gossip protocol and memberlist and we also learned how to use the memberlist library in order to create a simple cluster for TCP health check purposes.
Now It&amp;rsquo;s time to learn about HashiCorp Serf. Serf is a software for Decentralized Cluster Membership, Failure Detection, and Orchestration based on the memberlist.
With Serf You&amp;rsquo;ll not need to code in Go or worry about the underlying layers of a decentralized cluster.</description>
    </item>
    
    <item>
      <title>WebAssembly, Wasmer And Embedding Wasmer in C program</title>
      <link>https://satrobit.com/posts/webassembly-wasmer-and-embedding-wasmer-in-c-program/</link>
      <pubDate>Sun, 26 Apr 2020 07:50:37 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/webassembly-wasmer-and-embedding-wasmer-in-c-program/</guid>
      <description>Introduction In this article, We&amp;rsquo;re going to talk about WebAssembly, Wasmer and how to embed Wasmer in a C application.
WebAssembly WebAssembly is a portable binary instruction format for virtual stack machines.
It aims to execute at native or near-native speed by assuming a few characteristics about the execution environment.
WebAssembly is designed to be executed in a fully sandboxed environment with linear memory. The binary is completely blind to the host environment by default because of that design.</description>
    </item>
    
    <item>
      <title>Introduction to gossip/epidemic protocol and memberlist</title>
      <link>https://satrobit.com/posts/introduction-to-gossip-epidemic-protocol-and-memberlist/</link>
      <pubDate>Sat, 21 Mar 2020 16:24:27 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/introduction-to-gossip-epidemic-protocol-and-memberlist/</guid>
      <description>Introduction At the time of writing this article, we have an ongoing pandemic in the world called COVID-19. We’ve seen how pandemics and viruses, in general, are efficient at what they do so why not use this behavior in computer science?
Distributed Systems Let’s look at the human body and how it works. In this metaphor, the human body is nothing more than a multicellular organism. Multicellular organisms are basically multiple cells acting as a single unit.</description>
    </item>
    
    <item>
      <title>Introduction to Remote Wind Measurement Lidars</title>
      <link>https://satrobit.com/posts/introduction-to-remote-wind-measurement-lidars/</link>
      <pubDate>Mon, 28 Oct 2019 19:00:21 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/introduction-to-remote-wind-measurement-lidars/</guid>
      <description>“Wind LIDAR (a portmanteau of “light” and “radar”) is a technique where low-noise laser light is used to measure wind speed and direction with high accuracy.”
“The accurate prediction of energy yield is vital to the success of wind farm projects. Wind data has traditionally been collected — with great difficulty — using expensive anemometry masts and numerous measurement points.
Raising an anemometry mast results in several negative issues such as the need for building permits, environmental concerns as well as health &amp;amp; safety concerns.</description>
    </item>
    
    <item>
      <title>How to build https servers with certificate lazy loading in Go</title>
      <link>https://satrobit.com/posts/how-to-build-https-servers-with-certificate-lazy-loading-in-go/</link>
      <pubDate>Fri, 02 Aug 2019 16:43:55 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/how-to-build-https-servers-with-certificate-lazy-loading-in-go/</guid>
      <description>Go has become extremely popular between server programmers in recent years and as this rising popularity continues some specific needs emerge.
In this article, we’re going to talk about the use of Go in https servers, reverse proxies and the problems that appear when hosting a large number of domains.
Problem Let’s assume we’re going to build a reverse proxy which hosts a large number of domains like edge servers for a CDN.</description>
    </item>
    
    <item>
      <title>Extend NGINX with Lua — DDOS Mitigation using Cookie validation</title>
      <link>https://satrobit.com/posts/extend-nginx-with-lua-ddos-mitigation-using-cookie-validation/</link>
      <pubDate>Fri, 26 Jul 2019 16:34:48 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/extend-nginx-with-lua-ddos-mitigation-using-cookie-validation/</guid>
      <description>Introduction “OpenResty® is a full-fledged web platform that integrates our enhanced version of the Nginx core, our enhanced version of LuaJIT, many carefully written Lua libraries, lots of high quality 3rd-party Nginx modules, and most of their external dependencies. It is designed to help developers easily build scalable web applications, web services, and dynamic web gateways.”
Challenge One of the challenges facing web server operators is to detect bots from real users.</description>
    </item>
    
    <item>
      <title>How to set up an NGINX reverse proxy cluster with a shared cache</title>
      <link>https://satrobit.com/posts/how-to-set-up-an-nginx-reverse-proxy-cluster-with-a-shared-cache/</link>
      <pubDate>Mon, 03 Jun 2019 14:50:19 +0000</pubDate>
      
      <guid>https://satrobit.com/posts/how-to-set-up-an-nginx-reverse-proxy-cluster-with-a-shared-cache/</guid>
      <description>What is NGINX? NGINX is a Web Server/Load Balancer/Reverse Proxy which uses an event-driven model to handle incoming requests instead of those costly threads!
The rise of NGINX in recent years has made it the de facto standard for many who need performance and more.
What is the problem?! Scaling edge reverse proxies can be a little tricky if not familiar. Problems appear when you need lots of storage to cache files.</description>
    </item>
    
  </channel>
</rss>
