awesome-repositories.com
Blog
MCP
awesome-repositories.com

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

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
Tencent avatar

Tencent/MMKV

0
View on GitHub↗
18,623 stars·1,982 forks·C++·23 views

MMKV

MMKV is a high-performance, cross-platform key-value storage framework designed for mobile platforms and POSIX environments, including Android, iOS, macOS, and Windows. It provides a persistence layer that utilizes memory-mapped files and binary serialization to achieve low-latency data access.

The project distinguishes itself through native support for multi-process synchronization, allowing concurrent read and write operations across different application processes. It also implements security via AES encryption for data at rest, featuring symmetric encryption and key rotation to protect stored values.

The framework includes capabilities for data migration from platform-specific preference stores, such as shared preferences and user defaults. Additional functionality covers storage governance through instance-based isolation, time-to-live expiration for keys, and tools for disk space reclamation, backup and recovery, and data integrity validation.

The library provides utilities for custom log routing and external content monitoring to track modifications triggered by other processes.

Features

  • Memory-Mapped File Access - Uses memory-mapped files to map storage directly into virtual memory for high-speed data access.
  • Key-Value Persistence Stores - Provides a high-performance key-value persistence store for mobile devices using memory-mapped files.
  • Cross-Platform Storage Frameworks - Provides a consistent data persistence layer across Android, iOS, macOS, and Windows.
  • Inter-Process Data Synchronization - Implements native synchronization to allow concurrent read and write operations across different application processes.
  • Key-Value Stores - Provides a lightweight, non-relational key-value persistence layer optimized for mobile application state.
  • Process-Level Synchronization - Synchronizes concurrent read and write operations across different processes to maintain a consistent state.
  • Data Encryption - Secures stored key-value pairs at rest using symmetric AES encryption.
  • Encrypted Persistence - Provides encrypted local storage persistence using AES encryption to secure application data at rest.
  • Storage Synchronization - Coordinates concurrent read and write operations across multiple processes to ensure data consistency.
  • Multi-Process Data Stores - Ships a storage system that synchronizes concurrent read and write operations across multiple application processes.
  • Append-Only Storage Engines - Implements an append-only storage architecture to maximize write throughput and performance.
  • Redundant Write Prevention - Minimizes I/O operations by comparing new values against existing ones before committing writes to disk.
  • Data Recovery - Allows registration of custom recovery strategies to handle corrupted data or invalid file lengths.
  • Protocol Buffers - Uses a binary Protocol Buffer format to encode key-value pairs for compact disk representation.
  • Storage Integrity Validation - Uses checksums to detect data corruption in persistent storage and trigger recovery handlers.
  • Migration Importers - Includes utilities for importing data from platform-specific user preference stores.
  • Preference Store Migrators - Provides a tool to import existing data from Android SharedPreferences for a seamless transition.
  • Native Buffer Transfers - Optimizes performance by passing large values using native memory buffers to avoid expensive data copying.
  • Preference Store Migrations - Includes utilities to migrate existing data from Android SharedPreferences and iOS User Defaults into the framework.
  • Database Libraries - Efficient key-value storage for mobile platforms.

Star history

Star history chart for tencent/mmkvStar history chart for tencent/mmkv

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

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 MMKV

Similar open-source projects, ranked by how many features they share with MMKV.
  • facebook/rocksdbfacebook avatar

    facebook/rocksdb

    31,767View on GitHub↗

    RocksDB is a high-performance, embeddable persistent key-value library and storage engine based on Log-Structured Merge-trees. It is designed to provide durable storage for large-scale datasets, integrating directly into applications to manage data on flash and RAM-based hardware. The engine is distinguished by its focus on minimizing read and write amplification through multi-threaded compaction and custom memory allocators. It features specialized optimizations for flash storage, including support for zoned block devices, and provides the ability to extend store behavior via external plugin

    C++databasestorage-engine
    View on GitHub↗31,767
  • ammarahm-ed/react-native-mmkv-storageammarahm-ed avatar

    ammarahm-ed/react-native-mmkv-storage

    1,752View on GitHub↗

    This project provides a high-performance key-value storage solution for mobile applications, utilizing memory-mapped files to enable rapid read and write operations. It functions as a persistent data layer that integrates directly with the JavaScript runtime to minimize overhead, while supporting reactive state synchronization to ensure interface components update automatically when stored data changes. The storage system distinguishes itself through its ability to manage multiple independent database instances, which organizes data by module and prevents collisions between application compon

    C++androidasyncstoragedata-storage
    View on GitHub↗1,752
  • memvid/memvidmemvid avatar

    memvid/memvid

    15,679View on GitHub↗

    Memvid is an embedded memory framework designed to provide persistent, versioned context for intelligent agents. It functions as a local vector database library that stores all data within a single binary file, removing the need for external database infrastructure or network dependencies. The system distinguishes itself by integrating in-process vector indexing with append-only versioning, allowing for high-speed semantic similarity searches alongside the ability to track and roll back state changes over time. It includes built-in transparent data encryption and masking to secure sensitive i

    Rustaicontextembedded
    View on GitHub↗15,679
  • react-native-async-storage/async-storagereact-native-async-storage avatar

    react-native-async-storage/async-storage

    5,067View on GitHub↗

    React Native AsyncStorage is a persistent key-value storage library designed for React Native applications. It provides a unified local storage interface that works identically on both iOS and Android, ensuring saved data remains available across app restarts and when the device has no network connectivity. The library uses an asynchronous background I/O queue to handle all storage operations without blocking the JavaScript thread, communicating with native storage engines through React Native's bridge protocol. It includes a serialization layer that converts JavaScript values to strings for

    Kotlin
    View on GitHub↗5,067
See all 30 alternatives to MMKV→

Frequently asked questions

What does tencent/mmkv do?

MMKV is a high-performance, cross-platform key-value storage framework designed for mobile platforms and POSIX environments, including Android, iOS, macOS, and Windows. It provides a persistence layer that utilizes memory-mapped files and binary serialization to achieve low-latency data access.

What are the main features of tencent/mmkv?

The main features of tencent/mmkv are: Memory-Mapped File Access, Key-Value Persistence Stores, Cross-Platform Storage Frameworks, Inter-Process Data Synchronization, Key-Value Stores, Process-Level Synchronization, Data Encryption, Encrypted Persistence.

What are some open-source alternatives to tencent/mmkv?

Open-source alternatives to tencent/mmkv include: facebook/rocksdb — RocksDB is a high-performance, embeddable persistent key-value library and storage engine based on Log-Structured… ammarahm-ed/react-native-mmkv-storage — This project provides a high-performance key-value storage solution for mobile applications, utilizing memory-mapped… memvid/memvid — Memvid is an embedded memory framework designed to provide persistent, versioned context for intelligent agents. It… react-native-async-storage/async-storage — React Native AsyncStorage is a persistent key-value storage library designed for React Native applications. It… boltdb/bolt — Bolt is a single-file embedded key-value store for Go applications. It is an ACID transactional database that… dgraph-io/badger — Badger is an embeddable key-value store written in Go that provides persistent data storage for byte keys and values.…