Redis alternatives and similar libraries
Based on the "Database" category.
Alternatively, view Redis alternatives based on common mentions on social networks and blogs.
-
MMKV
An efficient, small mobile key-value storage framework developed by WeChat. Works on iOS, Android, macOS and Windows. -
WCDB
WCDB is an efficient, complete, easy-to-use mobile database framework for iOS, macOS. -
ParseAlternatives
A collaborative list of Parse alternative backend service providers. -
SugarRecord
Data persistence management library written in Swift 2.0 -
Couchbase Mobile
Couchbase document store for mobile with cloud sync. -
FCModel
An alternative to Core Data for people who like having direct SQL access. -
UserDefaults
Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS -
CTPersistance
iOS Database Persistence Layer with SQLite, your next Persistence Layer! -
MongoKitten
A pure Swift MongoDB client implementation with support for embedded databases. -
Prephirences
Prephirences is a Swift library that provides useful protocols and convenience methods to manage application preferences, configurations and app-state. -
Unrealm
Unrealm enables you to easily store Swift native Classes, Structs and Enums into Realm. -
RealmIncrementalStore
Realm-powered Core Data persistent store. -
UserDefaultsStore
An easy and very light way to store and retrieve -reasonable amount- of Codable objects, in a couple lines of code. -
PredicateEditor
A visual editor for dynamically creating NSPredicates to query data in your iOS app. -
ObjectBox
ObjectBox is a superfast, light-weight object persistence framework. -
Nora
Nora is a Firebase abstraction layer for working with FirebaseDatabase and FirebaseStorage. -
realm-cocoa-converter
A library that provides the ability to import/export Realm files from a variety of data container formats. -
MySQL
A Swift wrapper around the MySQL client library, enabling access to MySQL servers. Part of the Perfect project, but stand-alone. SPM and Swift 3 support. -
SecureDefaults
A lightweight wrapper over UserDefaults/NSUserDefaults with an extra AES-256 encryption layer. -
RealmGeoQueries
RealmGeoQueries simplifies spatial queries with Realm Cocoa. In the absence of and official functions, this library provide the possibility to do proximity search. -
PersistentStorageSerializable
Swift library that makes easier to serialize the user's preferences (app's settings) with system User Defaults or Property List file on disk. -
PersistenceKit
Store and retrieve Codable objects to various persistence layers, in a couple lines of code. -
YapDatabaseExtensions
YapDatabase extensions for use with Swift -
TypedDefaults
TypedDefaults is a utility library to type-safely use NSUserDefaults. -
MongoDB
A Swift wrapper around the mongo-c client library, enabling access to MongoDB servers. Part of the Perfect project, but stand-alone. SPM and Swift 3 support. -
PostgreSQL
A Swift wrapper around the libpq client library, enabling access to PostgreSQL servers. Part of the Perfect project, but stand-alone. SPM and Swift 3 support. -
FileMaker
A Swift wrapper around the FileMaker XML Web publishing interface, enabling access to FileMaker servers. Part of the Perfect project, but stand-alone. SPM and Swift 3 support. -
SQLite
A Swift wrapper around the SQLite 3 client library, enabling access to SQLite servers. Part of the Perfect project, but stand-alone. SPM and Swift 3 support. -
Storez
Safe, statically-typed, store-agnostic key-value storage (with namespace support).
Scout APM - Leading-edge performance monitoring starting at $39/month
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Redis or a related project?
Popular Comparisons
README
Perfect-Redis [简体中文](README.zh_CN.md)
Redis client support for Perfect
Quick Start
Get a redis client with defaults (localhost, default port):
let client = RedisClient.getClient(withIdentifier: RedisClientIdentifier())
Ping the server:
let response = client.ping()
guard case .simpleString(let s) = response else {
return
}
XCTAssert(s == "PONG", "Unexpected response \(response)")
Set/get a value:
let (key, value) = ("mykey", "myvalue")
var response = client.set(key: key, value: .string(value))
guard case .simpleString(let s) = response else {
...
return
}
response = client.get(key: key)
guard case .bulkString = response else {
...
return
}
let s = response.toString()
XCTAssert(s == value, "Unexpected response \(response)")
Pub/sub with two clients using async API:
RedisClient.getClient(withIdentifier: RedisClientIdentifier()) {
c in
do {
let client1 = try c()
RedisClient.getClient(withIdentifier: RedisClientIdentifier()) {
c in
do {
let client2 = try c()
client1.subscribe(channels: ["foo"]) {
response in
client2.publish(channel: "foo", message: .string("Hello!")) {
response in
client1.readPublished(timeoutSeconds: 5.0) {
response in
guard case .array(let array) = response else {
...
return
}
XCTAssert(array.count == 3, "Invalid array elements")
XCTAssert(array[0].toString() == "message")
XCTAssert(array[1].toString() == "foo")
XCTAssert(array[2].toString() == "Hello!")
}
}
}
} catch {
...
}
}
} catch {
...
}
}
Building
Add this project as a dependency in your Package.swift file.
.package(url: "https://github.com/PerfectlySoft/Perfect-Redis.git", from: "3.2.3")
Further Information
For more information on the Perfect project, please visit perfect.org.
*Note that all licence references and agreements mentioned in the Redis README section above
are relevant to that project's source code only.