AMPS- 异步服务器设计框架

网友投稿 595 2022-10-21

AMPS- 异步服务器设计框架

AMPS- 异步服务器设计框架

AMPS一个中间件,它提供了一个框架,用于构建任何一个事件驱动的,异步处理的应用。与传统的基于线程的实现,AMPS允许单线程的方法,执行高并发应用程序。

AMPS is a middleware that provides a framework to write any softwareapplication as an event driven, asynchronous process . Unlike conventionalthread based implementations, AMPS allows highly concurrent applications torun as a single thread of execution.

AMPS实现要求,应用被设计成有限状态机的模型,状态的改变是基于事件的,每个状态的改变都要求有事件处理程序。一旦这样的设想,实现能提供多重好处。

AMPS implementations require that the application be modelled as a FSM (FiniteState Machine) that changes state based on ‘events’. ‘Event handlers’ arewritten for each state change. Once envisioned in this way, implementationsprovide multiple benefits.

本编程模型的好处有:

所有的执行都是不需要锁的。没有锁,没有互斥,不需要请求信号。所有事件处理程序都是确定的。自然支持对称多处理,非对称多处理和多核心系统。程序是云就绪的.没有线程间上下文切换或者等待锁的系统开销。代码是在线程所产生的耦合效应应用的深入细微的错误自由。代码避免了基于线程的应用由于深度耦合而产生的bug.

Some of the benefits of this programming model are:

All execution is lock free. No locks, no mutexes, no semaphores required ever.All event handlers are deterministicNatural support for Symmetric multi-processing, Asymmetric multi processing and multi-core systems.Applications are cloud readyNo system overhead in context switching between threads or waiting for locks.Code is free of subtle bugs arising out of deep coupling effects in thread based applications.

Products developed on AMPS(基于AMPS开发的产品)
* [Augur Service Delivery Platform](http://augur.biz) * [Softswitch](http://advoss.com/softswitch.html) * [Media Server](http://my.oschina-/haifengwang1987/admin/docs/Media Server_Design_Document.pdf) * [Home Subscriber Server](http://advoss.com/IMS_HSS.html) * [Diameter AAA Server](http://advoss.com/diameter_AAA_server.html) * [Radius Server](http://advoss.com/radius_server.html) * [IMS Online Charging System](http://advoss.com/IMS_onlinecharging.html) * [IMS Offline Charging System](http://advoss.com/IMS_offlinecharging.html) * [Session Border Controller](http://advoss.com/sessionbordercontroller.html) * [Least Cost Router](http://advoss.com/lcr.html)

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:整数中1出现的次数(从1到n整数中1出现的次数)
下一篇:PocketFlow- 自动化模型压缩框架
相关文章

 发表评论

暂时没有评论,来抢沙发吧~