Jframework Glossary
English
English
  • Welcome
  • Introduction
    • Contact
  • TERMS
    • Acronym
    • Commonly confused words
    • 09
    • A
    • B
    • C
    • D
    • E
    • F
    • I
    • J
    • K
    • L
    • M
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U
    • V
    • W
    • X
    • Y
    • Z
  • THAM KHαΊ’O
    • TechDictionary.org
Powered by GitBook
On this page
  • Schedule
  • Scheduler
  • Scope
  • Soft-delete
  • Service
  • Statement
  • Subscription
  • Subscrption Type
  • System
Export as PDF
  1. TERMS

S

Schedule

Xem Scheduler

Scheduler

A scheduler in software is a system component that manages and controls the execution of tasks, processes, or jobs based on predefined rules and timing. It determines which task runs, when it runs, and for how long.

Scheduler

πŸ”Ή Types of Schedulers in Software

1️⃣ CPU Scheduler (Process Scheduler) πŸ–₯️

βœ” Found in operating systems, it decides which process gets CPU time. βœ” Uses scheduling algorithms like FCFS, Round Robin, Priority Scheduling. πŸ“Œ Example: Windows Task Manager schedules processes efficiently.

2️⃣ Job Scheduler πŸ“…

βœ” Handles scheduled batch jobs, reports, and automated workflows. βœ” Used in enterprise IT systems, cloud platforms, and databases. πŸ“Œ Example: Cron Jobs in Linux, Windows Task Scheduler, Jenkins for CI/CD.

3️⃣ Task Scheduler πŸ“‹

βœ” Manages background tasks within applications. βœ” Often used for automated backups, email notifications, and recurring tasks. πŸ“Œ Example: A task scheduler in a web app sends daily reports at midnight.

4️⃣ Database Query Scheduler πŸ“Š

βœ” Optimizes query execution time by scheduling database operations efficiently. πŸ“Œ Example: MySQL event scheduler runs stored procedures at scheduled times.

5️⃣ Cloud & Container Orchestration Scheduler ☁️

βœ” Schedules cloud-based workloads, container deployments, and microservices. πŸ“Œ Example: Kubernetes Scheduler assigns pods to nodes.


πŸ”Ή Why is Scheduling Important?

βœ” Efficiency: Ensures optimal use of system resources (CPU, memory). βœ” Automation: Reduces manual intervention in running repetitive tasks. βœ” Performance: Prevents overload and improves system responsiveness. βœ” Scalability: Helps manage tasks across distributed systems.


πŸ”Ή Key Takeaways

πŸ”Ή A scheduler manages task execution in software & systems. πŸ”Ή Used in OS, cloud computing, databases, automation, and DevOps. πŸ”Ή It ensures efficiency, automation, and resource management.

Scope

Scope refers to the boundaries or limits within which something is defined, accessed, or applicable. It is widely used in software development, project management, and security.

Soft-delete

Soft deletion is a technique used in databases and applications in which data is not permanently deleted but marked as "inactive" or "deleted." This allows for data recovery and maintains historical records.

Soft-delete

πŸ”Ή How does soft delete work?

1️⃣ Instead of deleting a record, a "deleted" flag (e.g., is_deleted = TRUE) is set. 2️⃣ The data remains in the database but is hidden from normal queries. 3️⃣ If needed, the record can be restored by changing the flag.

πŸ“Œ Example (SQL Soft-Delete)

sqlCopyEditUPDATE users 
SET is_deleted = TRUE 
WHERE user_id = 123;

Instead of deleting the row, it marks it as deleted.

πŸ“Œ Restoring a Soft-Deleted Record

sqlCopyEditUPDATE users 
SET is_deleted = FALSE 
WHERE user_id = 123;

πŸ”Ή Soft-Delete vs. Hard-Delete

Feature

Soft-Delete

Hard-Delete

Data Recovery

βœ… Possible

❌ Not possible

Performance Impact

🚨 Can slow queries (more filtering)

⚑ Faster deletion

Storage Usage

πŸ“ˆ More space required

βœ… Less space used

Audit & History

βœ… Retains history

❌ No record remains


πŸ”Ή When to use soft delete

βœ” When data recovery is needed (e.g., user accounts, transactions). βœ” For auditing and logging (e.g., keeping a history of deleted records). βœ” To prevent accidental data loss in applications.


πŸ”Ή When to Use Hard-Delete?

βœ” When storage is a concern and data is no longer needed. βœ” For compliance reasons where data must be completely removed. βœ” For temporary data that does not need recovery.


πŸ”Ή Soft-Delete in Frameworks

  • Django ORM: soft_delete = models.BooleanField(default=False)

  • Laravel Eloquent: use SoftDeletes;

  • MongoDB: { "is_deleted": true }


πŸ”Ή Key Takeaways

πŸ”Ή Soft-delete marks data as deleted instead of removing it. πŸ”Ή Allows recovery and auditing and prevents data loss. πŸ”Ή Used in databases, SaaS applications, and enterprise systems.

Service

In software, a service is a self-contained unit of functionality that performs specific tasks and can run independently or as part of a more extensive system. Services are commonly used in operating systems, web applications, cloud computing, and microservices architectures.

JFW supports 11 services, such as Identity, CDN, Security, Billing, Payment, ...

Statement

In project management, a statement refers to a formal document or declaration that defines key aspects of a project, such as its objectives, scope, deliverables, constraints, and assumptions. Statements help set clear expectations and guide project execution.

Subscription

In software and business, a subscription is a pricing model in which users pay a recurring fee (monthly, yearly, or for a custom period) to access a product or service.

Subscrption Type

A Subscription Type defines the duration and conditions of access to a service or product. For example, a 90-day subscription allows users to access the service for 90 days from the activation date, after which they must renew or extend it.

Subscription Type

Common Subscription Types by Duration

  1. Short-Term Subscriptions

    • 7 days (weekly)

    • 30 days (monthly)

    • 90 days (quarterly)

  2. Long-Term Subscriptions

    • 6-month (semi-annual)

    • 1-year (annual)

    • Lifetime (one-time payment for permanent access)

Subscription Renewal Types

  • Auto-Renewal: Automatically renews after 90 days unless canceled.

  • Manual Renewal: Users must manually renew after 90 days.

  • One-Time Access: No renewal, expires after 90 days.

System

It is JFW or service, an object without a specified Brand.

PreviousRNextT

Last updated 2 months ago