axelson

axelson

Scenic Core Team

7) ElixirConf 2017 - HTTP 2 Plug to Phoenix Cowboy too - Gary Rennie

ElixirConf 2017 - HTTP 2 Plug to Phoenix Cowboy too - @Gazler

In this talk, we will look at the changes in Cowboy 2 and how we can use it with Plug and Phoenix by using a custom Plug adapter. We will look at how this can be done using a library and integrating it with Plug. The same technique will be applied to Phoenix, writing a custom handler in a library and using it with Phoenix.

We will also explore how HTTP/2 can be used to build a new Phoenix Transport, allowing Phoenix PubSub to work with a bidirectional HTTP/2 channel. We will investigate how existing transports work, and what changes are required to implement a custom transport.

Audience: Intermediate-Advanced

All talks are available in the Elixir Conf 2017 Talks List or via the elixirconf2017 tag

First Post!

JEG2

JEG2

Author of Designing Elixir Systems with OTP

This talk is quite technical and seems to hint at great things to come. It’s probably not a huge draw for most people working at higher levels though.

Last Post!

axelson

axelson

Scenic Core Team

Definitely a more low-level talk. I also wanted to point out that the actual video is only 43 minutes, there’s about 15 minutes of a black screen at the end of the video.

I’m not sure what the best way to integrate server push with Phoenix templates would be. Adding server push directly to static_path is of course asking for trouble. Easiest is probably to add server push url’s to the conn (or a field on the conn), but that might not be the nicest API since they could easily get out of sync.

Since phoenix templates are really just io lists, perhaps we could have special elements in the list that will render into the HTML as the static path, but will also define a path that will be server-pushed.

Where Next?

Popular in Talks Top

axelson
ElixirConf 2017 - Elixir The Toyota Way - Powell Kinney Toyota has a century-long legacy of innovation in ma...
New
kokolegorille
Lonestar Elixir 2018 videos are starting to pop up :slight_smile: https://www.youtube.com/channel/UCOy-_b9bqjokoWX9Hg5ZgUg Day 1 Chris ...
New
axelson
ElixirConf US 2018 – Meet Virtuoso: The Chatbot Orchestration Framework Built with Elixir – Justus Eapen (@justuseapen) ...
New
New
ShalokShalom
So, there is another Erlang VM on the way :hugs:
New
AstonJ
Just starting to go up - did you attend? Have any faves? Here are the keynotes:
New
CodeSync
Code Sync: Keynote: Gang of None? Design Patterns in Elixir - José Valim | ElixirConf EU 2024 Comments welcome! View the <span class="ha...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs &amp; Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 131117 1222
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44778 311
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement