首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 调息服务器:基本Erlang的Web应用服务器

调息服务器:基本Erlang的Web应用服务器

  • 资源大小:3.26 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: erlang web 服务器 应用 基本

资 源 简 介

This Erlang project originated as an offshoot of another Erlang project of mine - The (Mock) Exchange; while I could have used something like Yaws, I was intrigued by the idea of building my own server. My architecture is simple: the server acts as a filter, intercepting the "raw" http request which it then transforms into an erlang record; this record is sent off to the appropriate delegate; this delegate is any globally registered erlang process which can take responsibility for generating the response; this response is sent back to Pranayama which transforms into the "raw" http response, sending it back to the client. One of the design aims was to limit the coupling between the server and the various web apps which used it; besides the inclusion of a single .hrl file, a web app must simply register with the server; if the server crashes, losing its registration data, all web apps are informed so that they may re-regist

文 件 列 表

install.sh
lib
eunit-2.0
pranayama-0.1.0
stdlib-1.15.5
sasl-2.1.5.4
kernel-2.12.5
pranayama.conf
pranayama.sh
README
releases
Pranayama-0.1.0.rel
Pranayama_0.1.0
VIP VIP
0.183046s