awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dragonflydb avatar

dragonflydb/dragonfly

0
View on GitHub↗
30,688 stars·1,190 forks·C++·14 viewswww.dragonflydb.io↗

Dragonfly

Dragonfly is a high-performance, multi-model in-memory data store designed to serve as a drop-in replacement for existing database infrastructures. By utilizing a multi-threaded, shared-nothing architecture and a fiber-based concurrency model, it maximizes CPU utilization and minimizes latency for read and write operations. The system supports a wide range of data structures, including strings, hashes, lists, sets, sorted sets, and JSON documents, while maintaining full compatibility with standard industry wire protocols and client libraries.

What distinguishes Dragonfly is its focus on efficiency and scalability through advanced memory management and request processing. It employs a lock-free, cache-friendly hash table structure and zero-copy serialization to reduce overhead during high-throughput operations. For durability, the system utilizes asynchronous, snapshot-based persistence that captures the state of the dataset without blocking active requests. Furthermore, it provides built-in support for horizontal scaling and cluster management, allowing for the distribution of large datasets across multiple nodes to ensure high availability.

Beyond core storage, the platform includes a comprehensive suite of operational and analytical capabilities. It features integrated support for geospatial data management, real-time message brokering via publish-subscribe patterns, and full-text search. To handle massive datasets efficiently, the engine incorporates probabilistic data structures for cardinality estimation, frequency tracking, and membership testing. These features are complemented by robust administrative tools, including access control, request rate limiting, and detailed server monitoring.

Features

  • Distributed Caching Engines - A scalable infrastructure component that accelerates application performance by storing frequently accessed data in a shared, low-latency memory layer.
  • Geospatial Databases - Provides high-speed storage and querying capabilities for location-based information, including proximity searches and distance calculations.
  • Hash Data Structures - Provides high-performance hash map storage for associating multiple field-value pairs with single keys.
  • In-Memory Databases - A high-performance database engine that keeps data in RAM to provide sub-millisecond latency for read and write operations.
  • JSON Document Stores - Stores and manipulates nested JSON documents directly within the database to support complex data structures without external transformation.
  • Key-Value Stores - Dragonfly executes standard key-value operations such as setting, getting, deleting, and checking the existence of keys across various supported data types.
  • Sorted Sets - Maintains collections of unique elements associated with numerical scores to perform efficient range queries and rank-based data retrieval operations.
  • String Data Structures - Provides high-performance storage and atomic manipulation of raw string and binary data types.
  • Cluster Management - Configures and manages cluster nodes to distribute data across multiple instances, ensuring high availability and horizontal scalability.
  • Concurrency Models - Executes asynchronous tasks using lightweight user-space threads to optimize performance during high-throughput network operations.
  • Access Control Systems - Manages user permissions and restricts command execution through access control lists to ensure secure database interactions.
  • Concurrency Models - Processes requests using a lock-free, multi-threaded design that avoids global mutex contention to maximize CPU core utilization.
  • Database Sharding Solutions - Distributing large datasets across multiple nodes to ensure high availability and consistent performance as application traffic and data volume grow.
  • Persistence Strategies - Captures point-in-time states of the in-memory dataset by asynchronously streaming memory pages to disk to ensure durability without blocking operations.
  • Probabilistic Data Structures - Dragonfly performs probabilistic membership testing using bloom filters to efficiently determine if an element is likely present in a large dataset without scanning all records.
  • Runtime Environments - A multi-threaded execution environment designed to maximize CPU efficiency and handle massive request volumes on single or clustered server nodes.
  • Server Administration Tools - Monitors and configures server settings including memory usage, connection handling, and diagnostic reporting to maintain optimal operational health.
  • Caching Layers - Accelerating application response times by replacing standard in-memory data stores with high-throughput alternatives that maintain full protocol compatibility.
  • Database Client SDKs - Supports standard database client libraries to ensure seamless integration with existing development workflows and protocols.
  • Geospatial Data Structures - Provides efficient storage and querying of location coordinates to calculate distances and identify nearby points within the database.
  • Hash Tables - Implements a cache-friendly, lock-free hash table structure for constant-time data lookups and memory-efficient storage.
  • List Data Structures - Provides high-performance ordered sequence management with native support for push, pop, and range-based data operations.
  • Multi-Model Databases - A data storage solution that supports complex structures like hashes, lists, sets, and JSON documents alongside standard key-value pairs.
  • Set Data Structures - Provides high-performance set operations including membership testing, unions, and intersections for unique data collections.
  • Stream Processing - Provides real-time stream processing capabilities through log-based data structures and consumer group message delivery.
  • Message Brokers - Facilitating instant communication between distributed system components by implementing scalable publish-subscribe messaging patterns for event-driven architectures.
  • Request Dispatchers - Routes incoming requests through a translation layer that maps standard wire protocols to internal execution primitives for seamless drop-in replacement.
  • Database Systems - Modern in-memory datastore compatible with Redis and Memcached APIs.
  • Database Compatibility Layers - A drop-in storage alternative that implements standard industry communication protocols to ensure seamless integration with existing application codebases and tools.
  • Data Serialization Patterns - Transmits data between the network layer and storage engine by mapping memory buffers directly to avoid expensive data duplication cycles.
  • Full-Text Search Engines - Dragonfly performs full-text search and complex queries on indexed data to retrieve relevant records based on specific content or attributes within your dataset.
  • Cloud Deployment Services - Dragonfly provides managed cloud deployment options to ensure high availability and consistent performance for in-memory data stores across major cloud computing environments.
  • Rate Limiters - Dragonfly controls the volume of incoming requests to protect system resources and prevent service abuse by enforcing strict traffic limits on specific operations or user endpoints.
  • PubSub Messaging Systems - Dragonfly implements messaging patterns by publishing data to channels and subscribing to receive real-time updates across distributed clients to facilitate seamless communication between system components.

Star history

Star history chart for dragonflydb/dragonflyStar history chart for dragonflydb/dragonfly

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Dragonfly

Similar open-source projects, ranked by how many features they share with Dragonfly.
  • redis/go-redisredis avatar

    redis/go-redis

    22,159View on GitHub↗

    This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive interface for managing remote data stores, enabling developers to execute standard database commands, handle complex data structures, and perform asynchronous operations within Go applications. The library distinguishes itself through its support for advanced Redis capabilities, including connection pooling, pipelining, and transactional integrity. It provides specialized primitives for managing distributed clusters, including automated topology updates and request routing to sha

    Gogogolangredis
    View on GitHub↗22,159
  • hdt3213/godisHDT3213 avatar

    HDT3213/godis

    3,836View on GitHub↗

    Godis is a Redis-compatible in-memory database and distributed key-value store. It functions as a replicated data store and distributed message broker, implementing the Redis protocol to manage complex data structures in memory. The system provides a geospatial indexing engine for proximity-based queries and distance calculations. It ensures high availability and data durability through master-slave replication and write-ahead logging. The project covers a wide range of capabilities including the management of strings, hash maps, lists, and sorted sets. It supports distributed data clusterin

    Goclustergogodis
    View on GitHub↗3,836
  • valkey-io/valkeyvalkey-io avatar

    valkey-io/valkey

    24,875View on GitHub↗

    Valkey is an in-memory, NoSQL database server designed for high-performance data storage and real-time state management. It operates as a distributed key-value store, maintaining datasets entirely within system memory to facilitate sub-millisecond response times for read and write operations. The system distinguishes itself through a single-threaded event loop that utilizes asynchronous I/O multiplexing to ensure high throughput. It supports high availability via master-replica replication and provides a decoupled communication model through a built-in publish-subscribe messaging pattern. To

    Ccachedatabasekey-value
    View on GitHub↗24,875
  • surrealdb/surrealdbsurrealdb avatar

    surrealdb/surrealdb

    32,397View on GitHub↗

    SurrealDB is a multi-model database engine designed to store and query document, graph, relational, and vector data within a single ACID-compliant platform. It functions as an AI-native data store, integrating vector search, graph traversal, and machine learning model execution directly into its query layer. By providing a unified declarative query language, the platform eliminates the need for external middleware to synchronize data across different storage models. The platform distinguishes itself through its ability to manage agent memory and complex workflows natively. It allows developer

    Rustbackend-as-a-servicecloud-databasedatabase
    View on GitHub↗32,397
See all 30 alternatives to Dragonfly→

Frequently asked questions

What does dragonflydb/dragonfly do?

Dragonfly is a high-performance, multi-model in-memory data store designed to serve as a drop-in replacement for existing database infrastructures. By utilizing a multi-threaded, shared-nothing architecture and a fiber-based concurrency model, it maximizes CPU utilization and minimizes latency for read and write operations. The system supports a wide range of data structures, including strings, hashes, lists, sets, sorted sets, and JSON documents, while maintaining full…

What are the main features of dragonflydb/dragonfly?

The main features of dragonflydb/dragonfly are: Distributed Caching Engines, Geospatial Databases, Hash Data Structures, In-Memory Databases, JSON Document Stores, Key-Value Stores, Sorted Sets, String Data Structures.

What are some open-source alternatives to dragonflydb/dragonfly?

Open-source alternatives to dragonflydb/dragonfly include: redis/go-redis — This project is a feature-rich Go client library designed for interacting with Redis. It serves as a comprehensive… hdt3213/godis — Godis is a Redis-compatible in-memory database and distributed key-value store. It functions as a replicated data… valkey-io/valkey — Valkey is an in-memory, NoSQL database server designed for high-performance data storage and real-time state… surrealdb/surrealdb — SurrealDB is a multi-model database engine designed to store and query document, graph, relational, and vector data… tporadowski/redis — Redis is a high-performance in-memory key-value store that functions as a distributed cache, message broker, and NoSQL… apache/incubator-kvrocks — Kvrocks is a disk-based NoSQL database and distributed key-value store that leverages the RocksDB storage engine to…