ZSTD Compression in Easysearch: Achieving Near 5x Query Throughput with High Compression
In search engine architectures, compression algorithm selection presents a fundamental tradeoff dilemma:
High compression ratios (e.g., best_compression/DEFLATE) reduce storage but slow query decompression
Fast encoding schemes (e.g., default LZ4) accelerate queries but increase disk footprint
Easysearch introduces a solution leveraging JDK 2 ...
Posted on Sun, 05 Jul 2026 16:20:27 +0000 by Brink Kale
Comparative Performance Analysis of JSON Serialization in .NET
Object serialization is a fundamental requirement in modern software development, particularly for data transmission and storage. In the .NET ecosystem, developers often choose between built-in libraries and third-party solutions. This analysis benchmarks three common approaches: JavaScriptSerializer, DataContractJsonSerializer, and the widely ...
Posted on Wed, 01 Jul 2026 16:33:01 +0000 by shatteredroses
Optimizing Zabbix Performance
Reference
Zabbix default configuraton, even with 128 cores and 256 GB of memory, can only handle monitoring 10-20 machines. To monitor more, configuration changes are necessary.
1. Configuration Files
Add the following to the server configuration file:
StartPollers=160
StartPollersUnreacheable=80
StartTrappers=20
StartPingers=100
StartDisco ...
Posted on Thu, 25 Jun 2026 16:45:24 +0000 by rd321
Why Vue Doesn't Make Array Index Assignment Reactive via Object.defineProperty
Object.defineProperty can indeed observe array elements. For example, you can iterate over an array and define getter/setter for each index:
let array = [1, 2, 3, 4, 5];
array.forEach((item, index) => {
defineReactive(array, index, item);
});
function defineReactive(obj, key, val) {
Object.defineProperty(obj, key, {
enumerab ...
Posted on Sat, 20 Jun 2026 17:46:28 +0000 by klainis
Profiling Python Code for Time and Memory Usage
Measuring Execution Time
To analyze the computational complexity of algorithms, comparing their time and memory consumption is essential. Measuring execution time in Python is straightforward using the time module's perf_counter function, which provides high-resolution timing.
import time
def compute_brb(input_data, theta, delta, beta, c):
...
Posted on Fri, 19 Jun 2026 18:48:56 +0000 by xenoalien
C++ Code Timing: Using std::chrono, time, and clock
Three common approaches exist for measuring code execution time in C++: the high-resolution chrono library, the traditional time() function, and the clock() function.
High-Resolution Timing with std::chrono
C++11’s chrono library offers precise measurement of elapsed wall-clock time. A typical pattern is:
#include <chrono>
#include <io ...
Posted on Fri, 12 Jun 2026 18:21:41 +0000 by perrij3
Strategies for Minimizing DOM Manipulation Overhead in JavaScript
Frequent modifications to the Document Object Model (DOM) introduce significant rendering costs due to browser reflows and repaints. These layout calculations are computationally expensive. To maintain high responsivenses in web applications, developers should implement techniques that minimize direct DOM interactions.
Mitigating Reflow Costs
E ...
Posted on Fri, 12 Jun 2026 17:09:17 +0000 by Sa177ir
Asyncio Performance Analysis for I/O Bound Workloads
I/O bound applications spend significantly more time waiting for input/output operations than executing CPU instructions. Common scenarios include web interactions, disk access, web scraping, and database queries.
Python offers three approaches for enhancing concurrency in I/O bound tasks: multiprocessing, multithreading, and asynchronous I/O ( ...
Posted on Fri, 05 Jun 2026 18:36:51 +0000 by robman2100
ScheduledExecutorService CPU Spikes to 100% Due to Thread Pool Bug
When using ScheduledExecutorService with a core pool size of 0, a JDK bug can cause CPU usage to spike to 100%. This occurs due to an infinite loop in the getTask method of ThreadPoolExecutor when keepAliveTime is set to 0 nanoseconds.
Problem Demonstration
public static void main(String[] args) {
ScheduledExecutorService executor = Executo ...
Posted on Thu, 04 Jun 2026 19:18:20 +0000 by skhale
Implementing Server Communication and Code Quality Practices with jQuery
Server Communication with jQuery
Modern web applications require seamless data exchange with servers without full page reloads. jQuery provides several methods to facilitate asynchronous HTTP requests.
Loading HTML Content
The .load() method retrieves HTML from a server URL and inserts it into selected elements:
$('#contentArea').load('page-con ...
Posted on Thu, 04 Jun 2026 18:19:32 +0000 by russia5