Introduction
Jobs are the fundamental unit of execution on the Eventual platform. They’re procedures composed of daft (our multimodal query engine) operations that automatically handle scaling, retries, and fault tolerance, so you can focus on writing your business logic without worrying about distributed systems complexity.Jobs automatically handle scaling, retries, and fault tolerance - no distributed systems expertise required!
Basic Job Structure
Every Eventual job follows a simple pattern:Your First Job
Let’s create a simple job that processes some data:Running Your Job
There are two ways to run your job:1. Using the CLI
2. Using Python (Programmatic)
You can also define and run jobs programmatically:Job Configuration
Jobs can be configured with environment variables and dependencies:Monitoring Your Job
Once your job is running, you can monitor its progress:Error Handling
Jobs automatically handle common errors, but you can add custom error handling:Best Practices
Function Naming
Function Naming
Use descriptive names for your job functions and jobs:
Environment Setup
Environment Setup
Always specify your dependencies explicitly:
Return Values
Return Values
Return meaningful exit codes:
Logging
Logging
Use print statements or logging for debugging:
Common Patterns
Data Processing Job
API Integration Job
Next Steps
Now that you can create and run jobs, explore more advanced features:Core Concepts
Learn about Jobs, Environments, and Resources
CLI Usage
Master the ev command-line interface
Programmatic Usage
Define and manage jobs with the SDK
Examples
See real-world examples of multimodal processing
Ready to process real data? Check out our image processing example to see how to handle multimodal data at scale.