Skip to content
Being BE

Archives

All the articles I've archived.

202619
November10
  • Scribbles

    —views

    After failing to properly answer, in an AI Platform Engineer interview, why I applied for that role when I had been aiming for backend, I scribble down why I wanted to become a developer in the first place and what has kept me going in development.

  • Contributing to JUnit, Part 4: Writing the Release Note, Addressing the Maintainer's Review, and Getting Merged

    —views

    I wrap up the last stretch of JUnit PR #6281. I added my change to the 6.2.0-M2 release notes, which are written in AsciiDoc, then added the cancellation scenario tests the maintainer asked for in the full review, until the PR got merged.

  • Contributing to Jetty, Part 2: Real Server Tests, Writing the Docs, and Opening the PR

    —views

    I wrap up the remaining work on Jetty issue #14362. I tested that a real server using QueuedThreadPool with a virtual ThreadFactory handles 100 requests within the cap, then documented how to limit virtual thread creation with QueuedThreadPool and opened PR #16207.

  • Contributing to Hibernate ORM, Part 1: Analyzing the ClassCastException Caused by a Criteria Subquery Type Mismatch and Opening a PR

    —views

    A record of analyzing Hibernate ORM issue HHH-18831 and opening a PR. I look at why, starting with Hibernate 6, a mismatch between a Criteria subquery's declared type and its actual select type blows up with a ClassCastException in an unrelated place, using the query processing structures of Hibernate 5 and 6 and the SQM tree, and then fix it so the subquery's select() reuses an existing validation utility and throws immediately.

  • Contributing to JUnit, Part 3: Addressing the First Review and Structuring Cancellation Checks with shouldContinue

    —views

    I walk through how I addressed the first review on JUnit PR #6281. The reviewer pointed out that a cancellation check I'd left out, relying on the loop check, creates an implicit dependency, and that a user cancelling between steps can't be reproduced in a test, so I tied the entry conditions and the cancellation check together in a single shouldContinue.

  • Contributing to JUnit, Part 2: Adding Cancellation Checks to the Jupiter Lifecycle and Opening a PR

    —views

    I walk through how I fixed JUnit issue #6268. I write a reproduction test, carry the CancellationToken in JupiterEngineExecutionContext so each lifecycle step checks for cancellation, then find the limits of checking only between steps, move the check into the common callback loops, and open PR #6281.

  • Contributing to JUnit, Part 1: Analyzing Why Test Cancellation Is Ignored While @BeforeEach Runs

    —views

    I walk through how I picked up JUnit's up-for-grabs issue #6268 and analyze why a test still runs to the end when you press the stop button in IntelliJ while @BeforeEach is running. I look at CancellationToken's cooperative cancellation and the checkpoints in JUnit's execution structure, then lay out the fix direction of passing the token into the Jupiter context and the work plan.

  • Contributing to Jetty, Part 1: Exploring and Verifying the Virtual Thread Creation Limit Issue

    —views

    For my first open source contribution, I picked a Jetty issue about documenting how to limit the number of virtual threads created. I cover how I chose the issue, open source culture, and the #14330 discussion that started it, and record how I verified with tests the approach of plugging a virtual thread ThreadFactory into QueuedThreadPool.

  • Cloud Migration, Part 2: Preparing the DB Cutover with Sync Monitoring and a Shadow Rehearsal

    —views

    I walk through what happens after the data is moved with PostgreSQL logical replication and before the DB cutover is approved. The platform monitors the sync through replication state and lag, runs a shadow rehearsal by mirroring real GET traffic through Envoy, connects the app to PgBouncer, and then requests cutover approval.

  • Cloud Migration, Part 1: Zero-Downtime Data Migration with PostgreSQL Logical Replication

    —views

    I walk through how the cloud migration platform we built at the SoftBank Hackathon moved PostgreSQL from AWS EKS to an on-premises k3s cluster. It builds a replication path over a WireGuard tunnel, verifies it with a network preflight, and moves the data with logical replication (initial copy + CDC) without stopping the app.

October9