Tagged articles
sampling
57 articles · Page 1 of 1
This article explains monitoring systems through MTTF/MTTR availability math, three telemetry signals (metrics, logs, traces), Google's four golden signals, cardinality pitfalls, structured logging, trace sampling strategies, wide events, dashboard best practices, symptom-based alerting, synthetic testing, RUM, predictive monitoring, on-call organization, and AI-assisted observability levels.
AI observabilityMTTFMTTR
0 likes · 15 min read

This article explains how TraceId propagates across services, threads, and message queues in Spring Cloud, covering W3C/B3 formats, Micrometer Tracing architecture, cross-thread context propagation via ThreadLocal and Reactor Context, MQ header injection, sampling strategies, and common pitfalls with solutions.
Distributed TracingMicrometerReactor
0 likes · 36 min read

A comprehensive guide to implementing Spring Boot 3.x observability covering Micrometer Observation API, OpenTelemetry tracing, structured logging with MDC, cardinality control, sampling strategies, async context propagation, and practical integration patterns for correlated debugging.
Async Context PropagationCardinalityDistributed Tracing
0 likes · 30 min read

This article explains distributed tracing concepts, the OpenTracing standard, and how SkyWalking implements automatic span collection, context propagation, unique trace IDs via Snowflake, and adaptive sampling to minimize performance overhead.
BackendDistributed TracingOpenTracing
0 likes · 13 min read

Baidu Baige optimizes DataLoader across sampling, indexing, decoding, and post-processing for embodied model training, reducing FastWAM single-sample video processing from 133ms to 63ms, stabilizing indexing at 0.61ms across 27,500 files, and boosting Qwen3-VL-30B throughput 1.68x via load-balanced sampling.
Baidu BaigeDataLoader optimizationEmbodied AI
0 likes · 20 min read

This tutorial defines a three-state judgment contract (present, not_observed, uncertain) for detecting real persons in sampled video frames, covering prompt design with structured JSON output, evidence requirements, code-level aggregation rules, and evaluation methodology using boundary-case samples.
AI visionevaluation methodologyjudgment contract
0 likes · 15 min read

The article analyzes why storing massive tracing spans in a single Elasticsearch cluster fails at high QPS, outlines the four key challenges of trace data, and presents a three‑step engineering solution—sampling, hot‑warm‑cold tiered storage, and separating indexes from span payloads—while comparing major back‑ends such as Elasticsearch, Cassandra, ClickHouse, and Tempo.
ClickHouseDistributed TracingElasticsearch
0 likes · 19 min read

This article walks through the core concepts needed before deploying a large language model on‑premises, covering weight precision, quantization methods, model packaging formats, inference engines, GPU memory considerations, KV‑cache sizing, sampling strategies, optional extensions such as LoRA and RAG, and a step‑by‑step decision workflow to match hardware, model, and deployment goals.
KV CacheLLMdeployment
0 likes · 21 min read

The article explains how sampling serves as the cost‑fidelity knob in distributed tracing, why full sampling collapses at ten‑million QPS, compares head‑based, tail‑based, and intelligent adaptive strategies, and shows how tools like OpenTelemetry, Jaeger, and AWS X‑Ray implement these approaches.
Distributed TracingJaegerOpenTelemetry
0 likes · 19 min read


Qborfy AIJun 16, 2026 · Artificial Intelligence
This guide explains how temperature, top_p, top_k, and min_p control LLM output, compares their effects, warns against common pitfalls, and provides concrete configuration recommendations and step‑by‑step tuning workflows for tasks such as code generation, QA, dialogue, translation, and creative writing.
LLMmin_pparameter tuning
0 likes · 22 min read


Qborfy AIJun 9, 2026 · Artificial Intelligence
While many newcomers think using an LLM API is as simple as picking a model and feeding a prompt, the real control lies in parameters such as temperature, top‑p, top‑k, max_tokens, penalties, stop, and stream, each of which dramatically influences output quality, length, cost, and behavior.
APILLMmax_tokens
0 likes · 21 min read

This guide walks through the fundamentals of OpenTelemetry, covering component architecture, environment setup, SDK and Collector configuration for Java, Go, and Kubernetes, and dives into common pitfalls, performance tuning, security hardening, high‑availability deployment, and advanced tail‑based sampling strategies.
CollectorDistributed TracingJaeger
0 likes · 27 min read

This article explains how LLMs generate tokens via probability distributions, details three sampling strategies — temperature, top-k, and top-p — with concrete DeepSeek API examples, outlines four methods for structured output, and discusses why hallucination is an inherent feature of probabilistic generation rather than a bug.
DeepSeekHallucinationLLM
0 likes · 8 min read

This article explores essential sampling strategies for big‑data environments—including simple random, reservoir, stratified, oversampling, undersampling, and weighted sampling—detailing their principles, algorithmic steps, advantages, drawbacks, and suitable application scenarios to help analysts choose the right method.
big dataoversamplingreservoir-sampling
0 likes · 8 min read

The article explains how sampling parameters—Temperature, Top‑k, and Top‑p—shape the output of large language models, comparing greedy and beam search, illustrating probability changes with concrete examples, and offering practical guidance on adjusting these settings for different tasks.
Greedy SearchLLMbeam search
0 likes · 9 min read

The article explains the Temperature hyper‑parameter in large language models, shows how it modifies the softmax distribution, provides a Python visualisation script, and demonstrates through experiments that higher values increase creativity while lower values make outputs more deterministic.
Pythonlarge language modelssampling
0 likes · 5 min read

The article examines the performance impact of excessive logging in large‑scale Java systems and proposes request‑level sampling with cross‑thread identifier propagation, offering practical component‑based solutions, implementation considerations, and a concrete code example for backend developers.
BackendJavaLogging
0 likes · 7 min read

The article reviews the development of online A/B testing, covering sampling and traffic‑splitting techniques, metric computation improvements, statistical inference advances, and current challenges such as interference, real‑time inference, and large‑scale metric computation, while referencing recent research papers.
A/B testingCausal InferenceMetric Evaluation
0 likes · 10 min read

This guide introduces the fundamentals of AI image generation with Stable Diffusion, covering three main usage methods, the Draw Things desktop app, model types, samplers, prompts, and post‑processing techniques to create high‑quality promotional graphics for events like the 618 sale.
AI artDrawThingsImage Generation
0 likes · 11 min read


NewBeeNLPJun 28, 2024 · Artificial Intelligence
This article demystifies large language models by comparing them to classic compression algorithms, explains how they compress massive data into compact parameters, explores their ability to learn abstract patterns, and provides practical insights into prompt engineering, sampling strategies, and multi‑step agent architectures for real‑world applications.
Agent ArchitectureLLMmodel compression
0 likes · 19 min read

The article explains how greedy search, beam search, Top‑K, Top‑p (nucleus) sampling, and temperature each shape large language model generation, comparing their effects on repetition, diversity, and creativity, and provides concise TensorFlow‑based code examples illustrating these inference‑time strategies.
AILLMPython
0 likes · 15 min read


LouZaiMar 20, 2024 · Operations
The article explains the principles and benefits of distributed tracing, introduces OpenTracing standards, details SkyWalking’s architecture and sampling strategies, compares its performance with Zipkin and Pinpoint, and shares practical implementation experiences and custom plugin development within a micro‑service environment.
Distributed TracingOpenTracingPerformance Monitoring
0 likes · 19 min read

This guide explains how to install and use Reli, a PHP‑written sampling profiler and VM state inspector, to detect bottlenecks, trace execution, locate memory issues, and generate flamegraphs for PHP processes without modifying the target program.
BackendPHPflamegraph
0 likes · 16 min read


LouZaiDec 19, 2023 · Cloud Native
This article explains the principles and benefits of distributed tracing, introduces the OpenTracing standard, details SkyWalking's architecture and solutions for automatic span collection, context propagation, unique trace IDs, sampling strategies, performance impact, and shares practical customizations and plugin development experiences.
Distributed TracingOpenTracingSkyWalking
0 likes · 17 min read

This review of the recent MindSpore NLP public class walks through the fundamentals of large language model text generation, detailing deterministic decoding such as greedy and beam search, stochastic sampling techniques like temperature, top‑k and top‑p, and advanced methods including constrained beam, contrastive, and assisted search, with illustrative examples.
Greedy SearchLLMMindSpore
0 likes · 5 min read

The article explains how cloud‑native observability systems gather massive telemetry from infrastructure, containers, middleware and services, compares direct push and file‑based collection approaches, and details head, tail and local sampling methods to optimize data completeness and performance.
Distributed Tracingdata collectionobservability
0 likes · 10 min read

The article explains that while observability is not new, cloud‑native systems have driven rapid development of observable platforms, detailing data collection architectures, direct push versus file‑based approaches, and various sampling techniques (head, tail, and local sampling) to balance completeness, real‑time reporting, and performance impact.
cloud-nativedata collectionperformance
0 likes · 11 min read

The article explains how generative models use deterministic methods like greedy and beam search and stochastic techniques such as top‑k, top‑p, contrastive search and sampling, describing their mechanisms, temperature control, repetition penalties, and practical trade‑offs for balancing fluency, diversity and coherence.
AIbeam searchcontrastive search
0 likes · 9 min read

The paper introduces a pre‑user stratification model that uses covariate‑balancing algorithms to create separate strata for distribution and revenue metrics, ensuring equal user allocation in Vivo game‑center AB tests, which reduces metric variance, improves gray‑release effectiveness, and saves significant investigation effort.
AB TestingGame Analyticsexperiment design
0 likes · 14 min read

This article explains how Ant Group tackles the performance challenges of large‑scale OLAP tables by using ADM to reduce data volume, employing Cube pre‑aggregation for reporting, and applying statistical sampling for exploratory analysis, detailing the processes, metrics, and architectural designs involved.
ADMCubeOLAP
0 likes · 15 min read


ArchitectJul 1, 2023 · Artificial Intelligence
This tutorial explores various text generation decoding methods—including greedy search, beam search, top‑k/top‑p sampling, sample‑and‑rank, and group beam search—explaining their principles, providing detailed Python code examples, and comparing their use in modern large language models.
Greedy SearchHuggingFaceTransformers
0 likes · 59 min read

This guide thoroughly explains the major decoding strategies for neural text generation in HuggingFace Transformers—including greedy, beam, diverse beam, sampling, top‑k, top‑p, sample‑and‑rank, beam sampling, and group beam search—detailing their principles, Python implementations with LogitsProcessor components, workflow diagrams, comparative analysis, and references to original research.
HuggingFaceTransformersbeam search
0 likes · 60 min read

This article describes ByteDance's comprehensive approach to managing the massive volume of event‑tracking (埋点) data, detailing the background, cost‑reduction strategies, experience review, future plans, and a Q&A session that together illustrate how systematic data governance can dramatically cut storage and processing expenses.
ByteDancebig datadata cost optimization
0 likes · 18 min read

This article explains ByteDance's large‑scale adoption of profile‑guided optimization (PGO), covering its principles, instrumentation and sampling methods, the automated platform built for data collection and compilation, and the resulting performance gains across dozens of critical services.
ByteDancePGOcompiler optimization
0 likes · 12 min read

This article explains the fundamentals of Markov chains, illustrates their transition matrix with a market example, demonstrates convergence through Python code, and outlines how to use the stationary distribution for sampling in Monte Carlo simulations.
Markov chainMonte CarloStochastic Process
0 likes · 9 min read

This article explains the detailed‑balance condition for Markov chains, shows why finding a transition matrix for a given stationary distribution is hard, and demonstrates how Metropolis‑Hastings modifies MCMC to achieve higher acceptance rates with a concrete Python example.
MCMCMarkov chainMetropolis-Hastings
0 likes · 9 min read

This article introduces Monte Carlo methods, explains how random sampling approximates integrals, discusses uniform and non‑uniform probability distributions, and details acceptance‑rejection sampling as a technique for generating samples from complex distributions, laying the groundwork for understanding Markov Chain Monte Carlo in AI.
Acceptance-RejectionMCMCMonte Carlo
0 likes · 8 min read

This article explains the motivations behind Monte Carlo methods, introduces acceptance-rejection sampling, details Markov Chain Monte Carlo concepts, and walks through Metropolis-Hastings and Gibbs sampling algorithms with Python implementations, highlighting their use in high‑dimensional probability distribution sampling.
MCMCMonte CarloPython
0 likes · 18 min read

Monte Carlo methods, originally a gambling-inspired random simulation technique, provide a versatile way to approximate integrals and sums, and by using acceptance‑rejection sampling they enable drawing samples from complex probability distributions, a key step toward effective Markov Chain Monte Carlo algorithms in machine learning and AI.
Acceptance-RejectionMCMCMonte Carlo
0 likes · 7 min read

The article explains common color models such as grayscale, RGB and YUV, describes image fundamentals like resolution and aspect ratio, outlines typical storage formats (RGB, YUV420P, NV12/NV21) and their bit‑depth considerations, and introduces video basics including frame rate, compression stages and HDR mapping.
RGBcolor representationimage processing
0 likes · 21 min read

This article intuitively demonstrates the Central Limit Theorem using uniform and Beta distributions, showing how sample means converge to a normal shape as sample size grows, and provides the formal statistical statement and its significance for inference.
central limit theoremnormal distributionprobability
0 likes · 5 min read

This article explains the Central Limit Theorem, distinguishes standard deviation from standard error, illustrates the 3‑σ rule, and shows how confidence levels, significance levels, and interval estimation combine to derive reliable confidence intervals for large‑sample population mean estimates.
central limit theoremconfidence intervalsampling
0 likes · 9 min read

This guide explains how to enable distributed performance tracing in the Sentry SDK by configuring the tracesSampleRate or tracesSampler options, details the sampling decision process, describes the required SDK API changes, span and transaction handling, and the propagation of trace and sentry‑trace headers across services.
Distributed TracingPerformance MonitoringSDK
0 likes · 23 min read

The article traces the evolution of distributed tracing from Google’s Dapper paper through early research, Pinpoint and X‑Trace, to modern open‑source tools like Zipkin, Jaeger and SkyWalking, explaining metadata propagation, asynchronous reporting, classic nested and convolution algorithms, and practical implementation details for non‑intrusive, scalable tracing.
DapperDistributed Tracingsampling
0 likes · 14 min read

Distributed tracing in Sentry captures interactions across services to provide a unified view of errors and performance, explaining the concepts of traces, transactions, spans, data sampling, consistency handling, and practical examples such as diagnosing slow page loads.
Performance MonitoringSentrySpan
0 likes · 21 min read


Didi TechMay 19, 2021 · Artificial Intelligence
DiDi applied the epsilon‑greedy bandit algorithm integrated with its CMS to optimize ad placement across 600 slots, using quality scores, traffic sampling, and a drag‑and‑drop UI, which boosted CTR from 1.35% to 13.43% and unique visitors by 686%, demonstrating data‑driven growth beyond simple A/B testing.
Content OptimizationEpsilon-Greedybandit algorithm
0 likes · 10 min read

This article explains the live streaming workflow, detailing audio and video capture, digital sampling rates and bit depths, various sound channel configurations from mono to immersive formats, and common audio encoding methods such as PCM, AAC, MP3, and FLAC.
audio encodingaudio processinglive streaming
0 likes · 22 min read

This article explains how to handle high‑volume advertising monitoring by storing raw request logs in ClickHouse, enabling sampling and materialized views, and using TP999 metrics, aggregating tables, and Grafana queries to achieve fast, flexible, and low‑impact real‑time analytics on billions of events.
ClickHouseMaterialized Viewbig-data
0 likes · 10 min read

This article presents a case study on building and deploying a lead‑quality classification model for a high‑value, low‑frequency real‑estate platform, covering business context, data challenges, sampling strategies, feature engineering, model selection, tuning, evaluation metrics, interpretability analysis, and observed performance improvements.
Classificationlead scoringmachine learning
0 likes · 14 min read

This article explains the core ideas and step-by-step procedures of widely used sampling methods—including inverse transform, rejection, importance, and Markov Chain Monte Carlo techniques such as Metropolis‑Hastings and Gibbs—highlighting their mathematical foundations, practical implementations, and when each method is appropriate.
Importance SamplingMCMCMonte Carlo
0 likes · 11 min read

This article explains why Gaussian (normal) distribution sampling is essential, describes the mathematical transformation from a standard normal, and compares several practical algorithms—including inverse transform, Box‑Muller, Marsaglia polar, rejection sampling, and Ziggurat—highlighting their implementation steps and efficiency considerations.
Box-MullerGaussianMarsaglia
0 likes · 8 min read

Sampling transforms complex distributions into manageable data points, and mastering methods like random oversampling, undersampling, SMOTE, and its variants is essential for handling imbalanced binary classification problems in machine learning, ensuring models achieve balanced accuracy and recall across classes.
SMOTEimbalanced dataresampling
0 likes · 8 min read

This article explains how Lianjia designed and implemented LTrace, a zero‑intrusion, high‑performance distributed tracing system that captures full request chains across heterogeneous services, supports multi‑language environments, offers flexible sampling, and enables rapid fault isolation and performance optimization.
Distributed TracingLow OverheadSystem Monitoring
0 likes · 12 min read

This article explains the essential statistical concepts—populations, samples, sampling error, confidence intervals, the Central Limit Theorem, and normal distribution—that underpin A/B testing, showing how they enable reliable hypothesis evaluation, accurate impact prediction, and data‑driven decision making for product experiments.
A/B testingcentral limit theoremconfidence interval
0 likes · 14 min read

This article surveys the design of end‑to‑end tracing systems for large distributed services, explaining core use cases, tracing approaches, metadata propagation, sampling strategies, visualization techniques, and recommended design choices to improve debugging, performance analysis, and resource attribution.
Distributed TracingPerformance Analysisend-to-end tracing
0 likes · 44 min read

The article outlines a comprehensive set of Android app performance metrics, device coverage, a non‑root sampling strategy using dumpsys commands, shell‑based data collection, and Python‑driven HTML reporting, providing practical guidance and reference implementations for mobile developers.
Androidperformance testingsampling
0 likes · 4 min read

This article explains how Airbnb's Trust & Safety team builds machine‑learning models to detect fraudulent behavior, covering problem definition, role‑based sampling, feature design techniques such as normalization and CP‑coding, and the trade‑offs between precision and recall in model evaluation.
AIModel Evaluationfeature engineering
0 likes · 10 min read
