Dan Iftodi
  • About

Author: Dan Iftodi

Notes on Structured Concurrency, Fibers/Coroutines

2 ianuarie 20212 ianuarie 2021 Dan Iftodi Leave a comment General

Resources: Notes on structured concurrency, or: Go statement considered harmful Roman Elizarov — Structured concurrency KotlinConf 2017 – Deep Dive into Coroutines on JVM by Roman Elizarov Communicating sequential processes This blog post is in progress so I will update it gradually. There is a presentation that I have recorded:

Continue reading


Cloud-Native

27 septembrie 202025 decembrie 2020 Dan Iftodi Leave a comment Architecture, Engineering

This article describes how a Cloud Native application should look like, it is based on the well known 12 Factors. At the moment of writing this article, in my understanding, the Cloud Native is not only about code that developers write, but it is also a way of organizing engineering teams so that their work […]

Continue reading


AbstractBuilder pattern that returns the subclass instance

17 martie 202018 martie 2020 Dan Iftodi Leave a comment Effective Java, Engineering, Patterns

I will start with a simple example where we want to have an AbstractBuilder for building Pet instances, in our example this will be a Dog. Here are the Pet class, and the Dog class that extends Pet Suppose we need a builder for building Dog instances and we know that in future there will […]

Continue reading


Kotlin Basics

24 ianuarie 202023 ianuarie 2020 Dan Iftodi Leave a comment Engineering, Kotlin

The Unit return type declaration is optional for functions. The following codes are equivalent. Single-Expression functions:When a function returns a single expression, the curly braces can be omitted and the body is specified after = symbol fun sum(a : Int, b : Int) : Int = a + b Explicitly declaring the return type is […]

Continue reading


Kotlin Intro

23 ianuarie 202023 ianuarie 2020 Dan Iftodi Leave a comment Engineering, Kotlin

Hello World Kotlin programs start at the main function. Here is an example of a simple Kotlin “Hello World” program: When compiled this code will be compiled into a file named after file name + ‘Kt’, if your file was named Main.kt, the compiled code will be in a file name MainKt. In the above […]

Continue reading


An Agile approach in software building

20 octombrie 201930 iunie 2020 Dan Iftodi Leave a comment Architecture, Engineering

When writing software, it is important to keep you organized and focused, losing focus or vague understanding requirements will endup in a bad written system in the best case. If you have got a large body of work that needs to go into production there are lots potential things that can go wrong. When you […]

Continue reading


Retry mechanism in an event based architecture

14 septembrie 20192 ianuarie 2021 Dan Iftodi Leave a comment Architecture

In this article I would like to explain what kind of problems can we encounter when working with Apache Kafka and how we can address them. Apache Kafka is a distributed streaming platform, it is used for building real-time data pipelines, because of persistence of topics it can be used for processing historical message events; […]

Continue reading


S3Fuse Java

29 august 201929 august 2019 Dan Iftodi Leave a comment General

S3Fuse allows you to mount an S3 bucket to your local storage and interact with it like it was stored into your local storage. It is written in Java and it will be published to my github account soon. It allows to read data from S3 but it is not possible yet to write data […]

Continue reading


Hashing performance problem and how it was solved

31 iulie 20191 august 2019 Dan Iftodi Leave a comment General

Recently I run into a problem where hashing some data had a big impact on the application performance. There are few factors that influenced this but it required 2.5x more instances, imagine when you have 15 instances of you application in production and it requires 38 to serve the same traffic. In order to understand […]

Continue reading


Indexes – Choosing a good column order

26 aprilie 20192 mai 2019 Dan Iftodi Leave a comment MySQL

The purpose of this article is to explain (mainly to myself) a technique for creating good indexes for mysql database. Before starting I would like to discuss about selectivity. Index selectivity is the ratio of number of distinct indexed values ( the cardinality) over the total numbers of rows in the table (#T), and ranges […]

Continue reading


Posts navigation

Older posts

Categorii

  • Engineering (35)
    • Architecture (3)
    • Debugging Techniques (3)
    • Effective Java (19)
      • Classes and Interfaces (4)
      • Creating and destroying objects (7)
      • Methods Common to All Objects (5)
    • Kotlin (2)
    • MySQL (1)
    • Spring (1)
    • Talks (2)
  • General (76)
  • IT (65)
    • AVR (5)
    • Patterns (5)
    • Programare (35)
  • Stiinta (4)
  • Timp Liber (21)
  • UTM (28)
  • Video (10)
Search for:
AtlantaSoft - all rights reserved. Theme by Colorlib Powered by WordPress