Readit News logoReadit News
davidjnelson commented on Tell HN: Aaron Swartz died today, 8 years ago    · Posted by u/ignoramous
davidjnelson · 5 years ago
Really sad. Rest In Peace Aaron.
davidjnelson commented on OpenSocial Specification   github.com/OpenSocial/spe... · Posted by u/ecliptik
davidjnelson · 5 years ago
We built a really cool enterprise social network with this at Autodesk 10+ years ago.
davidjnelson commented on IntelliJ Idea 2020.3.1 Is Out with Apple Silicon Support   blog.jetbrains.com/idea/2... · Posted by u/jmnicolas
davidjnelson · 5 years ago
That’s exciting, I was just looking at the status of this yesterday.
davidjnelson commented on How We Built the GitHub Globe   github.blog/2020-12-21-ho... · Posted by u/scalableUnicon
oneeyedpigeon · 5 years ago
You do, just go to https://github.com/home
davidjnelson · 5 years ago
Their home page is really a work of art, just beautiful.
davidjnelson commented on Stimulus.js 2.0   discourse.stimulusjs.org/... · Posted by u/ssaunier_
cercatrova · 5 years ago
Works fine, the NodeJS server simply builds the React page, nothing more. The API does all the heavy lifting of course.
davidjnelson · 5 years ago
yup, and if you want to really optimize it you could use functions as a service like lambda as your react rendering layer, which forwards to heroku or fargate or beanstalk or vanilla ec2 or whatever for your backend.

and if cloudflare workers ever support metered usage you could use that too for the react layer.

and if you want hyper performance you could use lambda@edge and intelligently route to your backend running on fly.io to minimize the distance. the somewhat unsolved problem there though is multi region master master replicated databases which are cost effective.

to my knowledge this is the current state of the art for that https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide...

problem is you have to pay for each region so it's not really cost effective.

davidjnelson commented on Stimulus.js 2.0   discourse.stimulusjs.org/... · Posted by u/ssaunier_
danjac · 5 years ago
Yes but we're still going a long way from "just use React". One benefit of the "JS sprinkles" approach of Turbolinks+Stimulus is that you have a far simpler and more productive stack: Rails (or other framework) renders templates with some minimal JS on the frontend, as opposed to the inherent complexity of API + SSR + SPA. There are occasions when React is a good choice of course, but let's not underestimate the costs of the SPA architecture.
davidjnelson · 5 years ago
hey if stimulus and turbolinks are your jam then rock it!

I would at least give this a look though, it's super easy to use: https://github.com/shakacode/react_on_rails

u/davidjnelson

KarmaCake day1797August 19, 2011
About
david.jonathan.nelson@gmail.com
View Original