SESoftware Engineering Bloginhuanan.hashnode.dev·Dec 14, 2025 · 5 min readLeveraging CPython Built-ins for Better PerformanceBefore we begin, this article assumes you are using CPython, the default Python implementation. You can verify this by running: import sys print(sys.implementation.name) Typical outputs: cpython → CPython pypy → PyPy others → alternative implemen...00
SESoftware Engineering Bloginhuanan.hashnode.dev·Aug 1, 2025 · 3 min readCAP Theorem and consistency levelsThe CAP Theorem is an observation of a distributed system. It states that a distributed system can only guarantee 2 out of 3 properties: Consistency, Availability and Partition Tolerance. CAP Consistency: Every read gets the latest write, or an erro...00
SESoftware Engineering Bloginhuanan.hashnode.dev·May 25, 2025 · 4 min readMulti-threading vs Multi-ProcessingMulti-threading and multi-processing are two main ways we can achieve concurrency in an application. Concurrency allows us to execute tasks in parallel, which can help us increase throughput and/or reduce latency. For example, having multiple threads...00
SESoftware Engineering Bloginhuanan.hashnode.dev·Mar 25, 2025 · 2 min readResolving cyclical dependency in SpringIn this article we will go over a few ways we can handle cyclical dependencies in Spring. Introduction First, let’s go over what cyclical dependencies are. Cyclical dependencies occur when a dependency of a bean is either directly or indirectly depen...00
SESoftware Engineering Bloginhuanan.hashnode.dev·Oct 20, 2024 · 6 min readExactly-once processing in KafkaExactly-once processing in Kafka means each message is processed exactly one time — no duplicates or missed messages. However, implementing exactly-once is a difficult problem and strict guarantees are likely to come with severe performance trade-off...00