TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Are you using Elixir/Phoenix in production?

18 点作者 SamBoogieNYC超过 8 年前
If so, what does your site&#x2F;webapp do?<p>Did you migrate from a different architecture (which one)?<p>Pros &amp; cons of the migration.<p>General pros &amp; cons.<p>General impressions of the ecosystem&#x2F;community as a whole?

2 条评论

dpeck超过 8 年前
Use it to manage and service connections to IoT&#x2F;networking devices.<p>No migration, did some early prototyping of the web frontend with rails but backend was always elixir. Phoenix matured enough and really used it from early on in development.<p>Pros:<p>I am really a big fan and feel like its allowed me to do things that would have been very difficult to do in other languages. As I&#x27;ve learned more about the erlang&#x2F;elixir and the BEAM in general I&#x27;ve become a big fan of it. Theres some things its not great for, but I really like the actor model&#x2F;message oriented approach and the huge amount of things that you get &quot;for free&quot; by building on the it. At this point I would need a good reason to use anything else for a network-centric application.<p>The community is great and its been fun seeing it grow. I got into rails a bit after the huge wave of growth there, I feel like elixir is seeing similar and that I have the tide rising under me.<p>Cons:<p>There is a _lot_ to learn about the BEAM and you have to be ready to do that for a serious application. Nothing is free and your system isn&#x27;t going to be magically fault tolerant and well designed just because you&#x27;re writing it using elixir. You have to do things the &quot;erlang way&quot; and lean into it or you&#x27;re going to have a bad time.<p>Functional programming isn&#x27;t something a lot of people are familiar with. Its going to take a bit to onboard engineers who haven&#x27;t thought about problems in that way before. Hiring is more difficult, but there is also a lot of self-selection at play, bad&#x2F;mediocre devs probably aren&#x27;t interested and while there are some good&#x2F;great ones who aren&#x27;t interested as well I find they&#x27;re usually much more open minded.<p>Devops groups are going to have to work differently than they&#x27;re used to. There could be some pushback on that.<p>For me the cons is vastly outweighed by the pros and 2 years in I would make the same decisions over again.
评论 #12765605 未加载
stympy超过 8 年前
We are using Elixir&#x2F;Cowboy at <a href="https:&#x2F;&#x2F;www.honeybadger.io" rel="nofollow">https:&#x2F;&#x2F;www.honeybadger.io</a> to receive log drain data from our customers&#x27; Heroku apps. It&#x27;s reliable and fast, but deployment has been a sort point (we&#x27;re spoiled by Capistrano). I recently changed the deployment to elasticbeanstalk with the multiple docker image approach, and that has been much nicer.<p>The ecosystem is still young -- a lot like Rails was in the early days -- so there are rough edges, but I&#x27;m betting they will get sorted out, just like they did in Rails land.
评论 #12765612 未加载