NiuNiu MaTe
Author

NiuNiu MaTe

Joined Tencent (nicknamed "Goose Factory") through campus recruitment at a second‑tier university. Career path: Tencent → foreign firm → ByteDance → Tencent. Started as an interviewer at the foreign firm and hopes to help others.

97
Articles
0
Likes
79
Views
0
Comments
Recent Articles

Latest from NiuNiu MaTe

97 recent articles
NiuNiu MaTe
NiuNiu MaTe
Sep 1, 2022 · Backend Development

How to Choose the Right Message Queue: Scenarios, Features, and Comparison

This article explains what message queues are, outlines key application scenarios such as asynchronous processing, message distribution, and traffic shaping, compares popular solutions like ActiveMQ, RabbitMQ, RocketMQ, and Kafka across performance and reliability dimensions, and provides practical guidance for selecting the most suitable queue for different business needs.

KafkaMessage QueueRabbitMQ
0 likes · 8 min read
How to Choose the Right Message Queue: Scenarios, Features, and Comparison
NiuNiu MaTe
NiuNiu MaTe
Mar 30, 2022 · Databases

Why Is MySQL Query Slow? Hidden Factors and Proven Speed‑Up Tricks

This article explains why MySQL queries can become sluggish beyond missing indexes, covering the full query execution flow, profiling tools, index pitfalls, connection‑pool limits, InnoDB buffer‑pool sizing, and practical steps to diagnose and accelerate database performance.

Connection PoolMySQLQuery Optimization
0 likes · 16 min read
Why Is MySQL Query Slow? Hidden Factors and Proven Speed‑Up Tricks
NiuNiu MaTe
NiuNiu MaTe
Mar 15, 2022 · Fundamentals

Master the Container With Most Water: Two‑Pointer Solution Explained

This article presents a detailed walkthrough of the LeetCode "Container With Most Water" problem, covering the problem statement, a two‑pointer analysis, and a complete Java implementation, while highlighting key insights for efficiently maximizing water storage.

LeetCodealgorithmcontainer-water
0 likes · 4 min read
Master the Container With Most Water: Two‑Pointer Solution Explained
NiuNiu MaTe
NiuNiu MaTe
Mar 4, 2022 · Frontend Development

Inside My Front‑End Interviews at 7 Top Tech Companies: Questions & Insights

The article shares a developer's experience interviewing for front‑end positions at seven major tech firms, offering detailed interview questions, preparation tips on core JavaScript knowledge, algorithms, resume writing, and self‑introduction, while emphasizing mindset and systematic review for successful job offers.

coding interviewjob preparation
0 likes · 20 min read
Inside My Front‑End Interviews at 7 Top Tech Companies: Questions & Insights
NiuNiu MaTe
NiuNiu MaTe
Feb 15, 2022 · Fundamentals

Why Do Only Perfect Squares Stay Lit? Solving the Bulb Switch Puzzle

The article explains the classic bulb‑switch problem, showing how toggling bulbs in successive rounds leads to only those positioned at perfect‑square indices remaining on, derives the mathematical reasoning behind the pattern, and presents a concise O(1) solution using the integer square‑root of n.

LeetCodealgorithmbulb-switch
0 likes · 7 min read
Why Do Only Perfect Squares Stay Lit? Solving the Bulb Switch Puzzle
NiuNiu MaTe
NiuNiu MaTe
Feb 12, 2022 · Fundamentals

From Hubs to Routers: How Computers Connect Across Networks

This article explains the evolution from simple hubs to intelligent switches and routers, covering the OSI layers, LAN setup, MAC and IP addressing, ARP, crossover cabling, and the internal structures that enable reliable data transmission in modern networks.

LANRouterhub
0 likes · 23 min read
From Hubs to Routers: How Computers Connect Across Networks
NiuNiu MaTe
NiuNiu MaTe
Feb 10, 2022 · Fundamentals

Master the Proxy Pattern with a Fun Story and Go Example

This article explains the proxy design pattern through an engaging cartoon story, analyzes the roles of client, target, and proxy, discusses its benefits and variations, and shows practical usage examples such as ES6 Proxy, virtual image lazy‑loading, and a Golang implementation.

ES6GolangProxy Pattern
0 likes · 4 min read
Master the Proxy Pattern with a Fun Story and Go Example