Examples of using task scheduler with Go?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. starlark-go

    Starlark in Go: the Starlark configuration language, implemented in Go

    The big unknown is your task definition: what does user-defined logic look like? If you're expecting go code, that's gonna need some cleverness because of the compiled nature of it. There's a node runtime implemented in go if you want to provide sandboxed javascript (check the source of k6.io, it's the main one I know that uses it). If you want to provide building blocks and let them compose them, starlark might be a good choice.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. watermill

    Building event-driven applications the easy way in Go.

    Watermill is a good pubsub abstraction. You can start with native go channels and grow into a cloud pubsub or Kafka/Pulsar if you need to.

  4. goja

    ECMAScript/JavaScript engine in pure Go

    Goja https://github.com/dop251/goja

  5. k6

    A modern load testing tool, using Go and JavaScript

    K6' usage - pretty friggin robust - is here https://github.com/grafana/k6/tree/master/js

  6. celery

    Distributed Task Queue (development branch)

    In the Django world, you'd probably rely on Celery to do this for you. You're probably looking for something similar that works with Go. https://github.com/celery/celery

  7. Asynq

    Simple, reliable, and efficient distributed task queue in Go

    Asynq looks promising. Never used it myself. https://github.com/hibiken/asynq

  8. neoq

    Queue-agnostic background job library for Go, with a pleasant API and powerful features.

    I created a background processor called Neoq (https://github.com/acaloiaro/neoq) that is likely to interest you.

  9. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  10. As oblivion-2005 said, the docs are pretty good! I got started with the money transfer sample - https://github.com/temporalio/money-transfer-project-template-go and experimented from there. What took me a little while to wrap my head around was the deterministic bit, especially using workflow.Now(). I’d recommend using temporalite for testing - it makes the dev super easy. Especially with the “—ephemeral” flag.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What is the best task queue?

    6 projects | /r/golang | 15 Jan 2023
  • Should I reuse the connection on Redis or close it after every use?

    2 projects | /r/golang | 21 Dec 2022
  • Are there any actively maintained or official Golang libraries for managing work queues?

    8 projects | /r/golang | 29 Oct 2022
  • Looking for a mature distributed task queuer/scheduler in go

    12 projects | /r/golang | 6 Oct 2022
  • Golang task queue

    10 projects | /r/golang | 6 Sep 2022