HNHacker News
TopNewBestAskShowJobs

gedw99

15 karma · joined April 26, 2021

submissionscomments
gedw99··on High-Performance server for NATS.io, the cloud and edge native messaging system
this is exactly what i need.

thanks.

Wondering if there any examples of this ?

gedw99··on High-Performance server for NATS.io, the cloud and edge native messaging system
i think they are waiting for QUIC to be merged into golang
gedw99··on High-Performance server for NATS.io, the cloud and edge native messaging system
what do you think of the new JetStream API ?
gedw99··on Wasmer Edge: WebAssembly on the Edge
To run the wasi, I use NATS.

It avoids all the GPRC mess You can instead use Proto and let NATS be be Transport.

gedw99··on Wasmer Edge: WebAssembly on the Edge
To server the WASM and WASI19 and WASI2P, i use https://github.com/stealthrocket/wasi-go/tree/main/cmd/wasir... to wrap the wasi with a host runner. This currently requires GoTip.
gedw99··on Minimum Viable Hugo
so its not just me --- amen i am not nuts
gedw99··on Service Weaver: A Framework for Writing Distributed Applications
I was wondering about Service discovery

Is there any suppptt for Publishing an event to all subscribes from a Module so all other modules that are interested could get that event payload ?

gedw99··on Service Weaver: A Framework for Writing Distributed Applications
One of the reasons I break code down into smaller pieces ( microservice ) is to have fast edit and compile times.

The versioning hell is why so many went to mono repos. There is only one git version and that’s it.

Also what about runtime version difference and schema evolution?

So many thing come into play.

I would rather just buy the bullet and use protobufs with NATS from day one . No load balances and heavy expensive gke / k8 stuff

Then deploy of fly where I have regions with auto scaling based on metric feedback loops.

Then use nats client on all client to get geo physical load balancing out to the nearest region.

Then use their postresql multi Region. Cockroach multi Region replication costs big money.

I did like their tooling in Weaver though. Even the converged logging was pretty nice.

https://github.com/ServiceWeaver/weaver/blob/main/runtime/lo...

gedw99··on Service Weaver: A Framework for Writing Distributed Applications
That raced through my mind as I read their docs also.

https://github.com/orgs/ergo-services/repositories Is erlang written in golang.

The examples are great and clearly shows what it offers in terms of failure scenarios that it handles. Supervisors tress etc.

Weaver with ergo would be a nice mix ?

You don’t specify your physical topology in code but instead at deployment time. Weaver gke but written for ergo where the Trees are decided at deployment time perhaps.

gedw99··on Service Weaver: A Framework for Writing Distributed Applications
Thanks for this as I was also wondering about network partitioning, and all those failure fun and games that distributed systems must handle.

This golang package helps to remedy that by providing a bus / messsge queue that can run in process or over the network.

So you get rpc without thinking about it and failure is managed by the data plane forwarding the message when the network is healthy again.

https://github.com/suborbital/e2core/blob/main/foundation/bu...

This however forces all other code using a package like this to adapt to the realities that you’re in an async non blocking world now. A rpc call will give you a response eventually.

So the calling func and all parent funcs will just have to wait around when the network is unhealthy?

gedw99··on Wasm-service: Htmx, WebAssembly, Rust, ServiceWorker proof of concept
This is clever.

Can we render on server , then upgrade to render on client progressively?

Also can we load other wasm using server push in the background . You get runtime plugins then

gedw99··on RFC 9114 – HTTP/3
So the golang quic module will need to implement it .

I have been using quic with golang and am looking forward to trying this out

gedw99··on Docker for Mac Without Docker Desktop
thats a really good idea. I have so many docker and docker compose things to run and the mac is just not powerful enough.

I use hetzner already too.

Do you happen to have an makefiles or scripts that set up this on your mac that you can share ?

gedw99··on Atlas – Terraform but for Database Migrations
there is an open source golang project that does the same thing called GraphJin.

has GUi tooling also.

https://github.com/dosco/graphjin

You give it the Postresql script and you will see the new GraphQL schema in he GUI, ready to test. This means that is only one change point ever - the sql.

It also supports subscriptions.

for CI you can just put the script into your git tree and it will pick them up at the start of a deploy update.

gedw99··on Burn My Windows
have to add this to my wides pc ...
gedw99··on Show HN: OnlyRecipe.app – Remove clutter from recipe sites
nice !!
gedw99··on Show HN: OnlyRecipe.app – Remove clutter from recipe sites
aa
← PreviousPage 2 of 2