Tag

slots

0 views collected around this technical thread.

Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 30, 2025 · Databases

How to Reshard Slots in a Redis Cluster

This article explains the process of moving hash slots between nodes in a Redis cluster using the redis-cli --cluster reshard command, detailing the required parameters, interactive steps, and verification of successful slot migration.

ClusterDatabaseRedis
0 likes · 6 min read
How to Reshard Slots in a Redis Cluster
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 16, 2025 · Frontend Development

Creating a Universal Functional Modal Utility for Vue 3

This article demonstrates how to build a highly reusable, function‑based modal system in Vue 3 that supports lazy loading, prop passing, event binding, provide/inject data injection, custom slots, and method exposure, allowing developers to display any modal component with a single function call.

Functional ComponentTypeScriptVue
0 likes · 13 min read
Creating a Universal Functional Modal Utility for Vue 3
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 5, 2025 · Frontend Development

Using JSX/TSX in Vue 3: Component Definition, Syntax, Props, Scoped CSS, and Slots

This article provides a comprehensive guide to using JSX/TSX in Vue 3, covering project setup, the defineComponent API, option and function syntax, data binding, event handling, slots, scoped CSS, and various approaches to defining and simplifying props with TypeScript.

JSXScoped CSSTSX
0 likes · 22 min read
Using JSX/TSX in Vue 3: Component Definition, Syntax, Props, Scoped CSS, and Slots
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 23, 2024 · Frontend Development

Advanced Vue 3 Component Encapsulation: v-model, Slot Passing, and Ref Access

This article demonstrates how to create a reusable Vue 3 component with Vite and Element‑Plus, covering two‑way data binding via v‑model, slot forwarding using the h function, and exposing child component refs through a Proxy, complete with code examples and explanations.

ProxyVuecomponent
0 likes · 7 min read
Advanced Vue 3 Component Encapsulation: v-model, Slot Passing, and Ref Access
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 10, 2024 · Frontend Development

Understanding Web Components: Core Concepts, Custom Elements, Shadow DOM, Slots, and Templates

This article introduces Web Components—a W3C‑standardized technology supported by all major browsers—explaining its core concepts (Custom Elements, Shadow DOM, Templates, Slots), providing step‑by‑step code examples, discussing lifecycle callbacks, compatibility, polyfills, and how it compares with frameworks like React and Vue.

Custom ElementsTemplatesWeb Components
0 likes · 22 min read
Understanding Web Components: Core Concepts, Custom Elements, Shadow DOM, Slots, and Templates
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 29, 2024 · Frontend Development

Enhancing Element Plus ElTable with Vue 3.3 Generic Components and defineSlots for Strong Type Safety

This article explains how to combine Vue 3.3 generic components and the new defineSlots feature to create a lightweight, column‑configurable wrapper around Element Plus's ElTable that provides full TypeScript type hints for row data and custom column slots, improving maintainability and developer experience.

ElTableGeneric ComponentTypeScript
0 likes · 18 min read
Enhancing Element Plus ElTable with Vue 3.3 Generic Components and defineSlots for Strong Type Safety
TAL Education Technology
TAL Education Technology
Jul 6, 2023 · Frontend Development

Introduction to Web Components: Custom Elements, Shadow DOM, Templates, and Slots

This article introduces Web Components, explains the three core technologies—custom elements, Shadow DOM, and templates with slots—provides detailed code examples for each, discusses lifecycle callbacks, demonstrates encapsulation benefits, and offers practical guidance on using them across modern front‑end frameworks.

Custom ElementsTemplatesWeb Components
0 likes · 12 min read
Introduction to Web Components: Custom Elements, Shadow DOM, Templates, and Slots
Python Programming Learning Circle
Python Programming Learning Circle
Jun 9, 2021 · Fundamentals

Python Tips: String Manipulation, Iterator Slicing, Context Managers, Slots, Resource Limits, and More

This article presents a collection of practical Python techniques—including string cleaning with translation tables, iterator slicing with itertools, skipping file headers, keyword‑only arguments, custom context‑manager objects, memory‑saving __slots__, CPU and memory resource limits, export control via __all__, and simplified total ordering—illustrated with concise code examples.

Context ManagerIteratorfunctools
0 likes · 9 min read
Python Tips: String Manipulation, Iterator Slicing, Context Managers, Slots, Resource Limits, and More
Java Captain
Java Captain
Oct 11, 2017 · Fundamentals

Understanding the Java Virtual Machine Stack and Bytecode Instructions

This article explains the structure and operation of the JVM stack, including stack frames, local variable tables, operand stacks, slots, and common bytecode instructions, providing code examples and visual aids to help readers grasp how Java bytecode is executed on the stack.

BytecodeJVMJava
0 likes · 13 min read
Understanding the Java Virtual Machine Stack and Bytecode Instructions
Architect
Architect
Jul 3, 2016 · Databases

Understanding Redis Cluster Partitioning Implementation

This article explains how Redis Cluster automatically distributes data across nodes, how clients locate the correct node using slot hashing and hash tags, and how resharding and slot migration are performed without downtime, providing a detailed overview of the partitioning mechanism.

ClusterKey HashingRedis
0 likes · 10 min read
Understanding Redis Cluster Partitioning Implementation
Qunar Tech Salon
Qunar Tech Salon
Dec 21, 2014 · Big Data

How to Prevent Java Heap Space Errors in Hadoop MapReduce by Managing Task Memory and Slots

This article outlines five essential steps to avoid Java heap space errors in Hadoop MapReduce by estimating memory consumption, verifying JVM availability and settings, limiting swap usage, and configuring instance slot numbers below the JobTracker's calculated values, ensuring stable cluster performance.

Big DataHadoopJava Heap
0 likes · 11 min read
How to Prevent Java Heap Space Errors in Hadoop MapReduce by Managing Task Memory and Slots