Elixir Blog Posts

Hi friends, I wrote about my journey on how to debug Elixir code here:

I’m aware that others, as @vincentvanbush, are working hard to bring the experience of a better debugging REPL and I tried myself and even get my first contribution to Elixir fixing a bug on iex, but we can improve the so-called puts debugger experience while thinks are being improved.

1 Like

I came up with a better way to get all debugging information in a fast and convenient way here, without relying to much on iex.

1 Like

Back with the new chapter of the Elixir & Phoenix uptime monitor tutorial. This time, we are taking a look at routing and controllers. Enjoy!

Building an uptime monitor with Elixir & Phoenix: Routing and controllers

1 Like

Hi everyone,

In ElixirConf EU 2021 I had the pleasure to talk to you about debugging apps in Elixir - there’s no publicly available recording yet, but loosely based on this article and expanding greatly upon it.

Here is my summary of the event, enjoy the reading!

1 Like

Hello! I’ve created a new site, https://staknine.com, focused on deploying with Elixir. My first posts are a 4-part series covering Elixir Releases, Docker, deploying to Digital Ocean, and continuous deployment with GitHub Actions.

https://staknine.com/deploy-your-elixir-phoenix-project-with-a-release/

https://staknine.com/build-an-elixir-release-with-docker-to-deploy-anywhere/

https://staknine.com/deploy-your-elixir-app-on-digital-ocean/

https://staknine.com/set-up-continuous-deployment-for-elixir-with-github-actions/

5 Likes

We wrote up a post about the best cloud hosting providers for Elixir and Phoenix applications.

https://staknine.com/best-cloud-hosting-platforms-elixir-phoenix/

Here was our methodology and rating critera:

Methodology

We conducted extensive research into the hosting options for Elixir and Phoenix. You can deploy to any platform using Docker. However, many hosting providers offer Elixir-specific guides and tools to make deployments easier. These platforms and take full advantage of the BEAM.

During evaluation, we deployed a Phoenix app with a Postgres database to each of the cloud hosting platforms. If available, we tried to deploy using Elixir releases and runtime configuration.

Once our application was deployed, we set up a continuous deployment pipeline from a GitHub repository. Finally, we examined the available dashboard and options for integrating other tools.

Rating Criteria

We assessed each platform in three areas:

  • Ease of Use
  • Available Features
  • Documentation / Support

Did we miss any cloud hosting providers that provide a really enjoyable experience for Elixir developers?

6 Likes

Blogged: Using structs for Oban worker arguments

1 Like

Hey guys,

Elixir & Phoenix is still a rare choice when it comes to tech stack in new web applications - I believe (and hopefully you too!) that it should not be the case. That’s why I wrote an article on this topic.

Why Elixir & Phoenix is a great choice for your web app in 2022

1 Like

We published a guide on how to set up exception and error monitoring for your Elixir Phoenix application with Honeybadger. Honeybadger instantly notifies you when a user experiences any errors within your app. We set it up in development so you can see how error notifications work.

https://staknine.com/exception-monitoring-elixir-honeybadger/?utm_source=forum.elixirforum.com&utm_medium=referral&utm_campaign=launch

1 Like

For people wanting to learn more about config in Elixir v1.11+, we wrote an article playing around with configuration using config/runtime.exs to better understand how it works, including why you need to wrap your production config with if config_env() == :prod do and end.

https://staknine.com/elixir-config-environment-variables/?utm_source=forum.elixirforum.com&utm_medium=referral&utm_campaign=launch

1 Like

Adding part 4 to the existing posts of mongooseim

After routing and controllers, let us take a few looks at data gathering in an Elixir/Phoenix application. In the fifth part of our website uptime monitor tutorial, you’ll learn about the available data gathering options in the Phoenix framework, how your application can benefit from Quantum and testing:

Building an Uptime Monitor in Elixir/Phoenix: Data gathering

Enjoy!

We published a guide to show you how to set up exception and error monitoring for your Elixir Phoenix application with Sentry. Get notified when users find an error in your app.

https://staknine.com/exception-monitoring-elixir-phoenix-sentry/?utm_source=forum.elixirforum.com&utm_medium=referral&utm_campaign=launch

Get notified as soon as your users discover an error in your Phoenix app so you can solve issues and push updates quicker. A guide to show you how to set up exception and error monitoring for Elixir with AppSignal.

https://staknine.com/exception-monitoring-elixir-phoenix-appsignal/?utm_source=forum.elixirforum.com&utm_medium=referral&utm_campaign=launch

1 Like

I wrote a blog post about how to deploy a 32-bit phoenix application onto fly.io. In 32 bit, the puny little 256 MB VMs in the free tier suddenly become a lot more useful.

2 Likes

Just wanted to share my ElixirConf 2021 recap, which I wrote for my company’s new engineering blog:

https://medium.com/weedmaps-engineering/weedmaps-elixirconf-2021-recap-74e6966437a6

It took quite a while to get through the corporate legal minefield and there was time spent getting the process in place but better late than never!

2 Likes

We researched the best Elixir error monitoring services to notify you when users find bugs in production. Check out it so you can deploy with confidence and easily manage errors in your Phoenix apps.

https://staknine.com/best-error-monitoring-elixir-phoenix/?utm_source=forum.elixirforum.com&utm_medium=referral&utm_campaign=launch

1 Like

Hey all, I’ve put up a post on how someone could approach writing clients for HTTP json services at the company’s blog (of course we’re hiring, what sort of question is this anyway?)

Shout out to @strzibny who happened to write a very similar post at around the same time (must be Mox season!) and the livebook team for making writing blog posts and solving AOC puzzles even more fun!

2 Likes

Leveraging Ecto functions for data serving in an Elixir/Phoenix application: Uptime monitor in Elixir/Phoenix: Serving the data

Enjoy!

If you have bug or you app is not working as expected, your log files may be critical to fixing the issue. We discuss what you need know about logging in your Elixir Phoenix application.

https://staknine.com/logging-in-elixir-with-logger/?utm_source=forum.elixirforum.com&utm_medium=referral&utm_campaign=launch