You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Byte Buddy: A Practical Guide to Java Bytecode Instrumentation
Byte Buddy: A Practical Guide to Java Bytecode Instrumentation
Byte Buddy lets you create and modify Java classes at runtime without a compiler.
You can add methods, intercept calls, inject fields, and rewrite bytecode — all after the JVM has started.
This guide walks through every major strategy with working examples, failure cases, and real-world parallels.
A Shared Gradle Build System for Multi-Repo Platforms
Large Java platforms often span dozens of repositories — each with its own build files, dependency declarations, and tooling configuration. Without a unified approach, version drift creeps in, build logic gets duplicated, and a routine dependency upgrade turns into a multi-repo coordination nightmare.
This post walks through an architecture pattern that solves this using Gradle: a dedicated shared-build repository that acts as the single source of truth for build logic, dependency versions, and project conventions across every repo in the platform.
Here's a clean, concise summary of the key steps to design a Ticket Booking System (like BookMyShow or Ticketmaster) in a system design interview:
1. Clarify Requirements (5–8 mins)
Functional: Browse/search events by city/date/category → View seat map → Select & hold seats → Make payment → Confirm booking → View/cancel bookings.
Non-Functional: Handle high concurrency (flash sales), prevent double-booking (strong consistency for seats), low latency, high availability (99.99%), scalability to 10k–100k+ RPS at peak.
Ask about scale, payment integration, cancellation rules, admin features.
Here's a simple Python script that creates a tiny HTTP server and echoes back any payload/body sent in a GET request (even though this is very non-standard and most real APIs reject it).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters