UniversalFrame 9.3.0

Suggested Alternatives

UniversalFrame.Core 1.8.0

Additional Details

所有功能均在 core 上重写并实现,想体验新功能,请前往新的环境。

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.0.0 or higher.

dotnet add package UniversalFrame --version 9.3.0
NuGet\Install-Package UniversalFrame -Version 9.3.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="UniversalFrame" Version="9.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UniversalFrame --version 9.3.0
#r "nuget: UniversalFrame, 9.3.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 UniversalFrame as a Cake Addin
#addin nuget:?package=UniversalFrame&version=9.3.0

// Install UniversalFrame as a Cake Tool
#tool nuget:?package=UniversalFrame&version=9.3.0

最新版本优化: 1.最新版最大优化是解决了,每次包的完整性,保证数据唯一性。

2.再度优化重构消息包体积,减小初始包大小。

3.限制其最低收包8KB。

4.允许用户自定义设置是否使用框架模式,从而保证数据唯一性,或者使用非框架模式的系统模式。

5.优化数据包大小,提高数据包生成速度,明显提升到小于1毫秒,测试量在1000000次。

6.优化可用线程池的高效使用,将不必要的操作留给线程池以外线程处理了。

7.限制了每次发包不能大于20M,优化了客户端和服务端各自的事件,并将事件改为独立触发模式,每次只处理一个事件,确保原本发包收包,不受任何用户代码域干扰。

8.进行压力测试,使用异步方式,每10毫秒,发一次请求,收包正常,没有丢包,异步返回完整,共两万次。6分半执行完成。

9.进行每10毫秒一次的异步方式持续36小时,完成1000万次。期间无异常,CPU正常(1.5%),内存使用正常(34m~50M)。

10.重点更新内容留到了最后,本次更新解决了请求后返回结果过大时采用多包回发机制,完成收包,但是作者不建议使用,因为经过测试存在丢字节状况,还需要后期优化。

以上测试仅为内部测试,实际情况请以开发者自己测试结果为准。(更多详情,请咨询作者)。

相关技术资料:https://blog.csdn.net/qq_33484542

如有任何问题,请联系作者。

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
9.4.5.1 624 4/27/2020
9.4.2 558 3/29/2020
9.4.1 639 3/21/2020
9.4.0 662 3/21/2020
9.3.1 597 11/6/2019
9.3.0 599 10/29/2019
9.2.5 557 10/18/2019
9.2.3 584 10/16/2019
9.2.2 613 10/15/2019
9.2.0 607 10/11/2019
9.1.8 606 10/11/2019
9.1.5 611 10/7/2019
9.0.0 621 10/5/2019
8.8.8.8 734 10/5/2019

最新版本:
1.新增多服务器均衡发包。
2.新增收包信息状态。
3.优化因异步重连失败,导致的系统崩溃问题。
4.新增两个枚举用于表示创建连接的情况。
5.优化内存泄漏问题,优化性能,降低耦合,增强重用性。(更多详情,请咨询作者。)