Long Ge's Treasure Box
Author

Long Ge's Treasure Box

I'm Long Ge, and this is my treasure chest—packed with cutting‑edge tech insights, career‑advancement tips, and a touch of relaxation you crave. Open it daily for a new surprise.

13
Articles
0
Likes
1
Views
0
Comments
Recent Articles

Latest from Long Ge's Treasure Box

13 recent articles
Long Ge's Treasure Box
Long Ge's Treasure Box
Jul 16, 2026 · Databases

NewSQL in Practice: Overview, HTAP Architecture, and Real-World Migration Cases

This article introduces NewSQL databases, compares popular products such as TiDB, CockroachDB, SingleStore, and YugaByteDB, explains HTAP architecture and storage‑compute separation, demonstrates TiDB configuration and serverless scaling, and provides concrete migration and real‑time analytics examples with code snippets.

Database MigrationHTAPNewSQL
0 likes · 8 min read
NewSQL in Practice: Overview, HTAP Architecture, and Real-World Migration Cases
Long Ge's Treasure Box
Long Ge's Treasure Box
Jul 14, 2026 · Databases

Understanding Serverless Databases: PlanetScale, Neon, Supabase, and Turso

This article explains what serverless databases are, compares them with traditional databases, and provides detailed overviews, core concepts, and code examples for four major services—PlanetScale, Neon, Supabase, and Turso—highlighting features such as automatic scaling, pay‑as‑you‑go pricing, and global replication.

Cloud-nativeNeonPlanetScale
0 likes · 10 min read
Understanding Serverless Databases: PlanetScale, Neon, Supabase, and Turso
Long Ge's Treasure Box
Long Ge's Treasure Box
Jul 9, 2026 · Backend Development

Mastering WebSocket: Full‑Duplex Communication, Server Push, and Real‑Time Messaging Implementations

This article explains WebSocket fundamentals, compares it with HTTP polling, details the handshake and frame format, and provides complete server‑side examples in Python, FastAPI, Go, and Java Spring, followed by a full real‑time chat system with private messaging, database schema, heartbeat handling, and Redis‑based online presence management.

FastAPIGoJava
0 likes · 13 min read
Mastering WebSocket: Full‑Duplex Communication, Server Push, and Real‑Time Messaging Implementations
Long Ge's Treasure Box
Long Ge's Treasure Box
Jul 8, 2026 · Backend Development

Understanding gRPC: High‑Performance RPC with HTTP/2 and Protobuf

This article introduces gRPC, Google’s high‑performance RPC framework built on HTTP/2 and Protocol Buffers, compares it with REST, explains protobuf type mappings, demonstrates service definitions and all four communication patterns, and covers advanced topics such as interceptors, load balancing, deadlines, error handling, and microservice integration.

Error HandlingHTTP/2Interceptors
0 likes · 20 min read
Understanding gRPC: High‑Performance RPC with HTTP/2 and Protobuf
Long Ge's Treasure Box
Long Ge's Treasure Box
Jul 6, 2026 · Artificial Intelligence

Mastering Prompt Engineering: Techniques, Few‑Shot, CoT, and Advanced Strategies for LLMs

Prompt engineering optimizes LLM interactions by designing clear system and user prompts, structuring examples, and employing techniques such as few‑shot learning, chain‑of‑thought, HyDE, ReAct, and automated optimizers, which together improve accuracy, consistency, efficiency, and token cost.

Chain of ThoughtFew-shot LearningLLM Interaction
0 likes · 20 min read
Mastering Prompt Engineering: Techniques, Few‑Shot, CoT, and Advanced Strategies for LLMs