Classifying Bot IP Addresses in Phoenix

Product information




Beginner, Intermediate, Advanced


Michael is the founder of, which helps Elixir developers stop fraudulent bot activity in their web applications. He is interested in the application of Elixir in software security.

Talk Description

This talk will cover:

  1. A brief description of how bots cause problems in Phoenix apps, showing why someone would want to classify requests as coming from a bot.
  2. The design of a plug to compare each incoming request’s IP against a radix tree of public cloud provider IP ranges.
  3. Why persistent_term is better than ETS for this task
  4. How to use this plug to prevent bot attacks in your Phoenix app

This talk is based on the blog post -

Michael Lubas
Michael Lubas