Skip to content
Discussion options

You must be logged in to vote

DataJoint 2.0 Update

DataJoint 2.0 introduces Jobs 2.0, a redesigned job management system that makes cluster usage more straightforward.

Key Features for Cluster Usage

1. Automatic Job Discovery

# Each worker discovers and reserves jobs automatically
MyTable.populate()  # Workers compete fairly for pending jobs

2. Priority-Based Scheduling

# Refresh jobs with priority (lower = more urgent)
MyTable.jobs.refresh(priority=1)  # High priority jobs
MyTable.jobs.refresh(priority=10)  # Lower priority jobs

3. Delayed Scheduling

# Schedule jobs to start later
MyTable.jobs.refresh(delay=3600)  # Available in 1 hour

4. Orphan Detection

# Clean up jobs from crashed workers
MyTable.jobs.refresh(orph…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zhenruiliao
Comment options

Answer selected by zhenruiliao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants