• DB Connection Pooling

    Pre-read: ThreadPoolExecutor Internals JavaDoc ThreadPoolExecutor in Java. References: Hikari CP Pool Sizing Need for Connection Pooling Performance: Connection pooling config vs load
  • [Java Services] Fixing 504 and 503 issues

    504 - Gateway timeout As the http message description says if the Gateway doesn’t receive the response after a stipulated time, the http-request is timed out and it responds the same to the caller. If the the service is...
  • BulkHead Pattern

    Pre-requisite: Threadpools in Java. Read my post on Concurrency in Java jump to ThreadPools Section. Bulkhead is one of the fault tolerance patterns that protects the system from complete failure when there is a failure/leak in one of the...
  • [IDE]: Standardize Java Code Formatting

    Goal Goal: Ensuring that the code formatting is consistent while working in different IDEs and should also match with build time formatting. Readable code is one of the traits of well engineered software. Optional Read Format during build phase...
  • My VS Code Setup & Settings Sync workflow

    Preread: VsCode Multi-root Workspaces Here is my local vscode setup structure. This post is preference based and may not be the right choice for every dev and it’s working for me so far. Goal: Sync all the settings(windows, wsl,...