Basic Control Segment
Basic Control Segment provides fine-grained, targeted traffic control for specific URLs, pages, or functions within your application. This guide will help you understand, create, and configure Basic Control segments effectively.
📄️ Entry Control Model Settings
Learn how to select a traffic entry control model to apply to the segment.
📄️ Basic Settings
Learn how to create Basic Control segments and configure basic settings including segment naming best practices and segment key configuration.
📄️ Entry Status Setting
Learn how to configure Entry Status settings for Basic Control segments to control user access with Waiting or Block status.
📄️ Waiting Room Application
Learn how to configure Waiting Room Application for Basic Control segments to manage waiting room and block room exposure to users.
📄️ Inflow Setting
Learn how to configure Limited Inflow settings for Basic Control segments, including fixed and variable types for optimal capacity management.
🗃️ Queue rule setting
2 items
📄️ Queue Notification Settings
Learn how to configure notifications based on queue status.
📄️ Waiting Room Schedule Reservation
Learn how to configure Waiting Room Schedule Reservations for Basic Control segments to manage reservation systems and user flow.
📄️ Advanced - Timing
Learn how to configure advanced timing settings for Basic Control segments including re-request intervals and timeout configurations.
📄️ Advanced - Queue Position Retention
Learn how to configure Queue Preservation to maintain user queue positions even after browser closure or temporary disconnection.
📄️ Advanced - Entry Pass
Learn how to configure Entry Pass functionality for Basic Control segments to provide immediate re-entry without re-waiting.
📄️ Advanced - Entry Key Invalidation
Learn how to invalidate entry keys to enforce re-queuing for specific conditions, working in conjunction with Queue Position Retention and Entry Pass.
📄️ Advanced - Assign Person in Charge
Learn how to assign an Operator as the responsible person for Basic Control segments.
What is a Basic Control Segment?
A Basic Control Segment is a work unit that controls traffic for specific actions or URLs. It provides precise, targeted traffic control for particular pages or functions within your application, allowing you to protect high-traffic endpoints while keeping other parts of your service accessible.
Key Characteristics
Basic Control vs Section Control:
The fundamental difference is key management - how and when NetFUNNEL returns entry keys:
| Control Type | Key Management | Purpose | Best For |
|---|---|---|---|
| Basic Control | Key returned quickly after action completes | Controls entry speed | Button clicks, API calls, page loads, specific URLs/pages |
| Section Control | Key held until entire section/process completes | Maintains fixed concurrent capacity | Multi-step processes, checkout flows, payment processing |
Basic Control - Quick Key Return:
- Controls how fast users enter your service
- Key is returned immediately after the action completes (e.g., page loads, API call finishes)
- Examples:
/checkoutpage load,/paymentendpoint,/signupbutton click - User journey: Action → Wait if needed → Enter immediately → Key returned quickly
- Perfect for: Single actions, API throttling, page protection, targeted surge points
Section Control - Hold Key Until Complete:
- Maintains a fixed number of concurrent users in a specific section
- Key is held throughout the entire multi-step process
- Key only returned when entire section/process completes (e.g., checkout finished, payment processed)
- User journey: Start → Enter section → Multiple steps → Complete entire process → Key returned
- Perfect for: Multi-step processes, checkout flows, maintaining fixed capacity
When to Use Basic Control:
- You need to protect specific high-traffic pages or endpoints
- You want different traffic control settings for different pages
- You have targeted surge points (checkout, payment, sign-up pages)
- You need precise control over which URLs trigger waiting rooms
- You use URL-Triggered Integration (UTI) for page-level control
- You use Code-Based Integration (CBI) for button/API-level control
Integration Methods:
- URL-Triggered Integration (UTI): Automatic protection for page requests matching trigger rules. Users are redirected to waiting rooms based on URL patterns.
- Code-Based Integration (CBI): Manual control using
nfStart()andnfStop()in your code. You control exactly when waiting rooms appear.
Configuration Overview
A Basic Control Segment is configured through these main settings:
1. Basic Settings
What it does: Define your segment's identity - name and unique key
- Segment Name: Human-readable identifier for your segment
- Segment Key: Unique identifier used by NetFUNNEL agents (cannot be changed after creation)
2. Entry Status Setting
What it does: Determines how users are handled when entering controlled areas
- Waiting Status: Users wait in queue and enter when capacity is available
- Block Status: Users are prevented from entering (shown block room message)
3. Entry Control Model Settings
What it does: Selects the traffic entry control model for the segment
- Dynamic Entry Mode: Flexible queue management based on real-time traffic
- Fixed Entry Mode: Fixed intervals for accurate queue positions and wait times
4. Waiting Room Application
What it does: Configures the UI that users see while waiting or blocked
- Waiting Room: Template shown to queued users
- Block Room: Template shown to blocked users
- Live Message: Real-time text updates (max 20 characters)
5. Inflow Setting
What it does: Controls how many users can access simultaneously
- Fixed Type: Constant capacity limit (e.g., always 100 users)
- Variable Type: Dynamically adjusts based on server performance (e.g., 50-300 users)
Setting to 0 moves all users to waiting room (useful for testing).
6. Trigger Rule Setting
What it does: Defines which URLs/requests trigger traffic control
- Only for URL-Triggered Integration (UTI)
- Specify URL patterns, domains, paths
- Combine multiple conditions with AND/OR logic
7. Post-Queue Redirect Page
What it does: Configures where users are redirected after queue completion
- Return to original page: Users return to the page they were visiting
- Redirect to specific URL: All users are redirected to a configured URL
8. Queue Notification Settings
What it does: Configures notifications for administrators and waiting users
- Admin Queue Notification: Email alerts when queues occur
- Customer Queue Notification: Sound and popup notifications when entry time arrives
9. Advanced Features
Pre/Post Waiting Room Reservation: Configure pre-waiting and post-waiting rooms with different timing and purposes.
Advanced Timing:
- Re-request Interval: How often clients check entry availability (1-60 seconds)
- Timeout: Automatic key return mechanism for unused slots (6-60 seconds)
Queue Position Retention: Restore queue position after disconnection (1 second to 2 hours).
Entry Pass: Allow immediate re-entry without re-waiting (1 minute to 24 hours).
Entry Key Invalidation: Force re-queuing for specific URLs or time periods.
Assign Person in Charge: Assign responsible Operators for segment management.
Creating Your First Segment
Quick Start
- Navigate to Segment List: Go to your project's segment management
- Click Create: Click the '+' button in the top right of the segment list
- Select Type: Choose 'Basic Control' in Control Type
- Configure: Set up each section according to your needs
- Test: Use trigger rule test and monitor real-time metrics
Basic Workflow
Create Segment
↓
Basic Settings (Name, Key)
↓
Entry Status (Waiting/Block)
↓
Entry Control Model (Dynamic/Fixed)
↓
Waiting Room Application (Choose Template)
↓
Inflow Setting (Capacity Limit)
↓
Trigger Rule (URL Patterns) [UTI only]
↓
Post-Queue Redirect (Optional)
↓
Queue Notification (Optional)
↓
Advanced Features (Optional)
↓
Test & Deploy