用函数式语言实现ESB(企业服务总线)
我希望 Stackoverflow 上的架构问题是合理的,所以我在这里问这个问题。
我一直在尝试了解函数式语言在面向数学的问题之外的哪些地方有用,我突然意识到 ESB(企业服务总线)对于 FP 语言来说是完美的,因为请求之间没有任何共享的内容根据我的经验,当初始消息进入并根据转换规则进行处理时。
有什么理由说这是一个坏主意吗?
是否已经在进行中?
我相信像 Erlang 这样的东西的可扩展性可能非常有用。
I am hoping that an architecture question is reasonable on Stackoverflow, so I am asking this here.
I have been trying to see where a functional language would be useful outside of math-oriented problems, and it dawned on me that an ESB (Enterprise Service Bus) would be perfect for a FP language, as there isn't anything shared between requests, in my experience, as the initial message comes in and gets processed as it goes through, based on transform rules.
Would there be any reason why this would be a bad idea?
Is it in the progress of being done already?
The scalability of something like Erlang may be very useful I believe.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
很难说比“是的,你是对的”更有洞察力的话。 Clojure 的第一个生产用途正是如此。
Hard to say anything more insightful than "yes, you're right." The first production uses of Clojure are exactly that.
查看 RabbitMQ。 它并不是真正的 ESB,而是企业消息系统,但是很有趣。
Look at RabbitMQ. It is not really the ESB, rather enterprise messaging system, but interesting.