With the release of Elixir 1.5.0-rc0 and OTP 20, it's time to see just how much faster it is compared to Elixir 1.4 running on OTP 18. The results are very exciting as we measure the performance of two highly used features in Elixir: pattern matching on maps and ETS tables. Exploring Elixir code repository: https://github.com/aseigo/exploring-elixir
Working with data structures was straightforward and predictable in a days of Erlang. Most of the time you were getting exactly what you expect. Elixir is a different beast. It allows more ways to work with maps, lists and keyword lists. Turns out, performance-wise some of them are radically different than others. First, some nice graphs of access time depending on structure size and then comes ex
We are a team of 30 spirited engineers, researchers, designers, and product people ready to transform your idea into a viable digital product. While building our own products, we experienced both high and low; succeeded with our award-winning project management tool Nostromo and our coding school Green Fox Academy and failed with Mixgar and Taxilike. Curious about our successes, pitfalls and what
-module(httpd_tcp_listener). -export([start_link/0]). start_link() -> Pid = spawn_link(fun init/0), {ok, Pid}. init() -> Port = 8888, Backlog = 10244, Options = [binary, inet6, % support both ipv4 and ipv6 {active, false}, {reuseaddr, true}, {backlog, Backlog} ], {ok, Listen} = gen_tcp:listen(Port, Options), accept(Listen). accept(Listen) -> case gen_tcp:accept(Listen) of {ok, Socket} -> {ok, Pid}
There are many use cases for GenStage/Flow. One of such cases that I recently faced was to get some records from PostgreSQL database, download files associated with these records from Amazon S3, extract text from these files and index this text into ElasticSearch. This task can be represented as a pipeline with four steps: SELECT record from database DOWNLOAD pdf file EXTRACT text from that file I
Websocket Shootout: Clojure, C++, Elixir, Go, NodeJS, and Ruby by Jack Christensen on September 1, 2016 When a web application has a requirement for real time bidirectional communication, websockets are the natural choice. But what tools should be used to build a websocket server? Performance is important, but so is the development process. A performance benchmark alone is not enough. We also need
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く