Did you wait for another Codest’s weekly report? Here you are. This time, we pay your attention especially to topics related to React, but… not only. So brew good coffee and checked, what we prepared for you. Your welcome!
Scaling to 1 million active GraphQL subscriptions (live queries)
By Hasura Team
Hasura is a very convincing proposition: build GraphQL queries directly over you PostgreSQL database, who wouldn’t like that? But the performance the Hasura team has built for has been largely unappreciated. Here’s a look at what it takes to scale a Hasura deployment to 1 million concurrent GraphQL subscriptions (and it’s surprisingly little).
https://github.com/hasura/graphql-engine/blob/master/architecture/live-queries.mdl
WebAssembly on the Server: How System Calls Work
By Christine Dodrill
WebAssembly in the browser is one thing, but here’s a look at how it can perform on the server side. This presentation summary from Christine is well worth the read, now that thanks to work from the Mozilla Foundation and CloudFlare server-side WA is here to stay.
https://christine.website/talks/webassembly-on-the-server-system-calls-2019-05-31
Rewriting the Slack Python SDK
By Rodney Urquhart
A very thoughtful and in-depth look at the architectural problems that come with taking an SDK that is quite okay and making it something great. A recommended read not only for the avid Pythonista in the audience, but the generalist senior developer concerned with future-proofing their public-facing work.
https://slack.engineering/rewriting-the-slack-python-sdk-ea000f587de7
Interesting points from Abramov’s “A Complete Guide to useEffect”
By Mark Romano
To a React developer, Dan Abramov is the man. But we can probably all agree that his blog posts sometimes end up somewhat on the denser side. As useEffect is poised to become a common part of the modern React dev, one would be wise to read through this great summary of Dan’s view on the topic.
https://levelup.gitconnected.com/interesting-points-from-abramovs-a-complete-guide-to-useeffect-99ef9e136a19
React State with Hooks: useReducer, useState, useContext
By Robin Wieruch
And to complement the above guide on useEffect, we recommend this deeply technical and full of examples dive into the other “uses” of React. Strap in for this one, it’s not light reading – but it’s essential.
https://www.robinwieruch.de/react-state-usereducer-usestate-usecontext/
Bonus! For those long summer nights, we recommend something a little bit denser – a paper on the impact of programming language choice on code quality.
Read more: