Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PlanetEx Lightning Talk

PlanetEx Lightning Talk

This lightning talk was given during a Brown Bag at SEP.

It elaborates on how the PlanetEx application utilizes the Elixir/Erlang/OTP ecosystem behind the scenes.

Mitchell Hanberg

October 11, 2018
Tweet

More Decks by Mitchell Hanberg

Other Decks in Programming

Transcript

  1. ELIXIR, ERLANG & OTP > Elixir is a functional programming

    language that compiles to the Erlang virtual machine > Erlang is a functional programming language built for concurrent, distributed applications. > OTP is a set of Erlang libraries: the Erlang runtime system, a number concurrency primitives, and a set of design principles for Erlang programs
  2. V1

  3. FEED SERVER MAILBOX > :rebuild_feed > async > Recursive, sends

    itself this message every 60 seconds. > :status > sync > Returns the built feed.
  4. WHY IS THIS NOT GOOD? defp build_feed(feed) do Feeds.list_rss() |>

    Enum.map(fn rss -> rss |> @fetcher.get() |> FeedParser.parse() end) |> FeedParser.Feed.merge(feed) end
  5. V2