Change code. Keep running.
Upload custom Python tasks at runtime. Workers load your handler without a container rebuild.
Upload a task. Give it a payload. TaskFlow queues the work, scales the workers, and tracks task state.
Run TaskFlow locallyYour infrastructure. Your code. MIT licensed.
# You write the work.
async def handler(payload):
result = await process(payload)
return {"result": result}
An execution model, not a live cluster.
The path from Python code to distributed execution shouldn’t require a new container image every time you change a function.
KEDA watches the Redis queue and adjusts your worker fleet. Explore the idea below.
Illustrative scaling states. Actual scaling follows queue depth.
Upload custom Python tasks at runtime. Workers load your handler without a container rebuild.
Separate high and low priority queues keep critical tasks from waiting behind routine work.
Task history and status persist in PostgreSQL. Follow task states through the REST API.
Bring Docker, Minikube, and kubectl. The repository’s Makefile handles the local deployment.
Read the setup guidegit clone
https://github.com/dhruvkshah75/TaskFlow.git
cd TaskFlow
make run-local
Builds images and deploys services with autoscaling.
Register, upload Python files, and follow tasks from an interactive prompt or run commands directly from your shell.
Watch the project demonstration, from the terminal to the running system.
A little context before you put your first task in motion.
Python files with a handler(payload) function. Synchronous and asynchronous handlers are supported. Match the task title to the Python filename without its extension.
KEDA monitors Redis queue depth and adjusts the Kubernetes worker deployment from 2 to 20 pods. The scaling controls above illustrate the concept; they do not control a real cluster.
No. TaskFlow supports dynamic Python uploads. Workers load the uploaded task code through shared storage without rebuilding the worker image.
Docker with its daemon running, Minikube, and kubectl. Follow the repository README for prerequisites and local deployment instructions.
PostgreSQL stores task history and status. Redis handles the message queues, while workers execute the Python handlers.
Yes. TaskFlow is open source under the MIT license. Explore the repository, run it on your own infrastructure, and adapt the code to your needs.
Start with a function. See where it takes you.