m3dev / gokart

Gokart solves reproducibility, task dependencies, constraints of good code, and ease of use for Machine Learning Pipeline.
https://gokart.readthedocs.io/en/latest/
MIT License
305 stars 57 forks source link

Introducing Task Run Locking for Enhanced Concurrency Control in Gokart #353

Closed mski-iksm closed 6 months ago

mski-iksm commented 6 months ago

Introducing Task Run Locking for Enhanced Concurrency Control in Gokart

tl;dr

Summary

This pull request introduces significant updates aimed at enhancing the efficiency and reliability of running tasks on multiple workers in a Gokart/Luigi pipeline. Specifically, it adds new documentation on efficient multi-worker execution, updates task conflict prevention mechanisms, and integrates backoff strategies for handling task lock exceptions. These changes are designed to prevent redundant task executions and ensure more robust task locking in distributed environments.

Changes

Impact

Testing

Documentation

Hi-king commented 6 months ago

@mski-iksm THX for adding brand new feature 👍