
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@sidequest/sqlite-backend
Advanced tools
@sidequest/sqlite-backend is a SQLite backend for Sidequest, a distributed background job queue system.
SQLite backend driver for the Sidequest job processing system. This is the default backend for development and testing due to its simplicity and zero-configuration setup. Not recommended for production use.
This package provides a SQLite implementation of the Sidequest backend interface, enabling you to use SQLite as the storage layer for your job queue. It offers all the features of Sidequest including job management, queue operations, statistics, and cleanup routines, while leveraging SQLite's simplicity, zero-configuration setup, and file-based storage.
The SQLite backend extends the SQLBackend
base class and provides optimized SQL queries for job processing, including atomic job claiming operations using SQLite transactions and efficient local file-based storage perfect for development, testing, and single-server deployments.
Install the SQLite backend package:
npm install @sidequest/sqlite-backend
You'll also need to install the main Sidequest package if you haven't already:
npm install sidequest
Configure Sidequest to use the SQLite backend:
import { Sidequest } from "sidequest";
await Sidequest.start({
backend: {
driver: "@sidequest/sqlite-backend",
config: "./sidequest.sqlite",
},
queues: [{ name: "default", priority: 10, workers: 2 }],
});
Default SQLite File:
backend: {
driver: '@sidequest/sqlite-backend',
config: './sidequest.sqlite'
}
Custom Database Path:
backend: {
driver: '@sidequest/sqlite-backend',
config: '/var/data/myapp.sqlite'
}
In-Memory Database (Testing):
backend: {
driver: '@sidequest/sqlite-backend',
config: ':memory:'
}
LGPL-3.0-or-later
FAQs
@sidequest/sqlite-backend is a SQLite backend for Sidequest, a distributed background job queue system.
The npm package @sidequest/sqlite-backend receives a total of 120 weekly downloads. As such, @sidequest/sqlite-backend popularity was classified as not popular.
We found that @sidequest/sqlite-backend demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.