Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Fast IP Address Matching in Elixir with Radix Trees and Persistent Term

Code Sync via YouTube

Overview

Explore fast IP address matching techniques in Elixir using radix trees and persistent term in this conference talk from Code BEAM America 2022. Dive into the challenge of efficiently comparing incoming connection IP addresses against a large list of IP prefixes. Learn why default Elixir data structures fall short for this task and discover how radix trees offer a superior solution. Examine various approaches including GenServers, ETS, and constant pools optimization, understanding their limitations for this specific problem. Gain insights into the optimal solution utilizing persistent_term, enabling thousands of processes to access the same data structure rapidly. Enhance your understanding of IP address matching, radix trees, and Elixir/Erlang features to improve web server security and performance.

Syllabus

Fast IP Address Matching in Elixir (...) & Persistent Term | Michael Lubas | Code BEAM America 2022

Taught by

Code Sync

Reviews

Start your review of Fast IP Address Matching in Elixir with Radix Trees and Persistent Term

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.