frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Transfering Files with gRPC

https://kreya.app/blog/transfering-files-with-grpc/
31•CommonGuy•2h ago

Comments

sluongng•1h ago
https://github.com/googleapis/googleapis/blob/master/google/... is a more complete version of this. It supports resumable uploads, and the download can start from an offset within a file, allowing you to download only part of the file instead of the whole.

Another version of this is to use grpc to communicate the "metadata" of a download file, and then "side" load the file using a side channel with http (or some other light-weight copy methods). Gitlab uses this to transfer Git packfiles and serve git fetch requests iirc https://gitlab.com/gitlab-org/gitaly/-/blob/master/doc/sidec...

pipo234•52m ago
I understand some of the appeal of grpc, but resumable uploads and download offsets have long be part of plain http. (E.g. RFC 7233)

Relying on http has the advantage that you can leverage commodity infrastructure like caching proxies and CDN.

Why push protobuf over http when all you need is present in http already?

avianlyric•46m ago
Because you may already have robust and sensible gRPC infrastructure setup and working, and setting up the correct HTTP infrastructure to take advantage of all the benefits that plain old HTTP provides may not be worth it.

If moving big files around is a major part of the system you’re building, then it’s worth the effort. But if you’re only occasionally moving big files around, then reusing your existing gRPC infrastructure is likely preferable. Keeps your systems nice and uniform, which make it easier to understand later once you’ve forgotten what you originally implemented.

a-dub•34m ago
this.

also, http/s compatibility falls off in the long tail of functionality. i've seen cache layers fail to properly implement restartable http.

that said, making long transfers actually restartable, robust and reliable is a lot more work than is presented here.

pipo234•25m ago
Simplicity makes sense, of course. I just hadn't considered a grpc-only world. But I guess that makes sense in today's Kubernetes/node/python/llm world where grpc is the glue that once was SOAP (or even CORBA).

Still, stateful protocols have a tendency to bite when you scale up. And HTTP is specifically designed to be stateless and you get scalability for free as long as you stick with plain GET requests...

ithkuil•29m ago
I like implementing this standard gRPC interface (of I already have a gRPC based project) because it allows me to reuse a troubleshooting utility I wrote that uses it:

https://github.com/mkmik/byter

aktau•1h ago
Perhaps worth mentioning: https://github.com/stapelberg/rsync-over-grpc.

MapLibre Tile: a modern and efficient vector tile format

https://maplibre.org/news/2026-01-23-mlt-release/
225•todsacerdoti•5h ago•50 comments

Porting 100k lines from TypeScript to Rust using Claude Code in a month

https://blog.vjeux.com/2026/analysis/porting-100k-lines-from-typescript-to-rust-using-claude-code...
47•ibobev•1h ago•20 comments

After two years of vibecoding, I'm back to writing by hand

https://atmoio.substack.com/p/after-two-years-of-vibecoding-im
204•mobitar•1h ago•84 comments

Exactitude in Science – Borges (1946) [pdf]

https://kwarc.info/teaching/TDM/Borges.pdf
12•jxmorris12•44m ago•1 comments

Google AI Overviews cite YouTube more than any medical site for health queries

https://www.theguardian.com/technology/2026/jan/24/google-ai-overviews-youtube-medical-citations-...
46•bookofjoe•1h ago•14 comments

The Holy Grail of Linux Binary Compatibility: Musl and Dlopen

https://github.com/quaadgras/graphics.gd/discussions/242
132•Splizard•7h ago•97 comments

Things I've learned in my 10 years as an engineering manager

https://www.jampa.dev/p/lessons-learned-after-10-years-as
324•jampa•4d ago•82 comments

The browser is the sandbox

https://simonwillison.net/2026/Jan/25/the-browser-is-the-sandbox/
250•enos_feedler•10h ago•144 comments

OSS ChatGPT WebUI – 530 Models, MCP, Tools, Gemini RAG, Image/Audio Gen

https://llmspy.org/docs/v3
5•mythz•28m ago•0 comments

Transfering Files with gRPC

https://kreya.app/blog/transfering-files-with-grpc/
31•CommonGuy•2h ago•7 comments

Apple introduces new AirTag with longer range and improved findability

https://www.apple.com/newsroom/2026/01/apple-introduces-new-airtag-with-expanded-range-and-improv...
103•meetpateltech•1h ago•104 comments

First, make me care

https://gwern.net/blog/2026/make-me-care
688•andsoitis•20h ago•206 comments

Vibe coding kills open source

https://arxiv.org/abs/2601.15494
180•kgwgk•2h ago•144 comments

Windows 11's Patch Tuesday nightmare gets worse

https://www.windowscentral.com/microsoft/windows-11/windows-11s-botched-patch-tuesday-update-nigh...
15•01-_-•21m ago•3 comments

Show HN: Only 1 LLM can fly a drone

https://github.com/kxzk/snapbench
38•beigebrucewayne•4h ago•22 comments

Text Is King

https://www.experimental-history.com/p/text-is-king
75•zdw•5d ago•32 comments

TSMC Risk

https://stratechery.com/2026/tsmc-risk/
26•swolpers•4h ago•14 comments

Cop-assisted extortion of DWI arrestees in New Mexico include getting them drunk

https://reason.com/2026/01/23/cop-assisted-extortion-of-dwi-arrestees-in-new-mexico-included-gett...
22•leephillips•19m ago•0 comments

Scientists identify brain waves that define the limits of 'you'

https://www.sciencealert.com/scientists-identify-brain-waves-that-define-the-limits-of-you
252•mikhael•15h ago•67 comments

Blade Runner Costume Design (2020)

https://costumedesignarchive.blogspot.com/2020/12/blade-runner-1982.html
15•exvi•5d ago•1 comments

Wind Chime Length Calculator (2022)

https://www.snyderfamily.com/chimecalcs/
23•hyperific•5d ago•7 comments

A macOS app that blurs your screen when you slouch

https://github.com/tldev/posturr
642•dnw•23h ago•207 comments

The future of software engineering is SRE

https://swizec.com/blog/the-future-of-software-engineering-is-sre/
200•Swizec•17h ago•89 comments

LED lighting undermines visual performance unless supplemented by wider spectra

https://www.nature.com/articles/s41598-026-35389-6
147•bookofjoe•17h ago•131 comments

AI will not replace software engineers (hopefully)

https://medium.com/@sig.segv/ai-will-not-replace-software-engineers-hopefully-84c4f8fc94c0
5•fwef64•24m ago•1 comments

Water 'Bankruptcy' Era Has Begun for Billions, Scientists Say

https://www.bloomberg.com/news/articles/2026-01-20/water-bankruptcy-era-has-begun-for-billions-sc...
63•ciconia•2h ago•58 comments

Clinic-in-the-loop

https://www.asimov.press/p/clinic-loop
13•surprisetalk•4d ago•2 comments

A static site generator written in POSIX shell

https://aashvik.com/posts/shell-ssg/
56•todsacerdoti•6d ago•27 comments

Using PostgreSQL as a Dead Letter Queue for Event-Driven Systems

https://www.diljitpr.net/blog-post-postgresql-dlq
240•tanelpoder•23h ago•72 comments

Running the Stupid Cricut Software on Linux

https://arthur.pizza/2025/12/running-stupid-cricut-software-under-linux/
44•starkparker•11h ago•10 comments