Database support in the future?

btw, did you try to run satellite with crdb but using postgres implementation? I don’t remember how strict is crdb compatibility with PG but there is a chance it will work. It’ might be a bit less optimal (slower) in few places but shouldn’t be a problem for smaller satellte.

Good idea, let me try that on test infra, it will lower the cost for both of us, if thing break now I only need to fix that query and upstream it to you.

Lol, just tried out of curiosity. Claude , thought it would take a full session limit, but no. It only took just a couple of dollars in tokens. It’s… tempting :rofl:

You can throw in my repo too, ask it to look at commit related to postgres GitHub - kocoten1992/patch_sat: some patch for storj satellite · GitHub

I do use comby, but compiling it is annoying, so here the static binary build, could upload and ask it to use it too: upbin — shared folder

P/s: wait, this isn’t about database, it about new storage on storagenode?

Unrelated, I’m thinking about asking it to support WebRTC on storagenode and a uplink.js on browser side - to bypass gateway entirely, maybe it can get more adoption?

Yes, it would be fantastic to create a version of uplink.js capable of running in the browser. In that case, a gateway would no longer be needed.
Typically, uplink runs on the backend, which lowers the system’s overall security: you would have to transmit your access grants there, meaning client-side end-to-end encryption would no longer be an option.

Ah, I explain my point poorly, it mean for consume content (download only) via short lived access grant that limit to download specific files.

But it true I’ve not investigate this path yet, so it might not be possible, I don’t know.

Yep!

This might be relevant: JS library for the browser - #7 by jtolio

Thank you! They do think about it :grimacing: - but there might be a problem.

Some strict site will have CSP (content security policy), it only allow js to fetch some specific urls, storagenode are everywhere, it will run right into this wall. I think we must use supported P2P protocol, I did some research, a single webrtc data channel is ~300-400kb max (but not including data buffer yet), so we could spawn it even on phone.

(But I’ve not look at storagenode side if this is possible yet).

P/s: type too fast again, maybe providing DNS for storagenode is a superior solution, it will save on memory usage too.

And what’s a problem if you are the owner of this site? You can apply any rules to it.

This was considered multiple times. The biggest challenge is that the storagenodes require HTTPS certificate to make this useful.

With the old spiridon satellite I had a PoC to do ACME certificates + dns resolution to the storagenodes. Not impossible, but somewhat tricky (+ fun)

  • it’s not really a replacement of a gateway. It’s HTTP protocol support. Not s3.

Would be a good topic to discuss on a SNO Office Hours.

I’ve been wondering why they don’t publish new version anymore:

What would they do if someone train specialized AI to convert binary back to source code? Database as a service?

Lossy, annoying to work with.

Besides, Opus 7 will be able to write an equivalent service from scratch anyway. Opus 8 will do it in a single prompt :person_shrugging: