New in 0.16.0

v0.16.1

Streamline Your Journey to Distributed Applications

Infinitic enables the implementation of complex event-driven business processes in weeks instead of months.

Built with Apache Pulsar
LoyaltyWorkflow
public void start(User user) {
// while this user is active
while (userService.isActive(user)) {
// add points
loyaltyService.incrementPoints(140);
// wait one week
timer(Duration.ofDays(7)).await();
}
}

Introduction

Getting Started

Infinitic implements a durable execution pattern, empowering developers to build complex business processes that withstand failures and outages. It maintains simplicity in design and maintenance while ensuring scalability and reliability.

Infinitic is ideal for backend teams developing applications that are time-dependant, dynamic or including human interactions, such as:

  • E-commerce platforms with dynamic inventory management and complex delivery and invoicing processes
  • Financial systems handling multi-step transactions with built-in error recovery, or even manual approval for large transfers
  • Supply chain management systems coordinating time-critical logistics across multiple parties
  • Customer support platforms with escalation processes that evolve based on issue complexity and involve human agents for complex cases
  • Subscription-based services managing recurring billing cycles with retry mechanisms and manual review for payment disputes
  • Travel booking systems orchestrating flight, hotel, and car reservations with fallback options
  • Content management systems with multi-stage approval workflows, scheduled publishing, and editorial review processes

Building with Infinitic requires only two key components:

  • A database for storing current workflow states using a simple key-value table (currently supporting Redis, Postgres, and MySQL, with easy expansion to other databases).
  • A message broker to securely store and distribute messages generated by Infinitic to workers (currently supporting Apache Pulsar).

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.

Yourself 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.
  • Service Workers execute your Services. You implement the actual Service logic or API calls, while Infinitic handles all Pulsar-related operations.

Those workers built with the Infinitic SDK - consume messages, process them, and produce responses. The Infinitic SDK provides extensive functionalities that you do not have to code and maintain:

  • Implementation of events consumers and producers
  • Management of topics: topology, schemas, and creation
  • Error handling in case of failures
  • Data serialization
  • API for building workflows

At last, if you already have an existing infrastructure, Infinitic doesn't require you to replace it. Instead, it can seamlessly integrate with your current setup, allowing you to develop new features and enhance your system's capabilities without disrupting your existing architecture.

Infinitic is currently available for Java and Kotlin.

Click the Java button in the top navigation bar to select your preferred programming language for this documentation.

Infinitic can support additional programming languages. Contact us if you're interested in other language support.

Key benefits of using Infinitic:

  • 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.

Terminology

Understand the key components of Infinitic: Services, Tasks, Workflows, Workers, and Clients.

Under The Hood

Discover how Infinitic workflows are fully event-driven, horizontally scalable, and resilient to errors.

Workflow Examples

Explore workflow examples that demonstrate Infinitic's power and ease of use in building complex business processes.

Hello World

Follow our step-by-step guide to build your first Infinitic workflow.