Adi Iyengar·Aug 16, 2018Elixir: Architecting API ClientsOver the past two years, I have been working a lot with APIs in elixir and have written quite a few API clients. I thought it would be nice…
Adi Iyengar·Jul 14, 2018GraphQL Subscriptions with Phoenix, Absinthe and WebSocketsAt Annkissam, we have been building Elixir apps running on production since 2015. In a push towards moving our internal suite of apps to…
Adi Iyengar·Jul 11, 2018Elixir Tip #6: Calling Sudo CommandsIn Elixir, to interact with the host system or the virtual machine, we use the module System. In order to run a command on the system, we…
Adi Iyengar·Jul 11, 2018Elixir Tip #5: IEx shell historyOne of the top features in OTP 20 is shell history persistence. So in the Eshell, you can access history from a previous shell by pressing…
Adi Iyengar·Jul 11, 2018Elixir Tip #4: Global .iex.exs fileBefore an iex shell starts, it looks like a file .iex.exs. It starts looking at the current directory and if it doesn’t find one, it looks…
Adi Iyengar·Jul 5, 2018Elixir Releases: Solving Build-time vs Run-time env problem with AkdI have been deploying/running production applications for about two years now and the first problem that comes to mind while deploying OTP…
Adi Iyengar·Jun 26, 2018Run TCP Services in DockerMost of the dynamic web applications depend on databases like mysql, postgres, mongodb etc. However, setting up an environment (or a…
Adi Iyengar·Jun 24, 2018Elixir Tip #3: Open Files with Vim from iexOne of the less known (but useful) features of Elixir’s IEx module is the open/1 function. Open works with either a given Module…
Adi Iyengar·Jun 19, 2018Elixir Tip #1: Mix Test Watch StaleMix comes with a good set of tools, but it’s true power can be seen when we try to configure it. Mix makes it awfully easy to provide some…
Adi Iyengar·Jun 19, 2018Elixir Tip #2: Mix Xref to Enforce better DesignElixir is one of my favorite languages! Dealing in functions, pipes, Process-Oriented programming, OTP and a great community make working…