Every time we need to look up a bucket, we need to send a message to the registry. In case our registry is being accessed concurrently by multiple processes, the registry may become a bottleneck! In this chapter, we will learn about ETS (Erlang Term Storage) and how to use it as a cache mechanism. Warning! Don't use ETS as a cache prematurely! Log and analyze your application performance and ident
Introducing Nebulex, a fast, flexible and powerful caching library for Elixir 14 Aug 2017 Caching might be one of the most common and used techniques to improve performance, and in Elixir there are different options available; some of them very good options. However, most of them are focused on local caching, but let’s face it, we seldom deploy our systems in a single node, it’s not a common scena
Too Long; Didn't ReadIn the spring of 2015, <a href="https://evercam.io" target="_blank">Evercam</a>, a construction timelapse and project management camera software company , open-sourced <a href="https://github.com/evercam/evercam-server" target="_blank">evercam-server</a>. evercam-server is a Phoenix app that communicates with connected cameras, delivers still images via email, shares live
Looking beyond Ruby for the next big thing While reading the first chapter of Elixir in Action, I had my "a-ha!" moment with Elixir; this table: I'd already been playing with Elixir for a few months before I picked up Sasha Juric's book introducing the Elixir language and its abstractions for the Open Telecom Platform (OTP). If you're interested in Elixir, please check out the book; no affiliate l
Phoenix に Cache 機構をいれてみます。 今回は ConCache を使って OpenWeatherMap API のレスポンスをキャッシュしてみます。 Phoenix アプリケーションでの外部 API リクエストについてはコチラを参照してください。 Elixir におけるキャッシュについて キャッシュ機構の実装というと、シングルトンクラスを作って処理することをイメージするかもしれませんが、これは オブジェクト指向 な考え方であり、Elixir のような プロセス指向 な言語には当てはめられません。 プロセス指向では、その名の通り データをストアしておくプロセス を作成して処理します。プロセスの作成と聞くとなにやら大変そうな気がしますが、Erlang/OTP のおかげでシンプルに実装できるようになっています。 では早速、ConCache を利用してプロセスを用いたキャッシュを体
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く