JavaEdge
Author

JavaEdge

First‑line development experience at multiple leading tech firms; now a software architect at a Shanghai state‑owned enterprise and founder of Programming Yanxuan. Nearly 300k followers online; expertise in distributed system design, AIGC application development, and quantitative finance investing.

372
Articles
0
Likes
550
Views
0
Comments
Recent Articles

Latest from JavaEdge

100 recent articles max
JavaEdge
JavaEdge
Nov 9, 2024 · Artificial Intelligence

Build an AI‑Powered Airline Ticket Agent with Spring AI Alibaba

This tutorial walks through creating an intelligent airline‑ticket customer‑service agent using Spring AI Alibaba, covering requirements, architecture, RAG integration, function calling, chat memory, core capabilities, code implementation with ChatClient, and a sample running result.

AI AgentAlibabaChat Memory
0 likes · 9 min read
Build an AI‑Powered Airline Ticket Agent with Spring AI Alibaba
JavaEdge
JavaEdge
Oct 28, 2024 · Databases

Why Do MySQL Transactions Deadlock? Reproduce and Prevent InnoDB Deadlocks

This article explains how MySQL InnoDB deadlocks occur during order‑record idempotency checks, demonstrates step‑by‑step reproduction with SQL scripts, analyzes the lock types involved, and provides practical strategies to avoid and resolve such deadlocks in production systems.

DatabaseDeadlockInnoDB
0 likes · 13 min read
Why Do MySQL Transactions Deadlock? Reproduce and Prevent InnoDB Deadlocks
JavaEdge
JavaEdge
Oct 21, 2024 · Operations

Why Move Beyond Microservices? Unlocking Resilience with Unitized Architecture

This article explores the advantages of unitized architecture over traditional microservices, detailing how its modular design, dedicated routing layer, and tailored observability practices enhance system resilience, fault‑tolerance, and operational insight for large‑scale distributed applications.

Fault ToleranceResiliencedistributed systems
0 likes · 17 min read
Why Move Beyond Microservices? Unlocking Resilience with Unitized Architecture
JavaEdge
JavaEdge
Oct 19, 2024 · Backend Development

Why Java 21 Virtual Threads Can Stall Tomcat: A Deep Dive into CloseWait Sockets and Lock Contention

This article investigates a production issue on Java 21 where virtual threads cause Tomcat to stop processing requests, closeWait sockets to accumulate, and locks to deadlock, detailing the diagnostics, thread‑dump analysis, lock inspection, and the eventual conclusions about virtual‑thread behavior.

JavaVirtual Threadslock contention
0 likes · 19 min read
Why Java 21 Virtual Threads Can Stall Tomcat: A Deep Dive into CloseWait Sockets and Lock Contention
JavaEdge
JavaEdge
Oct 16, 2024 · Artificial Intelligence

How LangGraph + Waii Turn Natural Language into Complex SQL Queries

This article explains how the LangGraph framework combined with Waii’s text‑to‑SQL and visualization capabilities enables conversational data analysis by automatically generating, optimizing, and executing sophisticated SQL queries from natural language inputs.

AgentLangGraphWaii
0 likes · 14 min read
How LangGraph + Waii Turn Natural Language into Complex SQL Queries
JavaEdge
JavaEdge
Oct 15, 2024 · Artificial Intelligence

Build a Real‑Time Search & Bazi AI Agent with LangChain & FastAPI

This tutorial walks through creating a LangChain tool‑calling agent that combines a real‑time web search tool, a Qdrant vector store for local knowledge retrieval, and a custom Bazi fortune‑telling service, all wrapped in a FastAPI application for interactive use.

AI AgentFastAPILangChain
0 likes · 15 min read
Build a Real‑Time Search & Bazi AI Agent with LangChain & FastAPI
JavaEdge
JavaEdge
Oct 14, 2024 · Artificial Intelligence

Deploying LLMs with LangServe: A Complete Guide from Setup to Client Calls

This article introduces LangServe, explains its key features for LLM deployment, walks through environment setup, shows how to build a FastAPI‑based REST API with code examples, demonstrates testing via Postman and remote client calls, and summarizes its benefits for AI model serving.

AI model servingFastAPILLM deployment
0 likes · 9 min read
Deploying LLMs with LangServe: A Complete Guide from Setup to Client Calls
JavaEdge
JavaEdge
Oct 7, 2024 · Big Data

Master Data Analysis: From Collection to Visualization

This guide explains why data analysis is essential, breaks it into three core stages—data collection, data mining, and data visualization—offers practical tool recommendations, and presents principles for efficient learning and skill development.

Big DataData CollectionPython
0 likes · 10 min read
Master Data Analysis: From Collection to Visualization