Better HN
topnewbestaskshowjobs
Log inSign up

big_elephant

28 karma · joined Aug 26, 2018 (8y ago) · 11 submissions

Submissions

comment 1y ago · link · parent

Thanks!

comment 1y ago · link · parent

Is it fair to say that if you have a high read\low write service, you could use this as a sort of local cache (with the added benefit that it also handles staleness through the sync) on the service itself, to reduce latency from not just calls to Postgres but other caches like Redis?

comment 2y ago · link · parent

also saw this: https://x.com/peregrine/status/1830954206234071515

comment 2y ago · link · parent

does anyone know what stage this is in and what the path forward\timeline would be?

comment 4y ago · link · parent

if you round down he has zero billion

comment 4y ago · link · parent

seems like that support reversed course a month later: https://apnews.com/article/japan-fumio-kishida-names-new-cab...

comment 4y ago · link · parent

this is amazing. does anyone know how one would get started building something like this?

comment 8y ago · link · parent

sorry, i shouldn't have mentioned caching. the emphasis should have only been on connection speed

comment 8y ago · link · parent

it depends on who will be downloading the bundle. if it's a group of consistent users primarily using desktop browsers, it may not be worth worrying about since they'll probably download it once at a fast speed and reuse from the cache repeatedly afterwards.

if you have lots of new users on mobile using slow cellular connections, big libraries like moment.js add up and can really hurt load times and make for a poor user experience. for circumstances like that, a developer might look at what are the biggest libraries in their vendor bundle and look for ways to reduce them via tree-shaking or find alternatives, that is if they are even aware of how slow their current bundle might be for mobile users. i think this is for that kind of use case, not only to offer alternatives to those who might need it, but also to raise awareness for those who develop on their desktop and don't engage with their app like most of their users do

comment 8y ago · link · parent

excellent video, thanks. custom elements are a very interesting alternative

comment 8y ago · link · parent

hm i'm not sure why ports would not work in that use case (the keycloak one, right?). the port would be how you communicate between js and elm, so it looks like inside the js callbacks is where you would `send` that data through the port to elm