Skip to main content

Build Durable Workflows with Infinitic

An open source orchestration framework for application teams to build durable and flexible backend processes with workflows and microservices.

What is Infinitic?

Infinitic accelerates the implementation of event-driven architectures, reducing development time from months to weeks. It is ideal for backend teams developing applications that are time-dependent, dynamic, or include human interactions.

Perfect For

E-commerce Platforms

Dynamic inventory management with complex delivery and invoicing processes

Financial Systems

Multi-step transactions with built-in error recovery and manual approval workflows

Supply Chain Management

Time-critical logistics coordination across multiple parties

Customer Support

Escalation processes that evolve based on complexity with human agent involvement

Subscription Services

Recurring billing cycles with retry mechanisms and manual review for disputes

Travel Booking

Orchestrating flight, hotel, and car reservations with fallback options

Key Features

Durable Workflows

Workflows remain resilient to service or worker failures, ensuring consistent operation with state persistence

Event-Driven Architecture

Built on Apache Pulsar for exceptional scalability and reliable message delivery

Automatic Retry & Timeout

Built-in error handling with configurable retry policies and timeout management

Multiple Storage Backends

Support for Redis, MySQL, and PostgreSQL with simple key-value storage

Flexible Configuration

Configure via YAML files or programmatic builders for maximum flexibility

Enhanced Observability

Comprehensive monitoring with CloudEvents integration and built-in dashboard

Core Components

Building with Infinitic requires only two key infrastructure components:
1

Database for State Storage

A simple key-value database for storing current workflow states. Currently supporting Redis, Postgres, and MySQL, with easy expansion to other databases.
2

Event Streaming Platform

An event streaming platform to securely store and distribute messages. Currently supporting Apache Pulsar with managed instances available.
Don’t worry about mastering these external dependencies - Infinitic handles everything for you. If you’re new to these technologies, managed instances are an excellent solution.

How It Works

You only need to focus on writing your application-specific code:

Workflow Workers

Orchestrate the execution of your services. You simply code their description using service interfaces.
class BookingWorkflow : Workflow() {
    private val hotelService = newService(HotelService::class.java)
    private val flightService = newService(FlightService::class.java)
    
    fun book(request: BookingRequest): BookingResult {
        // Orchestrate your services
        val hotel = hotelService.book(request.hotelId)
        val flight = flightService.book(request.flightId)
        
        return BookingResult(hotel, flight)
    }
}

Service Workers

Execute your services. You implement the actual service logic or API calls, while Infinitic handles all event processing operations.
class HotelService {
    fun book(hotelId: String): HotelBooking {
        // Your actual implementation
        return callHotelApi(hotelId)
    }
}
The Infinitic SDK provides extensive functionalities that you don’t have to code and maintain:
  • Implementation of event consumers and producers
  • Management of topics: topology, schemas, and creation
  • Error handling in case of failures
  • Data serialization
  • API for building workflows

Key Benefits

Flexibility

Harness the full power of programming languages with loops, conditions, and data manipulation to define durable processes

Easy Maintenance

Workflows are easy to understand, consolidated in a single class, and version-controlled like standard code

Enhanced Observability

Comprehensive monitoring with detailed insights available on dashboards

Unmatched Reliability

Workflows remain resilient to service or worker failures, ensuring consistent operation

High Scalability

Infinitic’s core event-driven architecture guarantees exceptional scalability

Seamless Integration

Integrate with existing infrastructure without disruption, allowing incremental adoption

Next Steps

Quickstart

Get up and running with Infinitic in minutes

Installation

Install and configure Infinitic for your project

Core Concepts

Learn about workflows, services, and workers

Examples

Explore real-world use cases and examples

Build docs developers (and LLMs) love