Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Python
  4. Should I Turn My Lightweight API Scheduler into an Open-Source Project?

Should I Turn My Lightweight API Scheduler into an Open-Source Project?

Scheduled Pinned Locked Moved Python
dockerpythonapachedatabasecloud
1 Posts 1 Posters 38 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_16373454
    wrote on last edited by
    #1

    Hey everyone,

    I recently came across a scenario where I needed a lightweight solution to schedule delayed and recurring callbacks for my API. Specifically, I wanted my API to interact with a service that could trigger a designated endpoint, for example, after 2 hours. Additionally, this service should also be capable of making daily calls to a specific endpoint. I'd also like to run this service in a Docker container as part of my application setup.

    In my search for a solution, I explored several options:
    * RabbitMQ (no support for recurring tasks)
    * Celery and Redis Queue (too heavy for my needs)
    * AWS EventBridge and Step Functions (not self-hostable)
    * Temporal and Apache Airflow (both heavy and not self-hostable)

    Eventually, I stumbled upon APScheduler. I ended up building a simple Flask app around it and bundled everything into a Docker container. It’s been working pretty well so far.

    I'm surprised there isn't a go-to solution for such a simple use case (or maybe I just haven't found it yet). Are these kinds of requirements unusual? If not, do you think it would be worthwhile to refine what I’ve put together and turn it into an open-source project?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups