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 Android, iOS, macOS, Windows, and POSIX. -
YapDatabase
YapDB is a collection/key/value store with a plugin architecture. It's built atop sqlite, for Swift & objective-c developers. -
ParseAlternatives
DISCONTINUED. GraphQLite is a toolkit to work with GraphQL servers easily. It also provides several other features to make life easier during iOS application development. [Moved to: https://github.com/relatedcode/GraphQLite] -
Unrealm
Unrealm is an extension on RealmCocoa, which enables Swift native types to be saved in Realm. -
Prephirences
Prephirences is a Swift library that provides useful protocols and convenience methods to manage application preferences, configurations and app-state. UserDefaults -
PredicateEditor
A GUI for dynamically creating NSPredicates at runtime to query data in your iOS app. -
realm-cocoa-converter
A library that provides the ability to import/export Realm files from a variety of data container formats. -
SecureDefaults
Elevate the security of your UserDefaults with this lightweight wrapper that adds a layer of AES-256 encryption -
MySQL
A stand-alone Swift wrapper around the MySQL client library, enabling access to MySQL servers. -
PersistenceKit
Store and retrieve Codable objects to various persistence layers, in a couple lines of code! -
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. -
ObjectiveRocks
An Objective-C wrapper for RocksDB - A Persistent Key-Value Store for Flash and RAM Storage. -
MongoDB
A stand-alone Swift wrapper around the mongo-c client library, enabling access to MongoDB servers. -
PostgreSQL
A stand-alone Swift wrapper around the libpq client library, enabling access to PostgreSQL servers. -
FileMaker
A stand-alone Swift wrapper around the FileMaker XML Web publishing interface, enabling access to FileMaker servers.
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
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.