当前位置: 移动技术网 > IT编程>脚本编程>Erlang > Erlang/Elixir精选-第4期(20191223)

Erlang/Elixir精选-第4期(20191223)

2019年12月24日  | 移动技术网IT编程  | 我要评论

精选文章

  1. a digital symphony — the architecture of api fortress.
    使用actor模型来支持基于微服务的大规模分布式软件架构。用实例解释了actor对于分解复杂系统的好处。
    understanding actor concurrency, part 1: actors in erlang
    但也观点说actor并不是好的并发模型,。

  2. rabbitmq 3.8 release overview.
    支持prometheus and grafana 监控。我最近打算用elixir从零写一个http(s) 压力测试工具,前端展示本来是想用phoenix liveview来做展示的,但看到这个后,直接替换成grafana,省掉了非常多的工作,且更图表更专业。


  3. http server简单压测结果。图中cowboy-static的静态页面请求比自己想象中的慢很多。


  4. 比ets:update_counter更快的自增操作!内存分配策略更佳,新版本的logger就是使用的它。····

  5. erlang, pattern matching on a particular map's key?
    解释了为什么下面map的匹配模式是编译不过的。
        count([], acc) -> acc;
        count([a|rest], #{a := n} = acc) -> count(rest, acc#{a := n+1});
        count([a|rest], acc) -> count(rest, acc#{a := 1}).


)

投稿或推荐,精选每周一发布,同步更新在,。

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网