首页> 外文会议>Parallel Processing Workshops, 2009. ICPPW '09 >Gears4Net An Asynchronous Programming Model
【24h】

Gears4Net An Asynchronous Programming Model

机译:Gears4Net异步编程模型

获取原文

摘要

We propose a programming model for scalable distributed applications. Our programming model aims at applications which have to handle a high number of concurrent network connections in parallel. Such load characteristics appear in Web 2.0 applications and in scientific network simulators. The problem originates at the I/O API provided by the operating system. Blocking I/O is easy to use, but in large scale scenarios the usage of threads and memory is excessive. Non-blocking I/O can theoretically reduce the resource consumption, but it is awkward to program. Our approach utilizes a special language feature found in Microsoftȁ9;s C# and Python and combines the best of both worlds. Programming is almost as easy as with blocking I/O and the resource usage is nearly optimal. Our solution is implemented on top of Microsoft .NET or Mono/Linux respectively and does not require any changes to the operating system, which is very valuable for its practical application.
机译:我们提出了可扩展的分布式应用程序的编程模型。我们的编程模型针对必须并行处理大量并发网络连接的应用程序。这种负载特征出现在Web 2.0应用程序和科学网络模拟器中。该问题源于操作系统提供的I / O API。阻塞I / O易于使用,但在大规模方案中,线程和内存的使用过多。从理论上讲,非阻塞I / O可以减少资源消耗,但是编程很麻烦。我们的方法利用了Microsoftȁ9的C#和Python中的一种特殊语言功能,并结合了两者的优点。编程几乎与阻塞I / O一样容易,并且资源使用率几乎是最佳的。我们的解决方案分别在Microsoft .NET或Mono / Linux之上实现,不需要对操作系统进行任何更改,这对于其实际应用非常有价值。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号