Posts by Wojtek Mach

Using Broadway at Hexdocs.pm

This is a quick blog post about our experience replacing Hexdocs.pm’s GenStage pipeline with Broadway. To give some background information, Hexdocs.pm started out as basically just static file hosting for documentation. With the introduction of private Hexdocs it became a distinct Elixir application. Over time, we have also moved handling of documentation tarballs there to offload API servers. Instead of API servers doing … »

Announcing MiniRepo, a minimal Hex server

In 2017 Hex.pm got support for Private packages and organizations, a way for teams to publish and manage packages without making them public. While this works great for many organizations, some have stricter compliance requirements and need to host packages on their own infrastructure. Today we are happy to announce MiniRepo, a minimal Hex server … »

Updating Hex.pm to use Elixir releases

Elixir v1.9 will ship with releases support and in this blog post we want to show how we have used this exciting new feature on the Hex.pm project. Installing Elixir master Since Elixir v1.9 is not out yet, we need to use the development version. Locally, my preferred approach is to use the Elixir plugin … »

ExDoc v0.20: Keyboard shortcuts, autocompletion, full-text search, and more!

ExDoc v0.20 has been released with many exciting new features: keyboard shortcuts, search improvements, and more! At Plataformatec, we are particularly happy and proud to have contributed and sponsored some of the work behind this new release. Let’s take a look at some of the new capabilities. You can see them live at hexdocs.pm/elixir/master/ too! … »

Building a new MySQL adapter for Ecto Part IV: Ecto Integration

Welcome to the “Building a new MySQL adapter for Ecto” series: Part I: Hello World Part II: Encoding/Decoding Part III: DBConnection Integration Part IV: Ecto Integration (you’re here!) After DBConnection integration we have a driver that should be usable on its own. The next step is to integrate it with Ecto so that we can: … »

Building a new MySQL adapter for Ecto, Part III: DBConnection Integration

Welcome to the “Building a new MySQL adapter for Ecto” series: Part I: Hello World Part II: Encoding/Decoding Part III: DBConnection Integration (you’re here!) Part IV: Ecto Integration In the first two articles of the series we have learned the basic building blocks for interacting with a MySQL server using its binary protocol over TCP. … »