Tag

java

0 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Apr 18, 2025 · Backend Development

McDonald's Java Backend Interview Experience: IoC/DI, MyBatis, JVM, Concurrency, Docker/K8s

The article recounts a McDonald's China backend interview, explaining IoC/DI concepts, MyBatis benefits, JVM garbage‑collection and memory layout, MySQL engine differences, concurrency locking strategies, RPC advantages over HTTP, HTTPS basics, essential Docker/Kubernetes commands, and a typical Git workflow.

DockerInterviewIoC
0 likes · 17 min read
McDonald's Java Backend Interview Experience: IoC/DI, MyBatis, JVM, Concurrency, Docker/K8s
Java Tech Enthusiast
Java Tech Enthusiast
Apr 6, 2025 · Fundamentals

Git Rebase vs Merge and Number-to-String Translation Using Dynamic Programming

The article compares git rebase and git merge—explaining that merge preserves history with extra commits while rebase creates a linear log but rewrites public history—then presents a dynamic‑programming solution for translating a numeric string to letters, using dp[i]=dp[i‑1]+dp[i‑2] when the two‑digit slice is between 10 and 25, achieving O(n) time.

algorithmdynamic programminggit
0 likes · 6 min read
Git Rebase vs Merge and Number-to-String Translation Using Dynamic Programming
Java Tech Enthusiast
Java Tech Enthusiast
Jan 24, 2025 · Fundamentals

Sum of Two Integers Without Using + or - Operators

The problem asks to add two integers without using '+' or '-', which is solved by repeatedly applying bitwise XOR to obtain the sum without carry and left‑shifted AND to compute the carry until it vanishes, as demonstrated in concise Java and Python implementations with O(1) time and space complexity.

Pythonalgorithmbitwise
0 likes · 4 min read
Sum of Two Integers Without Using + or - Operators
DaTaobao Tech
DaTaobao Tech
Jan 20, 2025 · Fundamentals

Cyclomatic Complexity Management via Function Extraction

The article explains that cyclomatic complexity harms code quality and testability, and shows how using IDEA’s CodeMetrics plugin together with purposeful function extraction—splitting long, complex, or duplicated code into well‑named, reusable methods—reduces complexity, improves readability, and supports maintainable, testable software.

code qualitycyclomatic complexityfunction extraction
0 likes · 10 min read
Cyclomatic Complexity Management via Function Extraction
Java Tech Enthusiast
Java Tech Enthusiast
Jan 10, 2025 · Backend Development

RocketMQ Consumer Scaling and Load Balancing Strategies

In RocketMQ, adding consumers speeds consumption only when they are fewer than MessageQueues, while pull delays arise from ProcessQueue thresholds or ordered‑lock timeouts; slow processing often stems from heavy business logic or external calls, and load can be balanced using average, round‑robin, custom, machine‑room, nearby‑room, or consistent‑hash allocation strategies.

ConsumerLoad BalancingMessage Queue
0 likes · 9 min read
RocketMQ Consumer Scaling and Load Balancing Strategies
Java Tech Enthusiast
Java Tech Enthusiast
Aug 4, 2024 · Cloud Native

Deploy Web-based IntelliJ IDEA on a Cloud Server Using Docker

This guide walks you through configuring Docker mirrors, installing JDK and Maven, setting permissions, and using Docker Compose to launch a web‑based IntelliJ IDEA container on a cloud server, then accessing it via port 8887 for browser‑based Java development.

DevOpsDockerTutorial
0 likes · 6 min read
Deploy Web-based IntelliJ IDEA on a Cloud Server Using Docker
DeWu Technology
DeWu Technology
Apr 24, 2024 · Backend Development

State Machine Integration for New Product Onboarding

The article details how Dewu’s new product onboarding workflow was refactored into a Spring StateMachine‑driven architecture that separates channel‑specific logic via a Strategy‑pattern operation layer, defines clear enum status domains, and uses guards, actions, and choice states to achieve maintainable, extensible, and idempotent state transitions.

SpringState MachineWorkflow
0 likes · 20 min read
State Machine Integration for New Product Onboarding
DaTaobao Tech
DaTaobao Tech
Feb 7, 2024 · Backend Development

Log Management Practices for Reducing Cost and Improving Efficiency

The article presents a log‑governance case study that tackles classification, format, and tool chaos by introducing a three‑layer log hierarchy, simple non‑overlapping classification, fixed‑order CSV formatting, and reverse‑printed stack traces, achieving up to 88 % size reduction while improving cost efficiency and adaptability.

BackendStackTracejava
0 likes · 15 min read
Log Management Practices for Reducing Cost and Improving Efficiency
DaTaobao Tech
DaTaobao Tech
Jan 24, 2024 · Backend Development

Proper Use of Java Logging Systems and Frameworks

To correctly implement Java logging, choose a compatible framework‑system pair such as SLF4J with Logback, configure Maven dependencies and a rolling Logback XML, use MDC for context, enable dynamic level changes, avoid custom wrappers, and follow a checklist for cleanup and troubleshooting.

LogbackMavenSlf4j
0 likes · 13 min read
Proper Use of Java Logging Systems and Frameworks
DaTaobao Tech
DaTaobao Tech
Oct 27, 2023 · Backend Development

Millisecond-Startup Integration Testing Framework with Mock Spring and Mock Database

The article presents a millisecond‑startup integration‑testing framework that replaces costly Spring beans and database access with a mock container and mock DAO layer, enabling tests to launch in 3‑10 seconds, use real‑world data safely, and maintain fast, isolated, high‑quality test suites.

Springdatabase mockingintegration-testing
0 likes · 20 min read
Millisecond-Startup Integration Testing Framework with Mock Spring and Mock Database
DeWu Technology
DeWu Technology
Oct 18, 2023 · Backend Development

Understanding Bean Validation and Spring Validation in Java Applications

Bean Validation (JSR‑303/380) offers a standard, annotation‑driven API—implemented by Hibernate Validator—for declaring constraints such as @NotNull or @Email, while Spring integrates it via @Valid and @Validated (with group support and AOP‑based method validation), enabling automatic request‑body checks, custom constraints, and service‑layer validation, provided the proper annotations are applied.

Bean ValidationJSR-303Spring
0 likes · 15 min read
Understanding Bean Validation and Spring Validation in Java Applications
vivo Internet Technology
vivo Internet Technology
Apr 19, 2023 · Backend Development

Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System

The article details how a midnight interface timeout in Vivo’s e‑commerce activity system was traced to a logging bottleneck: a synchronous Log4j call blocked all threads while a cron‑driven log‑rotation script copied a 2.6 GB file, and the issue was resolved by switching to asynchronous logging with a non‑blocking appender.

BackendTomcatjava
0 likes · 17 min read
Investigation of Midnight Interface Timeout in Vivo E‑commerce Activity System
DaTaobao Tech
DaTaobao Tech
Nov 25, 2022 · Backend Development

Atmosphere Center Architecture and Configuration Management

The article explains Taobao’s Atmosphere visual marketing system, detailing the need for an Atmosphere Center, its three‑tier architecture with dual configuration portals, Diamond‑based synchronization, abstract handler classes for CRUD operations, and future plans to consolidate portals and streamline custom logic.

BackendMarketingarchitecture
0 likes · 12 min read
Atmosphere Center Architecture and Configuration Management
DaTaobao Tech
DaTaobao Tech
Mar 28, 2022 · Backend Development

Designing an Extensible Content Delivery Pipeline for E‑commerce

The article presents a modular, extensible content‑delivery pipeline for e‑commerce—comprising datasource, transfer, filter, sorter, completer, validator, factory and iterator nodes—implemented in Java, with JSON‑driven filter schemas, to simplify complex, low‑latency content handling, improve flexibility, and ease operations across evolving business requirements.

BackendContent Deliveryarchitecture
0 likes · 11 min read
Designing an Extensible Content Delivery Pipeline for E‑commerce
vivo Internet Technology
vivo Internet Technology
Oct 8, 2021 · Fundamentals

Applying Design Patterns to Improve Extensibility in Vivo Marketing Automation Engine

The Vivo Internet Server Team demonstrates how applying classic design patterns—factory, template method, strategy, and state—alongside finite‑state machines or workflow engines can dramatically improve the scalability, maintainability, and extensibility of a visual marketing automation engine for rapidly changing business scenarios.

Factory PatternState MachineStrategy Pattern
0 likes · 19 min read
Applying Design Patterns to Improve Extensibility in Vivo Marketing Automation Engine
Xianyu Technology
Xianyu Technology
Feb 8, 2021 · Backend Development

Design and Implementation of a Cluster‑Aware Guava Cache Component for High Reliability

The paper presents a cluster‑aware Guava cache component for Alibaba’s Xianyu platform that mitigates downstream service failures by adding asynchronous reload, cluster‑wide key invalidation, and size reporting, enabling automatic fallback to refreshed local data and improving latency, with future plans for a management console, tiered storage, and disk‑backed caching.

Guavabackendcaching
0 likes · 8 min read
Design and Implementation of a Cluster‑Aware Guava Cache Component for High Reliability