FUNKER (@ifunker) header
FUNKER (@ifunker) profile picture

Radio engineer, driver, tester, developer

Berlin, Germany
Joined December 2009
Photo by FUNKER (@ifunker)Photo by FUNKER (@ifunker)Photo by FUNKER (@ifunker)Photo by FUNKER (@ifunker)Photo by FUNKER (@ifunker)Photo by FUNKER (@ifunker)Photo by FUNKER (@ifunker)Photo by FUNKER (@ifunker)Photo by FUNKER (@ifunker)Photo by FUNKER (@ifunker)
Things I should have put in my .gitconfig years ago
112
637
37
9,585
916,589
The effect of switching id for new records from UUID v4 to UUID v7 on INSERT to a 24 GB PostgreSQL table with 116M rows.
34
288
21
2,769
428,298
14 High-Performance Java Persistence Tips vladmihalcea.com/14-high-per…
3
41
211
38,243
#HoymilesCase Check out a DIY guide to a solar table using Hoymiles microinverters. Perfect for hands-on solar enthusiasts! A heartfelt thank to our community for sharing their experiences. Read the step-by-step guide here : bit.ly/3QfN35l #DIYSolar #balconysolar
3
1
8
424
Mein PV-Zaun steht! Der ist noch nicht verkabelt und angeschlossen. Einige Abschlussarbeiten fehlen noch. Der Zaun ist 16m lang und besteht aus 14x395Wp Canadian Solar Module für je 58,99€ und 7xMWR Hoymiles HMS800W-2T. Nach 4 Wochenende sieht nun so aus: Ein langer Thread 🧵
710
681
296
7,537
2,887,377
Apache Kafka 101 in 1 minute. 🔥 Let’s go! 👇 It’s a distributed commit log. A log is the simplest data structure - an ordered sequence of records that only supports appends. 🔒 It’s immutable, so you can’t delete or edit the records in place. Kafka stores its data in topics. They’re split into partitions, and replicated across brokers. 💡 The structure is roughly: topics → partitions → replicas → a bunch of files (the log) 1. Each topic has multiple partitions 2. Each partition has multiple (3) replicas 3. Each replica has a bunch of files All the files are the log. Kafka is a distributed system and each server is called a broker. Brokers host replicas of partitions. What’s left? Clients. How does the data get into and out of Kafka? Easy. 1. Clients (producers) send messages (records) to a Kafka node (broker). 💥 They can only write to the leader of a partition. 2. Other clients, called consumers, read and processed said messages. 📘 Consumers can read from any partition, be it leader or follower. 👌 These connect to the broker via TCP and use a custom protocol (the Kafka protocol) to communicate to the broker. The producer/consumer clients are simply a Java library that implements the Kafka protocol and gives you a nice interface to interact with. Nowadays there’s an implementation in virtually every language out there. 👌 Finally? Kafka is a distributed system. It requires coordination. Kafka achieves this by having specific brokers called “controllers”. At any one point, there is only one active controller. The controller is the main source of truth for metadata within the cluster. It’s responsible for a bunch of things, one of the main being handling broker failures by temporarily changing partition leadership. 💡 • Leader election between regular brokers is done through the controller. • Leader election between the controllers (picking the active one) is done through a variant of Raft (KRaft) All the cluster’s metadata is stored inside a simple (but special) Kafka topic whose leader is the active controller. All brokers replicate this topic - that’s how they get metadata. That’s it. Kafka in 1 minute.
3
148
2
688
43,299
Happy New year, dear seleniders! In 2023, we - celebrated the 12th anniversary of Selenide - made 19 releases with a bunch of features - upgraded to Java 17 - renamed "master" branch to "main" - replaced WebDriverManager by SeleniumManager And... 800K monthly downloads! Wow.
2
1
15
879
Benchmark JDBC connectors and Java 21 virtual threads mariadb.com/resources/blog/b…
4
64
2
259
36,913
The Spring Data JPA findById Anti-Pattern vladmihalcea.com/spring-data…
6
13
89
12,140
Do you remember when you joined X? I do! #MyXAnniversary – at Berlin, Germany
1
34
I’m still impressed by the killer combination of the latest Spring JDBC Client and Java Records. The database-specific code has become so clean and lightweight. And being able to see and write SQL directly feels much better than using an ORM.
31
47
10
326
69,481
5 Best Platforms to learn System Design for Interviews 1. ByteByteGo - bit.ly/3P3eqMN 2. Udemy - bit.ly/3vFNPid 3. Educative - bit.ly/3Mnh6UR 4. Exponent - bit.ly/3cNF0vw 5. ZTM - bit.ly/3zEPZ3j 6. Coursera - bit.ly/3BxMXzr
2
34
157
22,417
Bye Bye @Java 8 and 11 👋
13
118
33
514
124,593
14 High-Performance Java Persistence Tips vladmihalcea.com/14-high-per…
1
19
103
14,163
💡 AssertJ Tip: use `satisfies(..)` to execute multiple assertions on a nested object:
23
44
2
364
30,841
Hi @vodafoneservice, could you please help me understand where is the problem, based on my tariff Vodafone CableMax 500 I have to have up to 500 Mbit. Unfortunately, I have only 100Mbit, for me, it seems like a configuration problem on your side. My device supports that speed
1
1
127
100 tips to write clean code: 👇
21
59
7
211
41,797
It's easy to fall into the trap of the JPA's save() method anti-pattern. The method executes two JDBC statements - SELECT and INSERT! That's overkill, especially for multi-AZ or multi-region deployments. Solution by @vlad_mihalcea 👇 github.com/vladmihalcea/hype…
1
16
89
14,437
This year I published 29 posts on my blog ✍️ 3 The Most Popular: 🔹 Distributed Transactions in Microservices piotrminkowski.com/2022/01/2… 🔹 Useful & Unknown Java Features piotrminkowski.com/2022/01/0… 🔹 Manage Kubernetes Cluster with Terraform and Argo CD piotrminkowski.com/2022/06/2…
4
31
1
117
24,487