Today we will continue exploring techniques for debugging and tracing Elixir code that are so important for running and understanding production systems. In the past, we have discussed: how to debug your application how to trace systems with Erlyberly how to use the observer to introspect applications. The examples above always connected to systems running … »
Tags: debug, elixir, phoenix, Posted in English, 2 Comments »
One of the functions added to Ecto 2.0 is Ecto.Repo.insert_all/3. insert_all allows developers to insert multiple entries at once into a repository: MyApp.Repo.insert_all(Post, [[title: “hello”, body: “world”], [title: “another”, body: “post”]]) Although insert_all is just a regular Elixir function, it plays an important role in Ecto 2.0 goals. To understand more about these goals, let’s … »
Tags: ecto, elixir, Posted in English, 12 Comments »
Exrm is a great tool for building releases for Elixir applications so you can deploy them on the web and even in an embedded hardware. We have been using Exrm here at Plataformatec. It is the chosen tool for deploying our projects and the contributors are doing a great job maintaining and developing new features. … »
Tags: deployment, elixir, Posted in English, 5 Comments »
Being a developer at Plataformatec taught me to care about the whole development process, not only about my code. I want to share some thoughts about what I’ve experienced. As I could observe while working on Plataformatec projects, a lot of companies are moving to Kanban. Usually, these companies used to follow Scrum guidelines, working … »
Tags: Agile, project management, Posted in English, 2 Comments »
We are really glad to announce the release candidate for Ecto 2.0 has been released. The upcoming Ecto version packs many goodies: We have migrated to DBConnection, which considerably improves the performance of how Ecto manages connections to the database as a whole. Improved pool management, faster encoding/decoding, support for prepared queries and more; The … »
Tags: ecto, elixir, phoenix, Posted in English, 3 Comments »
At Plataformatec, we are always learning new techniques to help our clients introspect and monitor their production systems. Last week, we saw debugging techniques in Elixir and now we will see one of many ways to do tracing in Elixir. For this post, we will use erlyberly. You can see the installation instructions in its … »
Tags: elixir, Posted in English, Comments Off on How to trace Elixir nodes with Erlyberly