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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Elixir and the Internet of Things – Handling a Stampede

110 点作者 gigasquid超过 11 年前

6 条评论

wcummings超过 11 年前
Glad to see more Erlang/Elixir/OTP articles on HN. With all these newfangled cool kid concurrent languages, people seem to have forgotten the sophisticated, decades old solution. Funny to think telecoms were solving a lot of the same problems web devs are now (High Availability, Low Latency, Fault Tolerance, large amounts of concurrent connections).
评论 #7058196 未加载
brassybadger超过 11 年前
The funny thing is that most people choose Elixir over Erlang because of the syntax - personally I can&#x27;t stand Ruby but love the Erlang syntax. When I see Erlang code, everything just clicks - almost like I&#x27;m reading prose.<p>So, if you want to harvest the power of Erlang, I&#x27;d suggest you start with the real thing first. The only drawback is that once you get used to functional programming, guards, pattern matching, OTP, cheap processes, links and all the other goodness, there&#x27;s no way back.<p>If you still feel Erlang is weird after spending a couple of days working with it, feel free to jump on the Elixir bandwagon. :)
评论 #7059109 未加载
评论 #7059057 未加载
kungfooguru超过 11 年前
I only skimmed so far, but you might want to checkout Ranch instead of rolling your own tcp acceptor pool, <a href="http://ninenines.eu/docs/en/ranch/HEAD/guide/" rel="nofollow">http:&#x2F;&#x2F;ninenines.eu&#x2F;docs&#x2F;en&#x2F;ranch&#x2F;HEAD&#x2F;guide&#x2F;</a>
评论 #7059984 未加载
oijaf888超过 11 年前
This seems pretty neat but what advantage does this have compared to terminating SSL at nginx? I guess you still need to have something that nginx can hand the connections off to.
评论 #7058848 未加载
Pxtl超过 11 年前
Oooh, I didn&#x27;t even know this existed. I&#x27;ve always been curious about learning Erlang, but I&#x27;m always suspicious of languages that predate the vowel generation.
评论 #7059796 未加载
评论 #7059625 未加载
iwasphone超过 11 年前
Gripping article, but his incorrect use of apostrophes made me want to an hero.