Stellar.FastDB
1.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Stellar.FastDB --version 1.0.1
NuGet\Install-Package Stellar.FastDB -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Stellar.FastDB" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Stellar.FastDB" Version="1.0.1" />
<PackageReference Include="Stellar.FastDB" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Stellar.FastDB --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Stellar.FastDB, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Stellar.FastDB@1.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Stellar.FastDB&version=1.0.1
#tool nuget:?package=Stellar.FastDB&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Stellar.FastDB - a High Performance .NET Document Store
An embedded datatabase designed for high concurrency workloads.
Stellar.FastDB is an embedded document store built for performance and high concurrency.
- Serverless embedded document storage
- Simple thread-safe API
- 100% C# code for .NET 5,6,7,8.0 in a single DLL (less than 30 kb)
- Support multiple readers and writers with no explicit locking required.
- Schema-less storage with change resiliance.
- Optimized storage footprint with configurable formats (MessagePack, BSON).
- Supports asynchronous programming with async and await.
- LZH Compresion
- AES Encryption
- Confirgurable parallelization options for serialization, compression, and encryption.
- Relational querying through LINQ
- End-to-end type safety
- Supports for composite keys
- Open source and free to use, including commerical use.
- Install from Nuget. Install-Package Stellar.FastDB
Should I use Stellar.FastDB?
Use Stellar.FastDB if you need:
- Embedded durable storage (i.e. game server, desktop app)
- Thread-safety and high in-process concurrency
- High throughput
- Small storage footprint
Do not use this database if you need:
- Interprocess connection sharing
- Single file storage
How to use Stellar.FastDB
// create a class
public class Customer
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime DOB { get; set; }
public string Phone { get; set; }
public bool IsActive { get; set; }
}
// create database
FastDB fastDB = new FastDB();
// create a collection (key, value)
var customers = fastDB.GetCollection<int, Customer>();
// create your new customer instance
var customer = new Customer
{
Name = "John Wick",
Phone = "555-555-5555"
DOB = new DateTime(2000, 1, 1)
IsActive = true
};
// add customer
customers.Add(customer.Id, customer);
// update customer
customer.Name = "Joana Doe";
customers.Update(customer);
// use LINQ to query documents
var matches = customers.Where(a => a.Name.StartsWith("John") && a.Telephone > 5555555);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- MessagePack (>= 2.5.140)
-
net7.0
- MessagePack (>= 2.5.140)
-
net8.0
- MessagePack (>= 2.5.140)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Stellar.FastDB:
| Package | Downloads |
|---|---|
|
GoLive.Saturn.Data.Stellar
An experimental Rapid Prototype Development Framework in c#/.net core. |
GitHub repositories
This package is not used by any popular GitHub repositories.