Modeling users |> Preparation |> User data model |> User |> Verify |> Add password colum |> Encrypted password |> Additional verification |> Before the end
マスター1台、スレーブ複数台という構成は、DBサーバーの負荷分散方式として一般的だと思いますが、Phoenix/Ectoでこの構成に対応する方法を調査/検討してみました。 調査 こちらのissue内では、Elixirの作者であるJosé Valimさんが下記のようにコメントしています。 You just define multiple repositories: MyApp.Repo, MyApp.Repo.ReadSlave1, MyApp.Repo.ReadSlave2 up to 4 (or any power of 2). Their configuration is going to be similar and you can easily share them in the config/config.exs file. Now, every time you need to
Geoffrey Lessel Author of Phoenix in Action. Developer at Planning Center. Slowly learning about living in California. You can call me Geo. Now that we’ve explored some simple Ecto setups, let’s get a little bit exotic. Did you know that you can set up your application in such a way that you can connect to multiple databases with Ecto? Ecto actually makes it super simple to do so. Let’s take a loo
やること Phoenixアプリにmemcachedにアクセスするプロセスを追加する Phoenixで子プロセスを立ち上げている部分を確認 Elixir(そしてErlang)は複数のプロセスが協働しながら一つのアプリケーションを実行するマルチプロセスモデルを採用しています. なので当然Elixirで作られているPhoenixFrameworkも同様にマルチプロセスモデルを元に作られています. 実際に, アプリケーション作成時に以下の様なコアモジュールが作成されます. defmodule PhoenixSample do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_typ
{"id":"54348ec95b10711400c6c445","name":"Phoenix","subdomain":"phoenixframework","versions":[{"_id":"547f8f293031bc0800e5fe7e","releaseDate":"2014-12-03T22:31:05.923Z","is_hidden":false,"is_beta":true,"is_stable":false,"version_clean":"0.6.1","version":"0.6.1"},{"_id":"5484f8220d7c73140052fdd7","releaseDate":"2014-12-08T01:00:18.327Z","is_hidden":false,"is_beta":true,"is_stable":false,"version_cle
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く