简体   繁体   English

基于.NET的应用程序的高性能和可伸缩性

[英]High performance and scalability for .NET based applications

除了NCache之外,还有其他更好的选择可用于高性能和可伸缩性吗?

Check out Windows Server AppFabric . Windows Server AppFabric It includes Microsoft distributed cache for .NET apps (code name “Velocity”) that is used to improve performance of web, composite, and Enterprise .NET applications. 它包括用于.NET应用程序的Microsoft分布式缓存(代号“ Velocity”),用于提高Web,复合和Enterprise .NET应用程序的性能。

Improving performance is generally achieved by improving multiple areas of computing; 通常,通过改进多个计算领域来提高性能。 RAM, CPU, disk speed / space, data cashing, network latency, horizontal and vertical partitioning, application factoid, compression, etc. If you are interested in improving your performance I would suggest looking at: http://highscalability.com/ RAM,CPU,磁盘速度/空间,数据兑现,网络延迟,水平和垂直分区,应用程序特征,压缩等。如果您对提高性能感兴趣,建议您访问: http : //highscalability.com/

Another option for achieving better performance and scaling in the caching front is via use of both RAM & Disk, specifically, the disk can be used to virtualize the memory, in somewhat like a memory extender fashion to solve scale as memory is scarce. 在缓存前端实现更好性能和扩展的另一种选择是通过同时使用RAM和磁盘,特别是,磁盘可用于虚拟化内存,某种程度上类似于内存扩展器的方式来解决内存不足的情况下的扩展。 That is, highly optimized, totally reduced mapping overheads. 也就是说,高度优化,完全降低了映射开销。 Low footprint, tightly integrated with the data indexing engine w/ direct mapping to disk. 占地面积小,与数据索引引擎紧密集成,可直接映射到磁盘。

Depending on use-case, there is no point using a caching solution when caching itself hasn't achieved optimal performance & scalability levels due to network & orchestration latencies. 根据使用情况,由于网络和业务流程延迟而导致缓存本身无法达到最佳性能和可伸缩性级别时,没有必要使用缓存解决方案。

A very good sample implementation of this technique is the new Virtual Cache open source code library, check it out on this link for more details: http://www.codeproject.com/Tips/827339/Virtual-Cache . 新的Virtual Cache开源代码库是此技术的一个很好的示例实现,有关更多详细信息,请在此链接上查看: http : //www.codeproject.com/Tips/827339/Virtual-Cache

You don't need NCache to have high performance or scalability. 您不需要NCache具有高性能或可伸缩性。 It looks like a cache-oriented in-memory database, and that's nifty for some applications, but not a general prerequisite for high performance or scalability. 它看起来像一个面向缓存的内存数据库,对于某些应用程序来说很不错,但并不是实现高性能或可伸缩性的一般先决条件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM