Elixir Performance

Open-source Elixir projects categorized as Performance

Top 4 Elixir Performance Projects

  • fastglobal

    Fast no copy globals for Elixir & Erlang.

  • Project mention: Show HN: I rewrote the 1990's LambdaMOO server from scratch | news.ycombinator.com | 2023-09-23

    > State has to be owned by a process - who owns the state of the world? ... Keep in mind, when data is passed "between" processes it is deep copied.

    The Erlang runtime has other stateful things besides processes, and manipulating data within these and/or getting a handle on data in these places doesn't necessarily involve copying.

    • ETS tables, which hold state privately to themselves (with copying in/out) in a similar way to how processes do. If you manipulate data inside ETS tables by "sending compute to data" (think Redis INCR) rather than by "sending data to compute", then no copying happens.

    • "Globals" in the form of data compiled into read-only versioned modules loaded into the modules table and available to be referenced from any/all active processes, only copied if the module gets unloaded before the process dies. (Originally this was just a design pattern — https://github.com/discord/fastglobal — but it eventually became its own runtime feature in Erlang 22, https://www.erlang.org/doc/man/persistent_term).

    • Large binaries (anything over 64 bytes) aren't allocated in an actor's memory arena, but instead are allocated in a special global-per-node binaries heap, and then ref-counted, where each actor-process holds one reference to each large-binary it's using, and then each read-only slice of that binary, in turn holds a reference to the per-actor reference handle for the binary. One clever technique for sharing a large "database" of data between many actors, is to store the data encoded in a large binary in an encoding that is efficient to partwise-decode; and have the "lookup" operation just parse+decode the appropriate data out of the binary. (This is how erlang:module_info/2 used to work — the global modules-table itself holding a set of references to the loaded modules' binaries, which module_info would then parse metadata out of on demand.)

  • chaperon

    HTTP Service Performance & Load Testing Framework

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ex_image_info

    ExImageInfo is an Elixir library to parse images (binaries) and get the dimensions (size), detected mime-type and overall validity for a set of image formats. It is the fastest and supports multiple formats.

  • exp

    Elixir library to statically inline expressions at compile time (by orsinium-labs)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Elixir Performance related posts

  • exp: Elixir library to statically inline expressions at compile time

    1 project | /r/coding | 17 Feb 2023
  • exp: Elixir library to statically inline expressions at compile time

    1 project | /r/opensource | 14 Feb 2023
  • exp: Elixir library to statically inline expressions at compile time

    1 project | /r/coolgithubprojects | 6 Feb 2023
  • exp: Elixir library to statically inline expressions at compile time

    1 project | /r/elixir | 19 Oct 2022

Index

What are some of the best open-source Performance projects in Elixir? This list will help you:

Project Stars
1 fastglobal 1,126
2 chaperon 119
3 ex_image_info 93
4 exp 5

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com