SFJS May 2018: Embedded V8 Contexts


Details
Agenda:
6:00pm Doors open
6:30pm How we expose distributed JS services to customers using an embedded v8 context by Kurt Mackey
7:00pm Running GraphQL Everywhere by Evans Hauser
7:30pm 15 Seconds of Fame
9:00pm Meetup over
Hosts:
Thank you to our host Okta for providing space and snacks. Add auth to your apps: https://developer.okta.com/
How we expose distributed JS services to customers using an embedded v8 context by Kurt Mackey
Global applications present a unique set of development problems. In this talk we'll share why we built Fly.io, a global JavaScript application runtime, to solve these issues. Think CDN that runs your code. We'll talk about our globally distributed cache, how we handle SSL before passing the HTTP connection off to v8 contexts, and how we push users' JavaScript out to all those servers. Within the v8 context, user code has access to a limited whatwg JavaScript API, our caching service, and some other basic necessities for executing fully custom CDN logic.
Kurt Mackey is the cofounder at Fly.io, a globally distributed JavaScript application runtime based in Chicago. He ran tech for Ars Technica for 8 years, then left to build compose.io (YC S11), which was acquired by IBM in 2015.
Running GraphQL Everywhere by Evans Hauser
GraphQL is an API technology that allows clients to ask for the exact data they need, without the server sending extraneous results or having to perform extra roundtrips to fetch related objects. A GraphQL server offers a reusable way of exposing microservices, in effect allowing teams to create Backends For Frontends on the fly. GraphQL servers typically use Node, enabling frontend teams to write and deploy GraphQL services using universal javascript.
In this talk, I introduce GraphQL, demonstrate how to create a GraphQL server based on Node, and discuss deploying a GraphQL service in traditional, serverless, and edge environments.
Evans Hauser (https://twitter.com/evanshauser) is a open source engineer at Apollo, focusing on building production-grade GraphQL tools and services. He started the Apollo link and Apollo bot projects and currently maintains Apollo server.
Code of conduct: All attendees are expected to abide by the code of conduct outlined here: http://confcodeofconduct.com/
FAQ:
Q: Will food be provided?
A: Light snacks and drinks will be provided, with gluten-free and vegetarian options.
Q: Can I bring my bicycle?
A: True red-blooded Americans drive cars everywhere, but if you're bringing a bike, don't lock it outside, bring it up to the 2nd floor with you.
Q: Is the venue wheelchair accessible?
A: Yes.
Q: Is closed captioning provided for the hard of hearing?
A: We currently do not have plans to offer closed captioning, however, we can offer headphones with increased volume for the hard of hearing. Please reach out to the organizers if you would like to take advantage of this, or if it is an issue for you.
Q: Can I come and tell everyone to use my new app? Everyone should use my app!
A: Please re-think your life choices.

SFJS May 2018: Embedded V8 Contexts