mirror of
https://github.com/hibiken/asynq.git
synced 2025-04-23 09:10:19 +08:00
Update README.md
This commit is contained in:
parent
4312e4fca1
commit
7acb9058e9
32
README.md
32
README.md
@ -1,6 +1,6 @@
|
|||||||

|
<img src="https://user-images.githubusercontent.com/11155743/114697792-ffbfa580-9d26-11eb-8e5b-33bef69476dc.png" alt="Asynq logo" width="360px" />
|
||||||
|
|
||||||
# Asynq
|
# Simple, reliable & efficient distributed task queue in Go
|
||||||
|
|
||||||
[](https://godoc.org/github.com/hibiken/asynq)
|
[](https://godoc.org/github.com/hibiken/asynq)
|
||||||
[](https://goreportcard.com/report/github.com/hibiken/asynq)
|
[](https://goreportcard.com/report/github.com/hibiken/asynq)
|
||||||
@ -19,13 +19,7 @@ Highlevel overview of how Asynq works:
|
|||||||
Task queues are used as a mechanism to distribute work across multiple machines.
|
Task queues are used as a mechanism to distribute work across multiple machines.
|
||||||
A system can consist of multiple worker servers and brokers, giving way to high availability and horizontal scaling.
|
A system can consist of multiple worker servers and brokers, giving way to high availability and horizontal scaling.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Stability and Compatibility
|
|
||||||
|
|
||||||
> ☝️ **Important Note**: Current major version is zero (`v0.x.x`) to accomodate rapid development and fast iteration while getting early feedback from users (_feedback on APIs are appreciated!_). The public API could change without a major version update before `v1.0.0` release.
|
|
||||||
|
|
||||||
**Status**: The library is currently undergoing **heavy development** with frequent, breaking API changes.
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
@ -47,6 +41,12 @@ A system can consist of multiple worker servers and brokers, giving way to high
|
|||||||
- [Web UI](#web-ui) to inspect and remote-control queues and tasks
|
- [Web UI](#web-ui) to inspect and remote-control queues and tasks
|
||||||
- [CLI](#command-line-tool) to inspect and remote-control queues and tasks
|
- [CLI](#command-line-tool) to inspect and remote-control queues and tasks
|
||||||
|
|
||||||
|
## Stability and Compatibility
|
||||||
|
|
||||||
|
**Status**: The library is currently undergoing **heavy development** with frequent, breaking API changes.
|
||||||
|
|
||||||
|
> ☝️ **Important Note**: Current major version is zero (`v0.x.x`) to accomodate rapid development and fast iteration while getting early feedback from users (_feedback on APIs are appreciated!_). The public API could change without a major version update before `v1.0.0` release.
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
Make sure you have Go installed ([download](https://golang.org/dl/)). Version `1.13` or higher is required.
|
Make sure you have Go installed ([download](https://golang.org/dl/)). Version `1.13` or higher is required.
|
||||||
@ -213,6 +213,7 @@ func main() {
|
|||||||
```
|
```
|
||||||
|
|
||||||
Next, start a worker server to process these tasks in the background.
|
Next, start a worker server to process these tasks in the background.
|
||||||
|
|
||||||
To start the background workers, use [`Server`](https://pkg.go.dev/github.com/hibiken/asynq?tab=doc#Server) and provide your [`Handler`](https://pkg.go.dev/github.com/hibiken/asynq?tab=doc#Handler) to process the tasks.
|
To start the background workers, use [`Server`](https://pkg.go.dev/github.com/hibiken/asynq?tab=doc#Server) and provide your [`Handler`](https://pkg.go.dev/github.com/hibiken/asynq?tab=doc#Handler) to process the tasks.
|
||||||
|
|
||||||
You can optionally use [`ServeMux`](https://pkg.go.dev/github.com/hibiken/asynq?tab=doc#ServeMux) to create a handler, just as you would with [`"net/http"`](https://golang.org/pkg/net/http/) Handler.
|
You can optionally use [`ServeMux`](https://pkg.go.dev/github.com/hibiken/asynq?tab=doc#ServeMux) to create a handler, just as you would with [`"net/http"`](https://golang.org/pkg/net/http/) Handler.
|
||||||
@ -263,15 +264,20 @@ To Learn more about `asynq` features and APIs, see our [Wiki](https://github.com
|
|||||||
## Web UI
|
## Web UI
|
||||||
|
|
||||||
[Asynqmon](https://github.com/hibiken/asynqmon) is a web based tool for monitoring and administrating Asynq queues and tasks.
|
[Asynqmon](https://github.com/hibiken/asynqmon) is a web based tool for monitoring and administrating Asynq queues and tasks.
|
||||||
Please see the tool's [README](https://github.com/hibiken/asynqmon) for details.
|
|
||||||
|
|
||||||
Here's a few screenshots of the web UI.
|
Please see the tool's [README](https://github.com/hibiken/asynqmon) for details. Here's a few screenshots of the Web UI:
|
||||||
|
|
||||||
**Queues view**
|
**Queues view**
|
||||||

|
|
||||||
|

|
||||||
|
|
||||||
**Tasks view**
|
**Tasks view**
|
||||||

|
|
||||||
|

|
||||||
|
|
||||||
|
**Settings and adaptive dark mode**
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Command Line Tool
|
## Command Line Tool
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user