microsoft / garnet

Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
https://microsoft.github.io/garnet/
MIT License
9.71k stars 459 forks source link

BDN for parsing + ACL #446

Closed badrishc closed 3 weeks ago

badrishc commented 3 weeks ago

Uses a batch size of 128 commands per BDN call invocation. Also: change GET/SET to not clobber input buffer in order to work correctly with BDN + it is a cleaner design.

badrishc commented 3 weeks ago
BenchmarkDotNet v0.13.12, Windows 10 (10.0.19045.4412/22H2/2022Update)
Intel Xeon CPU E5-2690 v4 2.60GHz, 2 CPU, 56 logical and 28 physical cores
.NET SDK 8.0.300
  [Host] : .NET 8.0.6 (8.0.624.26715), X64 RyuJIT AVX2
  .NET 6 : .NET 6.0.31 (6.0.3124.26714), X64 RyuJIT AVX2
  .NET 8 : .NET 8.0.6 (8.0.624.26715), X64 RyuJIT AVX2

Server=True
Method Job EnvironmentVariables Runtime Mean Error StdDev Allocated
InlinePing .NET 6 Empty .NET 6.0 4.071 us 0.0563 us 0.0499 us -
Set .NET 6 Empty .NET 6.0 34.649 us 0.5962 us 0.5577 us -
Get .NET 6 Empty .NET 6.0 20.259 us 0.1348 us 0.1195 us -
InlinePing .NET 8 DOTNET_TieredPGO=0 .NET 8.0 2.560 us 0.0078 us 0.0065 us -
Set .NET 8 DOTNET_TieredPGO=0 .NET 8.0 25.828 us 0.2689 us 0.2515 us -
Get .NET 8 DOTNET_TieredPGO=0 .NET 8.0 15.637 us 0.1448 us 0.1355 us -