ASP .NET 会话序列化成本!

发布于 2024-10-09 18:30:28 字数 178 浏览 0 评论 0 原文

当使用进程外会话状态提供程序(在本例中为 Velocity 分布式缓存)时,我们如何测量 ASP .NET 会话中自定义类的序列化开销。

在负载测试期间,我们看到 Web 服务器上发生了大量 CPU 消耗,在考虑优化我们在会话中填充的对象类型之前,我有兴趣获取一些与序列化方面相关的指标。

有什么帮助、指点吗?

How can we measure the serialization overhead of custom classes in ASP .NET session when using an out of process session state provider - in this case Velocity distributed cache.

During load testing we see a lot of CPU consumption happening on the web servers, I was interested in getting some metrics related to the serialization aspect among other things before looking at optimizing the kind of objects we are stuffing in session.

Any help, pointers?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文