Cognitive Technology Team
Author

Cognitive Technology Team

Cognitive Technology Team regularly delivers the latest IT news, original content, programming tutorials and experience sharing, with daily perks awaiting you.

410
Articles
0
Likes
1.4k
Views
0
Comments
Recent Articles

Latest from Cognitive Technology Team

100 recent articles max
Cognitive Technology Team
Cognitive Technology Team
Sep 15, 2025 · Databases

Avoid Common Pitfalls When Combining MyBatis‑Plus with ShardingSphere‑JDBC

Learn how to seamlessly integrate MyBatis‑Plus with ShardingSphere‑JDBC for high‑performance sharding, covering core principles, step‑by‑step workflow, and detailed solutions to typical pitfalls such as SQL parsing, pagination conflicts, key generation, query routing, transaction handling, broadcast tables, injection risks, and shard algorithm design.

JavaMyBatis-PlusShardingSphere-JDBC
0 likes · 19 min read
Avoid Common Pitfalls When Combining MyBatis‑Plus with ShardingSphere‑JDBC
Cognitive Technology Team
Cognitive Technology Team
Sep 14, 2025 · Fundamentals

Unlocking Java HashMap: How It Works, Optimizations & Common Pitfalls

This article explores Java's HashMap internals, detailing its bucket array design, hash processing, collision handling, Java 8 treeification, resizing strategy, load factor and threshold calculations, performance optimization tips, common pitfalls, and when to choose alternative map implementations for high‑concurrency or ordered use cases.

Data StructuresHashMapJava
0 likes · 9 min read
Unlocking Java HashMap: How It Works, Optimizations & Common Pitfalls
Cognitive Technology Team
Cognitive Technology Team
Sep 14, 2025 · Databases

Avoid Common Pitfalls When Combining MyBatis‑Plus with ShardingSphere‑JDBC

This article explains how MyBatis‑Plus and ShardingSphere‑JDBC work together for sharding and scaling, outlines their core responsibilities, details the step‑by‑step SQL processing flow, and provides practical solutions to typical issues such as SQL parsing errors, pagination conflicts, primary‑key generation clashes, missing sharding keys, distributed transaction complexities, broadcast‑table misconfigurations, injection risks, and uneven sharding algorithms.

Java ORMMyBatis-PlusPerformance optimization
0 likes · 18 min read
Avoid Common Pitfalls When Combining MyBatis‑Plus with ShardingSphere‑JDBC
Cognitive Technology Team
Cognitive Technology Team
Sep 14, 2025 · Backend Development

How to Simulate Function Pointers in Java: Interfaces, Lambdas, and More

This guide explains how Java can mimic function pointers using interfaces with anonymous classes, lambda expressions, built-in functional interfaces, method references, reflection, the command pattern, and enum-based implementations, comparing their advantages, drawbacks, and ideal use cases for modern and legacy codebases.

Functional InterfacesJavaLambda
0 likes · 14 min read
How to Simulate Function Pointers in Java: Interfaces, Lambdas, and More
Cognitive Technology Team
Cognitive Technology Team
Sep 5, 2025 · Backend Development

How RocketMQ and DDMQ Achieve Ordered Message Consumption – Deep Dive with Code

This article explores the sequential consumption mechanisms of RocketMQ and its derivative DDMQ, detailing the underlying source‑code implementation, differences in producer ordering, broker handling, consumer locking, and how DDMQ simplifies ordering with a single‑node proxy, complete with code examples and diagrams.

DDMQOrdered ConsumptionRocketMQ
0 likes · 29 min read
How RocketMQ and DDMQ Achieve Ordered Message Consumption – Deep Dive with Code
Cognitive Technology Team
Cognitive Technology Team
Sep 3, 2025 · Backend Development

Why Did My Java Service Hit 90% Memory? Uncovering Hidden NioChannel Leaks

An in‑depth investigation of a Java service’s memory alarm reveals that a surge of temporary NioChannel objects, caused by high QPS and insufficient socket reuse, prematurely promotes objects to the old generation, leading to uncollected memory growth, and the article details the diagnosis, GC tuning, and mitigation steps.

JVMMemoryLeakPerformance
0 likes · 29 min read
Why Did My Java Service Hit 90% Memory? Uncovering Hidden NioChannel Leaks
Cognitive Technology Team
Cognitive Technology Team
Sep 3, 2025 · Artificial Intelligence

How to Build AI Agents that Auto‑Generate Helm Charts: Strategies, Pitfalls, and Best Practices

This article chronicles the author's hands‑on journey of designing AI agents to automatically generate Helm charts for open‑source applications, exploring agent role definition, behavior paradigms like ReAct and plan‑and‑execute, prompt engineering challenges, structured workflows, multi‑agent collaboration, and practical lessons for reliable, production‑grade automation.

AI agentsAgent FrameworksHelm chart automation
0 likes · 29 min read
How to Build AI Agents that Auto‑Generate Helm Charts: Strategies, Pitfalls, and Best Practices