Skip to content
how2how2how2-archPublic
forked from squirix/squirix

About

High-performance distributed cache for .NET - client SDK and server runtime

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

919 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

squirix

CI License: Apache 2.0 NuGet .NET Slack

Experimental distributed cache for .NET 10. Apps use the Squirix client SDK over HTTPS gRPC; server nodes own cache state, routing, durability, and ops endpoints. Replica groups favor consistency over availability (CP in CAP, PC/EC in PACELC); see consistency.

0.1.0-preview.9 — early preview, not production-ready. Release notes

Powered by NDepend

NuGet packages

All packages are published under the squirix NuGet profile:

Package Role
squirix Client SDK — SquirixClient, ICache<T>, serialization
squirix.server Server runtime — routing, durability, gRPC host
squirix.server.tool Standalone squirix-server global tool

Quick start

dotnet add package squirix --version 0.1.0-preview.9
dotnet tool install -g squirix.server.tool --version 0.1.0-preview.9
squirix-server run
  • NuGet package for the CLI: squirix.server.tool
  • Command after install: squirix-server (run, init, doctor, validate-config, …)

Durable mode (journal + snapshots):

squirix-server run --persist --data-dir ./data

Client:

using System;
using System.Threading;
using Squirix.Client;

await using var client = await SquirixClient.ConnectAsync(new Uri("https://localhost:5001"), CancellationToken.None);
var cache = await client.GetCacheAsync<string>("demo", CancellationToken.None);
await cache.SetAsync("greeting", "hello", cancellationToken: CancellationToken.None);

Docker, JWT, and ASP.NET Core embedding: getting started.

Documentation

Contributing

Issues · contributing.md · [email protected]

SAST Tools

PVS-Studio - static code analyzer for Enterprise (C, C++, C#, Go, and Java) and Web (JS and TS) development.

License

Apache-2.0 — see LICENSE.

About

High-performance distributed cache for .NET - client SDK and server runtime

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages