Listen "2: REST vs GraphQL with Ben Wilson"
Episode Synopsis
REST Controllers vs GraphQL. You’ve probably heard of GraphQL but maybe you haven’t played with it yet. We talk with Ben Wilson, co-creator of Absinthe, a GraphQL library for Elixir and the book Craft GraphQL APIs in Elixir with Absinthe to get a better idea of how REST and GraphQL compare.
In this episode we discuss benefits of GraphQL, familiarity of REST, making requests over channels, getting versioning benefits, aggregating disparate data, reduced payload sizes, some of the challenges, the impact of macros on Absinthe, and much more!
Show Notes online - http://podcast.thinkingelixir.com/2 (http://podcast.thinkingelixir.com/2)
Elixir Community News
- http://example.com/ (http://example.com/) – Example website
- https://www.pragprog.com/titles/lmelixir/ (https://www.pragprog.com/titles/lmelixir/) – New Book "Testing Elixir" by Andrea Leopardi and Jeffrey Matthias
- https://elixirsurvey.typeform.com/to/yYmJv1 (https://elixirsurvey.typeform.com/to/yYmJv1) – Elixir Ecosystem Survey 2020 - Write in the ThinkingElixir Podcast!
- https://elixirforum.com/t/we-ve-just-launched-devtalk-a-new-discussion-platform-for-developers/32268 (https://elixirforum.com/t/we-ve-just-launched-devtalk-a-new-discussion-platform-for-developers/32268) – ElixirForum announced a new discussion platform for the Elixir/Erlang communities
- Apple WWDC, new processors moving to ARM. What does that mean for Elixir development?
Do you have some Elixir news to share? Tell us at @ThinkingElixir (https://twitter.com/ThinkingElixir) or email at [email protected] (mailto:[email protected])
Discussion Resources
- https://hexdocs.pm/absinthe/overview.html (https://hexdocs.pm/absinthe/overview.html)
- https://player.fm/series/elixir-fountain/elixir-fountain-ben-wilson-2016-09-07 (https://player.fm/series/elixir-fountain/elixir-fountain-ben-wilson-2016-09-07) – Interview on Elixir Fountain
- https://www.youtube.com/watch?v=CRXNmAMPNW8 (https://www.youtube.com/watch?v=CRXNmAMPNW8) – ElixirConf 2015 - Streams, External Services, and OTP
- https://www.youtube.com/watch?v=tlxjhTc_u4o (https://www.youtube.com/watch?v=tlxjhTc_u4o) – ElixirConf 2016 - No REST for the Wicked. Building a GraphQL
- https://www.youtube.com/watch?v=PEckzwggd78 (https://www.youtube.com/watch?v=PEckzwggd78) – ElixirConf 2017 - Live APIs with GraphQL Subscriptions
- https://www.youtube.com/watch?v=z4p4e9Uwn6I (https://www.youtube.com/watch?v=z4p4e9Uwn6I) – The Big Elixir 2018 - Trapped By Our Tools
- https://thinkingelixir.com/rest-vs-graphql-for-an-api/ (https://thinkingelixir.com/rest-vs-graphql-for-an-api/) – Follow-up article
Guest Information
- https://twitter.com/benwilson512 (https://twitter.com/benwilson512) – on Twitter
- https://github.com/benwilson512/ (https://github.com/benwilson512/) – on Github
- https://twitter.com/cargosense (https://twitter.com/cargosense) – CargoSense on Twitter
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Email the show - [email protected] (mailto:[email protected])
- Mark Ericksen - @brainlid (https://twitter.com/brainlid)
- David Bernheisel - @bernheisel (https://twitter.com/bernheisel)
- Cade Ward - @cadebward (https://twitter.com/cadebward)
In this episode we discuss benefits of GraphQL, familiarity of REST, making requests over channels, getting versioning benefits, aggregating disparate data, reduced payload sizes, some of the challenges, the impact of macros on Absinthe, and much more!
Show Notes online - http://podcast.thinkingelixir.com/2 (http://podcast.thinkingelixir.com/2)
Elixir Community News
- http://example.com/ (http://example.com/) – Example website
- https://www.pragprog.com/titles/lmelixir/ (https://www.pragprog.com/titles/lmelixir/) – New Book "Testing Elixir" by Andrea Leopardi and Jeffrey Matthias
- https://elixirsurvey.typeform.com/to/yYmJv1 (https://elixirsurvey.typeform.com/to/yYmJv1) – Elixir Ecosystem Survey 2020 - Write in the ThinkingElixir Podcast!
- https://elixirforum.com/t/we-ve-just-launched-devtalk-a-new-discussion-platform-for-developers/32268 (https://elixirforum.com/t/we-ve-just-launched-devtalk-a-new-discussion-platform-for-developers/32268) – ElixirForum announced a new discussion platform for the Elixir/Erlang communities
- Apple WWDC, new processors moving to ARM. What does that mean for Elixir development?
Do you have some Elixir news to share? Tell us at @ThinkingElixir (https://twitter.com/ThinkingElixir) or email at [email protected] (mailto:[email protected])
Discussion Resources
- https://hexdocs.pm/absinthe/overview.html (https://hexdocs.pm/absinthe/overview.html)
- https://player.fm/series/elixir-fountain/elixir-fountain-ben-wilson-2016-09-07 (https://player.fm/series/elixir-fountain/elixir-fountain-ben-wilson-2016-09-07) – Interview on Elixir Fountain
- https://www.youtube.com/watch?v=CRXNmAMPNW8 (https://www.youtube.com/watch?v=CRXNmAMPNW8) – ElixirConf 2015 - Streams, External Services, and OTP
- https://www.youtube.com/watch?v=tlxjhTc_u4o (https://www.youtube.com/watch?v=tlxjhTc_u4o) – ElixirConf 2016 - No REST for the Wicked. Building a GraphQL
- https://www.youtube.com/watch?v=PEckzwggd78 (https://www.youtube.com/watch?v=PEckzwggd78) – ElixirConf 2017 - Live APIs with GraphQL Subscriptions
- https://www.youtube.com/watch?v=z4p4e9Uwn6I (https://www.youtube.com/watch?v=z4p4e9Uwn6I) – The Big Elixir 2018 - Trapped By Our Tools
- https://thinkingelixir.com/rest-vs-graphql-for-an-api/ (https://thinkingelixir.com/rest-vs-graphql-for-an-api/) – Follow-up article
Guest Information
- https://twitter.com/benwilson512 (https://twitter.com/benwilson512) – on Twitter
- https://github.com/benwilson512/ (https://github.com/benwilson512/) – on Github
- https://twitter.com/cargosense (https://twitter.com/cargosense) – CargoSense on Twitter
Find us online
- Message the show - @ThinkingElixir (https://twitter.com/ThinkingElixir)
- Email the show - [email protected] (mailto:[email protected])
- Mark Ericksen - @brainlid (https://twitter.com/brainlid)
- David Bernheisel - @bernheisel (https://twitter.com/bernheisel)
- Cade Ward - @cadebward (https://twitter.com/cadebward)
More episodes of the podcast Thinking Elixir Podcast
283: Erlang Turns 27 and React at Risk
16/12/2025
282: Type Systems and View Transitions
09/12/2025
281: Planning for the Unexpected
02/12/2025
280: Dark Matter Developers
25/11/2025
279: Hot Code Upgrades and Hotter AI Takes
18/11/2025
278: WAL-ing Through Database Changes
11/11/2025
277: Searching Across the Hexiverse
04/11/2025
276: Elixir v1.19 Types and Speed
28/10/2025
275: From Slop to Success?
21/10/2025
274: Protocols, Permissions, and Performance
14/10/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.