生产 Erlang 部署示例
我目前正在学习 Erlang
SO 用户能否提供有关其 Erlang 应用程序部署的有趣示例?
我想深入了解 Erlang 过去使用的电信技术,以及 Erlang 在开发/部署过程中带来的任何问题或意想不到的好处。
我希望这能够提供一些更广泛的背景,并为我自己和其他进入 Erlang 的人敲响警钟!
提前致谢!
I am currently learning Erlang
Can SO users give interesting examples of any of their Erlang application deployments?
I want to gain some insight into common Erlang uses past telecomms, and any problems or unexpected benefits Erlang brought during development/deployment.
I hope this will give some broader context and whet the whistle for myself and anyone else jumping into Erlang!
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
谁使用 Erlang 进行产品开发:
容错电子邮件系统,SSL
加速器)
服务)
(数据采集与实时
监控)
路由专家系统)
监控和运营支持
系统)
交互式语音应答服务)
(高级呼叫控制服务)
响应系统)
Who uses Erlang for product development:
fault tolerant email system, SSL
accelerator)
Services)
(Data acquisition and real-time
monitoring)
routing expert systems)
Monitoring and Operations Support
Systems)
Interactive Voice Response services)
(advanced call control services)
Response systems)
我们的第一个应用程序是一个 web/sms 社交网络,我写了一篇关于该主题的长论文,可以阅读 此处。
Our first application was a web/sms social network and I wrote a long paper on the subject which can be read here.
我们构建了一个基于 Erlang 后端的 Web 应用程序。
Erlang 负责业务逻辑、安全性和数据存储。
浏览器仅通过 JSON 服务与之通信并进行渲染。
它将很快进入测试版,为了让您了解该应用程序,这里有一个视频
还有一些资源此处和这里介绍我们在此过程中学到的东西。
We've built a web app based on an Erlang backend.
Erlang is in charge of the business logic, the security and data store.
The browser communicates exclusively through JSON services with it and do the rendering.
It will be in beta soon, and to give you an idea of the app there is a video here
There are as well some resources here and here about what we learned along the way.
当然,总是有像 wings3D 这样用于 3D 建模的应用程序。 这并不完全是一种“部署”,因为这类程序可以在任何地方使用,从个人到艺术家团队。 还有其他项目,例如模拟,但我不确定有多少公司公开声明他们使用 Erlang。 对于我来说,我打算在我的公司中采用它来实现工业自动化。
Of course there's always applications like wings3D which is for 3D modelling. It's not exactly a "deployment", because these sorts of programs are used anywhere from individuals to teams of artists in their pipeline. There are other projects for things like simulation, but I'm not sure how many companies are publicly stating that they use Erlang. As for me, I'm planning to adopt it for my company for industrial automation.
了解 erlang/OTP 已经提供的发布工具。
Erlang 引导脚本非常适合确保所需的所有正在运行的应用程序均存在且版本正确。 在 OTP 框架内进行发布比尝试发明自己的框架要容易得多。 Erlang 有很多工具可以确保部署可以实时完成并且不会中断正在运行的服务。 语言和运行时是为此而设计的,因此它们已经为您完成了许多繁重的工作。 我发现这些工具甚至对于小型“非企业”应用程序和部署也很有用。
Get to know the the release tools erlang/OTP already provides.
Erlang bootscripts are wonderful for ensuring that all the running applications needed are present and of the correct version. Working within the OTP framework for releases will be much easier than trying to invent your own. Erlang has lots of tools for making sure deployments can be done both live and without breaking running services. The language and runtime are designed for this so they've done a lot of the heavy lifting for you. I've found the tools useful even for small "non-enterprise" apps and deployments.