Skip to main content

BadgerDB

BadgerDB is an embeddable, persistent, and fast key-value (KV) database written in pure Go. It provides an efficient way to store and retrieve data in your RPA automations without requiring an external database server.

Overview

The BadgerDB package allows you to create lightweight, embedded databases for your automation workflows. Perfect for caching data, storing configuration, maintaining counters, or managing temporary data during automation runs.

Key Features

  • Embedded Database - No external server required, runs directly in your automation
  • Fast Performance - Optimized for high-speed read and write operations
  • Persistent Storage - Data survives between automation runs
  • In-Memory Mode - Optional temporary storage for session data
  • Transactions - ACID-compliant transactions for data integrity
  • Time-To-Live (TTL) - Automatic expiration of data entries
  • Backup & Restore - Full database backup and restoration capabilities
  • Merge Operations - Atomic increment, decrement, and JSON merging
  • Export to CSV - Export all data to CSV format for analysis

Use Cases

  • Data Caching - Store frequently accessed data to improve performance
  • Session Management - Maintain state between automation steps
  • Counter Management - Track counts, statistics, or sequential IDs
  • Configuration Storage - Store and retrieve application settings
  • Temporary Data - Store intermediate results during complex workflows
  • Rate Limiting - Track API call counts with TTL expiration
  • Job Queues - Manage work items and their status

Available Nodes