---
title: "Piotr (@PiDu) | Hashnode"
description: "Passionate tech lover and Java developer. Read the latest articles by Piotr on Hashnode."
url: "https://hashnode.com/@PiDu"
---

@PiDu

# Piotr

@PiDu · Poland, Warsaw · Joined June 2023

Passionate tech lover and Java developer

### [Postgres attach partition deadlocks](https://piotrd.hashnode.dev/postgres-attach-partition-deadlocks?utm_source=hashnode&utm_medium=feed)

It is quite easy in busy database to cause deadlocks when dynamically attaching partitions, or hold the locks for too long. Let’s see why this occurs and how to attach partitions in optimal way. Possible approaches Lets start the db with: docker run...

6 min read · [piotrd.hashnode.dev](https://piotrd.hashnode.dev/postgres-attach-partition-deadlocks?utm_source=hashnode&utm_medium=feed)

[Apr 7, 2025](https://hashnode.com/posts/postgres-attach-partition-deadlocks/67f4470b939c4583e2c113e8)

### [Mockito and strange UnfinishedStubbing problems](https://piotrd.hashnode.dev/mockito-and-strange-unfinishedstubbing-problems?utm_source=hashnode&utm_medium=feed)

Resolving UnfinishedStubbing issues in Mockito in async/multithreaded operations with locks for safe integration testing

3 min read · [piotrd.hashnode.dev](https://piotrd.hashnode.dev/mockito-and-strange-unfinishedstubbing-problems?utm_source=hashnode&utm_medium=feed)

[Sep 1, 2024](https://hashnode.com/posts/mockito-and-strange-unfinishedstubbing-problems/66d4a512dc237cd8f1a44e83)

### [Containerized JVM OOMKilled problem](https://piotrd.hashnode.dev/containerized-jvm-oomkilled-problem?utm_source=hashnode&utm_medium=feed)

Is your Kubernetess container using more memory than heap + off-heap?

6 min read · [piotrd.hashnode.dev](https://piotrd.hashnode.dev/containerized-jvm-oomkilled-problem?utm_source=hashnode&utm_medium=feed)

[Aug 1, 2023](https://hashnode.com/posts/containerized-jvm-oomkilled-problem/64c9453a7ca1672300aa8c92)

### [Java's reactive connection pooling performance caveat](https://piotrd.hashnode.dev/javas-reactive-connection-pooling-performance-caveat?utm_source=hashnode&utm_medium=feed)

R2dbc is a great driver but it can sacrifice some performance.. for the sake of performance

5 min read · [piotrd.hashnode.dev](https://piotrd.hashnode.dev/javas-reactive-connection-pooling-performance-caveat?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/javas-reactive-connection-pooling-performance-caveat/64a1d8e1e16902f78ec7f9a6) [Jul 2, 2023](https://hashnode.com/posts/javas-reactive-connection-pooling-performance-caveat/64a1d8e1e16902f78ec7f9a6)
