百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

TickerQ

> 编程语言
开源

TickerQ 是一款快速、无反射的后台任务调度程序,为 .NET 构建而成,采用源代码生成器、EF Core 集成、基于 cron + 时间的执行以及 Rea

3.6K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

TickerQ 是一款快速、无反射的后台任务调度程序,为 .NET 构建而成,采用源代码生成器、EF Core 集成、基于 cron + 时间的执行以及 Rea


TickerQ

The modern job scheduler for .NET
Source-generated task scheduling with built-in persistence, cron & time-based execution, and real-time monitoring.

--- ## Why TickerQ? | | | |---|---| | **Zero reflection, AOT ready** | Source generators at compile time. No runtime reflection, no magic strings, fully trimmable. | | **Your database** | EF Core (PostgreSQL, SQL Server, SQLite, MySQL) or Redis. No separate storage. | | **Real-time dashboard** | Built-in SignalR dashboard. Monitor, inspect, manage — no paid add-ons. | | **Multi-node** | Redis heartbeats, dead-node cleanup, lock-based coordination. Just add instances. | | **Minimal setup** | `AddTickerQ()` → decorate a method → schedule. Minutes, not hours. | ## Features - **Time & cron scheduling** — one-off and recurring jobs - **Source-generated** — compile-time function registration for maximum performance - **Dual persistence** — EF Core (PostgreSQL, SQL Server, SQLite, MySQL) or Redis - **Live dashboard** — real-time UI with SignalR — [screenshots](https://tickerq.net/features/dashboard.html#dashboard-screenshots) - **Retry & throttling** — configurable retry policies with backoff - **Dependency injection** — first-class DI support - **Multi-node** — distributed coordination via Redis heartbeats and dead-node cleanup - **Hub** — centralized scheduling across applications via [TickerQ Hub](https://hub.tickerq.net) ## Quick Start ```bash dotnet add package TickerQ ``` ### 1. Register services ```csharp var builder = WebApplication.CreateBuilder(args); builder.Services.AddTickerQ(); var app = builder.Build(); app.UseTickerQ(); app.Run(); ``` ### 2. Create a job ```csharp using TickerQ.Utilities.Base; public class MyJobs { [TickerFunction("HelloWorld")] public async Task HelloWorld( TickerFunctionContext context, CancellationToken cancellationToken) { Console.WriteLine($"Hello from TickerQ! Job ID: {context.Id}"); } } ``` ### 3. Schedule it ```csharp public class MyService(ITimeTickerManager manager) { public async Task Schedule() { await manager.AddAsync(new TimeTickerEntity { Function = "HelloWorld", ExecutionTime = DateTime.UtcNow.AddSeconds(10) }); } } ``` ## Packages | Package | Description | |---------|------------| | [`TickerQ`](https://www.nuget.org/packages/TickerQ) | Core scheduler engine | | [`TickerQ.Utilities`](https://www.nuget.org/packages/TickerQ.Utilities) | Shared types, entities, and interfaces | | [`TickerQ.EntityFrameworkCore`](https://www.nuget.org/packages/TickerQ.EntityFrameworkCore) | EF Core persistence provider | | [`TickerQ.Caching.StackExchangeRedis`](https://www.nuget.org/packages/TickerQ.Caching.StackExchangeRedis) | Redis persistence and distributed coordination | | [`TickerQ.Dashboard`](https://www.nuget.org/packages/TickerQ.Dashboard) | Real-time dashboard UI | | [`TickerQ.Instrumentation.OpenTelemetry`](https://www.nuget.org/packages/TickerQ.Instrumentation.OpenTelemetry) | OpenTelemetry tracing | | [`TickerQ.SourceGenerator`](https://www.nuget.org/packages/TickerQ.SourceGenerator) | Compile-time function registration | > **Note:** All packages are versioned together. Always update all packages to the same version. ## TickerQ Hub Centralized scheduling across applications — [hub.tickerq.net](https://hub.tickerq.net) ## Documentation Full documentation at **[tickerq.net](https://tickerq.net)** — docs are open-source at [TickerQ-UI](https://github.com/Arcenox-co/TickerQ-UI). ## Sponsors & Backers Support TickerQ through [OpenCollective](https://opencollective.com/tickerq). ## Contributing PRs, ideas, and issues are welcome! Please read our [Contributing Guide](CONTRIBUTING.md) and sign the [CLA](CLA.md) before submitting a pull request. ## Contributors Thanks to all our wonderful contributors! See [CONTRIBUTORS.md](CONTRIBUTORS.md) for details. ## License Dual licensed under **MIT** and **Apache 2.0** © [Arcenox LLC](https://arcenox.com)

Issues· 104 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#background-processingdotnetjob-scheduleropen-source

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言