EightyDecibel.AsyncNats 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package EightyDecibel.AsyncNats --version 1.0.0
NuGet\Install-Package EightyDecibel.AsyncNats -Version 1.0.0
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="EightyDecibel.AsyncNats" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EightyDecibel.AsyncNats --version 1.0.0
#r "nuget: EightyDecibel.AsyncNats, 1.0.0"
#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.
// Install EightyDecibel.AsyncNats as a Cake Addin
#addin nuget:?package=EightyDecibel.AsyncNats&version=1.0.0

// Install EightyDecibel.AsyncNats as a Cake Tool
#tool nuget:?package=EightyDecibel.AsyncNats&version=1.0.0

AsyncNats

A Nats.IO client specifically written with new C# features in mind. Internally it uses the new System.IO.Pipelines and System.Threading.Channels libraries that were released last year. It also uses the new IAsyncEnumerable as a way to listen to messages published to subjects.

The end result is very fast Nats.io client that, in our opinion, fits the C# 8.0 language features better than the currently existing libraries.

Release history

v1.0.0

  • Requests will only use a single subscription instead of setting up a new subscription every request/response
  • Moved request/response handling to it's own separate class
  • Added ILoggerFactory support, RPC is logged, raw request/response/publish is not
  • Bumped to v1.0.0 - This library has been tested in a production environment that handles 50-100k messages/sec

v0.8.5

  • Added ReceivedBytesTotal and TransmitBytesTotal as properties to more monitor connection
  • Added SenderQueueSize, ReceiverQueueSize, ReceivedBytesTotal and TransmitBytesTotal to interface

v0.8.4

  • Timeout on RPC client did not work as intended would could make the caller hang indefinitely if the server did not respond

v0.8.3

  • Publish (PUB) was reserving one byte too much when payload was 9, 99, 999, 9999, 99999, 999999 bytes large
  • Unsubscribe (UNSUB) was reserving one byte too much when max messages was 9, 99, 999, 9999, 99999, 999999 bytes large

v0.8.2

  • Refactored Subscribe a little bit
  • Added a missing memory-rent which could corrupt memory in high message volumes
  • Changed from ArrayPool to a custom MemoryPool to improve overal performance
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.5 525 1/23/2023
1.0.4 354 1/18/2023
1.0.2 511 8/23/2022
1.0.1 433 8/23/2022
1.0.0 414 7/21/2022
0.8.5 689 2/5/2021
0.8.4 521 10/30/2020
0.8.3 552 7/28/2020
0.8.2 470 7/28/2020
0.8.1 470 7/27/2020
0.8.0 453 7/24/2020
0.7.1 473 7/6/2020
0.7.0 614 7/6/2020
0.6.5 438 6/30/2020
0.6.4 501 2/24/2020
0.6.3 449 2/5/2020
0.6.2 480 2/5/2020
0.6.0 476 1/31/2020
0.5.1 529 11/10/2019
0.5.0 511 11/8/2019
0.4.0 493 10/20/2019
0.3.0 491 10/17/2019
0.2.0 493 10/16/2019
0.1.0 517 10/16/2019