Maxim Mironjuk | Page 274
Posts by Maxim Mironjuk
-
Apr 27, 2025
A cluster move sounds at first like taking a snapshot, staging it somewhere, and restoring it on the target cluster, with all the pitfalls around storage locations, permissions, and version compatibility that come with it. The Reindex API offers a more direct path through the source.remote option: the target cluster reads documents straight from the source cluster over its REST interface and writes them immediately into its own index, with no snapshot repository or file export as a staging step. This article covers what whitelisting is required, how migrations can be parallelized with slicing, and what a practical workflow looks like for a version upgrade or a move to different infrastructure.
-
Apr 27, 2025
Anyone can set git config user.name and user.email to any value and create commits that appear to come from a colleague, without Git preventing it. This article shows how GPG- and SSH-based commit signatures cryptographically prove who actually created a commit, how to set up keys, verify signatures, and enforce signed commits across a team through branch protection rules.
-
Apr 26, 2025
A mega menu dropdown with multi-column subcategories is one of the most complex navigation patterns in e-commerce, and one of the most frequently implemented incorrectly when it comes to accessibility. With Alpine.js, the disclosure pattern instead of wrong menu roles, and clean keyboard control, a mega menu can be built that works equally well for mouse, keyboard and screen reader.
-
Apr 26, 2025
CSV exports from ERP systems, inventory management, or legacy databases almost always need to become JSON before they can be imported into modern APIs. A CSV to JSON pipeline built from mlr, jq, and Bash glue code handles type coercion, nesting, and validation without a single line of Python.
-
Apr 26, 2025
Dynamic mapping feels convenient until a single index accumulates thousands of fields and the cluster state grows so large that every mapping change becomes noticeably slower. Mapping explosion usually creeps in from key value style data structures that generate new fields without limit, and it can be reliably prevented with clear limits, targeted dynamic:false and the flattened data type, before it turns into a production problem.
-
Apr 26, 2025
A one-off performance audit improves metrics for a few weeks, then every gain erodes under the pressure of new features. This article shows how teams combine performance budgets, CI checks in the Definition of Done, a rotating champion role and blameless post-incident reviews to keep load times stable for good instead of rescuing them every few months.
-
Apr 25, 2025
Most data models only know a single time axis: when a row was last changed. Once retroactive corrections enter the picture, though, such as a miscalculated invoice that gets corrected three months later, a single time axis stops being enough. Bitemporal modeling consistently separates valid time, meaning when a fact was actually true from a business perspective, from transaction time, meaning when it became known to the system. This article explains both axes, walks through a fully worked example, and gives a realistic sense of when the extra modeling effort actually pays off.
-
Apr 25, 2025
For years, gzip compression in the browser meant loading pako or a WASM port of zlib, often several hundred kilobytes just for the library. The Compression Streams API makes that unnecessary: CompressionStream and DecompressionStream are available natively in the browser.
-
Apr 25, 2025
A custom MCP server connects Claude to internal systems such as project data, databases, or APIs without hard-coding every integration into the assistant itself. This article walks through building a minimal server with a real tool, the protocol shape of tools, resources, and prompts, and local testing before wiring it up to an assistant.
-
Apr 25, 2025
Classic Lua scripting with EVAL and EVALSHA has been the standard way to run atomic server logic in Redis for years, but it brings practical problems around maintainability, versioning, and replication behavior. Since Redis 7, Redis Functions offer a more structured alternative through FUNCTION LOAD, treating scripts as named, persistently stored libraries instead of ephemeral, hash-referenced individual scripts. What the switch looks like in practice, what advantages it brings, and where EVAL still remains the better choice, is what this article covers.