<ChrisMatthieu>
Tantin[m]: aispark[m] You guys should checkout what we are doing with computes (decentralized and distributed mesh computer. It's built as a layer on top of the IPFS stack. Here's a link to an architecture post - https://blog.computes.com/computes-decentralized-architecture-d9c7870ab542
<ChrisMatthieu>
We have a DLT and decentralized queuing system powered by IPFS DAG, IPLD, IPNS, as well as pubsub
dimitarvp has quit [Quit: Bye]
jesse22_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
redfish has quit [Quit: WeeChat 2.0.1]
ONI_Ghost has joined #ipfs
weisen has quit [Quit: weisen]
inck has joined #ipfs
und0ck3d has quit [Ping timeout: 240 seconds]
weisen has joined #ipfs
anoemi has quit [Remote host closed the connection]
jesse22 has joined #ipfs
weisen has quit [Quit: weisen]
vivus has quit [Quit: Leaving]
goon12 has quit [Ping timeout: 256 seconds]
jesse22 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jesse22 has joined #ipfs
colatkinson has joined #ipfs
jesse22 has quit [Ping timeout: 252 seconds]
raynold has joined #ipfs
PyHedgehog has quit [Quit: Connection closed for inactivity]
colatkinson has quit [Quit: colatkinson]
colatkinson has joined #ipfs
colatkinson has quit [Quit: colatkinson]
rodolf0 has joined #ipfs
<hermanjunge>
Awesome @ChrisMatthieu
rudolph has joined #ipfs
rudolph is now known as Guest44135
<hermanjunge>
Very interested on the implementation of this `When needed, we use a combination of IPFS PubSub and IPLD (InterPlanetary Linked Data) to create a CRDT (conflict-free replicated data type) database system`
rodolf0 has quit [Ping timeout: 260 seconds]
zopsi has quit [Quit: Oops]
zopsi has joined #ipfs
Guest44135 has quit [Ping timeout: 252 seconds]
<ChrisMatthieu>
hermanjunge: @iamruinous can elaborate...
<hermanjunge>
Danke
colatkinson has joined #ipfs
MrSparkle has joined #ipfs
saki has quit [Quit: saki]
saki has joined #ipfs
ipfs-japan has joined #ipfs
MrSparkle has quit [Ping timeout: 256 seconds]
colatkinson has quit [Quit: colatkinson]
MrSparkle has joined #ipfs
jzeus has quit [Ping timeout: 260 seconds]
saki has quit [Ping timeout: 256 seconds]
ipfs-japan has quit [Ping timeout: 260 seconds]
MrSparkle has quit [Ping timeout: 256 seconds]
colatkinson has joined #ipfs
MrSparkle has joined #ipfs
colatkinson has quit [Ping timeout: 248 seconds]
jesse22 has joined #ipfs
xelra has quit [Ping timeout: 264 seconds]
colatkinson has joined #ipfs
f0i has joined #ipfs
colatkinson has quit [Client Quit]
f0i has quit [Ping timeout: 240 seconds]
MrSparkle has quit [Ping timeout: 248 seconds]
MrSparkle has joined #ipfs
tenchooo has quit [Remote host closed the connection]
tenchooo has joined #ipfs
ulrichard has joined #ipfs
MrSparkle has quit [Ping timeout: 265 seconds]
avelkei has joined #ipfs
colatkinson has joined #ipfs
colatkinson has quit [Client Quit]
espadrine has quit [Ping timeout: 268 seconds]
xelra has joined #ipfs
anewuser has quit [Quit: anewuser]
ericxtang has joined #ipfs
colatkinson has joined #ipfs
ericxtang has quit [Remote host closed the connection]
ericxtang has joined #ipfs
ericxtang has quit [Ping timeout: 256 seconds]
mtodor has joined #ipfs
ansuz has left #ipfs [#ipfs]
colatkinson has quit [Quit: colatkinson]
windsok has quit [Remote host closed the connection]
windsok has joined #ipfs
windsok has joined #ipfs
jamiew has quit [Ping timeout: 265 seconds]
jamiew has joined #ipfs
colatkinson has joined #ipfs
leavehouse has quit [Ping timeout: 265 seconds]
colatkinson has quit [Quit: colatkinson]
rendar has joined #ipfs
xzha has joined #ipfs
MrSparkle has joined #ipfs
saki has joined #ipfs
dzjkb has joined #ipfs
leavehouse has joined #ipfs
fazo96 has joined #ipfs
bomb-on has quit [Quit: SO LONG, SUCKERS!]
l3xx has quit [Ping timeout: 248 seconds]
dzjkb has quit [Quit: WeeChat 2.0.1]
MrSparkle has quit [Ping timeout: 255 seconds]
rcat has joined #ipfs
bomb-on has joined #ipfs
<Powersource>
does the libp2p dht try to find peers on the local network?
MrSparkle has joined #ipfs
infinity0_ has joined #ipfs
infinity0_ has quit [Changing host]
infinity0 has joined #ipfs
infinity0 is now known as Guest14120
Guest14120 has quit [Ping timeout: 256 seconds]
paolof has quit [Ping timeout: 276 seconds]
paolof_ has joined #ipfs
}ls{ has joined #ipfs
ylp has joined #ipfs
dimitarvp has joined #ipfs
MrSparkle has quit [Ping timeout: 264 seconds]
chiui has joined #ipfs
vmx has joined #ipfs
dzjkb has joined #ipfs
saki has quit [Ping timeout: 256 seconds]
haruka has joined #ipfs
ericxtan_ has joined #ipfs
rcat has quit [Remote host closed the connection]
ericxtan_ has quit [Ping timeout: 260 seconds]
elasticdog has quit [Ping timeout: 260 seconds]
leavehouse has quit [Ping timeout: 255 seconds]
elasticdog has joined #ipfs
vmx has quit [Ping timeout: 256 seconds]
elevated has quit [Ping timeout: 276 seconds]
elevated has joined #ipfs
vmx has joined #ipfs
vmx has quit [Ping timeout: 256 seconds]
jared4dataroads has quit [Ping timeout: 256 seconds]
ONI_Ghost has quit [Read error: Connection reset by peer]
vmx has joined #ipfs
ONI_Ghost has joined #ipfs
Neomex has joined #ipfs
rsl_ has joined #ipfs
vmx has quit [Ping timeout: 276 seconds]
jared4dataroads has joined #ipfs
Neomex has quit [Read error: Connection reset by peer]
vmx has joined #ipfs
Steverman has joined #ipfs
rcat has joined #ipfs
MrSparkle has joined #ipfs
Steverman has quit [Client Quit]
elevated_ has joined #ipfs
elevated has quit [Ping timeout: 255 seconds]
elevated_ is now known as elevated
vmx has quit [Ping timeout: 256 seconds]
vmx has joined #ipfs
elevated_ has joined #ipfs
elevated_ has quit [Client Quit]
discopatrick has joined #ipfs
raynold has quit [Quit: Connection closed for inactivity]
elevated has quit [Ping timeout: 240 seconds]
elevated_ has joined #ipfs
vmx has quit [Ping timeout: 256 seconds]
Steverman has joined #ipfs
vmx has joined #ipfs
fazo96_ has joined #ipfs
fazo96 has quit [Ping timeout: 240 seconds]
fazo96 has joined #ipfs
rsl_ has quit [Quit: rsl_]
fazo96_ has quit [Ping timeout: 264 seconds]
MrSparkle has quit [Ping timeout: 240 seconds]
Steverman has quit [Ping timeout: 240 seconds]
martinBrown_ has joined #ipfs
WindPower has quit [Ping timeout: 255 seconds]
martinBrown has quit [Ping timeout: 255 seconds]
martinBrown_ is now known as martinBrown
adgtl has quit [Ping timeout: 240 seconds]
Steverman has joined #ipfs
<victorbjelkholm>
Powersource: we have some discovery done via mdns for local peers
elevated_ has quit [Quit: bye]
<victorbjelkholm>
but don't think we use the dht in any way to find local peers
elevated has joined #ipfs
Mateon3 has joined #ipfs
Mateon1 has quit [Ping timeout: 265 seconds]
Mateon3 is now known as Mateon1
<Steverman>
for js?
WindPower has joined #ipfs
<victorbjelkholm>
Steverman: should work for both implementations (but obviously no support for in-browser js-ipfs has we have no access to mdns from there)
haruka has quit [Read error: Connection reset by peer]
haruka has joined #ipfs
zxk has joined #ipfs
ericxtang has quit [Ping timeout: 240 seconds]
alanshaw_ has joined #ipfs
<ebel>
If I run a public IPFS gateway, is it possible to whitelist what hashes it will serve up? i.e. a public IPFS gateway for only my stuff?
<ebel>
I'm thinking that the ipfs daemon thingie running behind it would be part of the regular ipfs network and serve up the data it has pinned?
<ebel>
i.e. a solution to "I want to store my stuff on ipfs, but I don't want to store/serve anyone elses"
<Powersource>
victorbjelkholm: just tried ipfs/mdns on two laptops connected through shared phone wifi, worked great :)
<Powersource>
Needed to turn off the firewall though :p
<victorbjelkholm>
ebel: run nginx/caddy in front of it and add your whitelist there with pathing
<victorbjelkholm>
Powersource: great to hear! :)
Steverman has joined #ipfs
elevated has quit [Quit: bye]
elevated has joined #ipfs
<ebel>
victorbjelkholm: hehe. I suppose that would work. I could do HTTP redirects to (say) a public gateway then. ("If you want X, look at ipfs.io/ipfs/X")
<ebel>
victorbjelkholm: But would my node still copy/store/forward other people's objects on the ipfs network?
MrSparkle has quit [Ping timeout: 256 seconds]
Steverman has quit [Ping timeout: 264 seconds]
lord| has quit [Quit: WeeChat 2.0.1]
Steverman has joined #ipfs
<victorbjelkholm>
ebel: the gateway runs on port 8080, so you can setup nginx to proxy requests to :80 to :8080 on the daemon. Then the swarm connections (used to send data around on the ipfs network) is using port 4001, so it's independent from the http gateway
<victorbjelkholm>
keep in mind, ipfs only stores objects you pinned explicitly, and keeps objects around for a while (until GC runs) if you access them
Steverman has quit [Ping timeout: 265 seconds]
vmx has quit [Quit: Leaving]
haruka has quit [Ping timeout: 256 seconds]
haruka has joined #ipfs
<ebel>
victorbjelkholm: OK. Does a node ever download chunks that you haven't requested but someone else wants? I vagely recall that from trying to read the ipfs protocol spec whitepaper....
<Mara_>
Hi, I just started with IPFS. I would like to create a website where people can upload small files (<256kB) to IPFS via javascript. This example works: https://github.com/ipfs/js-ipfs/tree/master/examples/browser-script-tag , but I would like the files to become persistent. Is there an example how can i for example also send a request to pin a file to my hosted node?
<Icefoz>
Mara_: There's an API call for it, one sec.
<Mara_>
How can I know when the file gets deleted? Let's say I have a website and the files will be requested daily.
ostrokach[m] has left #ipfs [#ipfs]
<Icefoz>
Mara_: On go-ipfs at least, you tell it how much data you want it to store and when it gets close to that limit it will start removing old files.
<r0kk3rz>
ie. the js node in your browser running that code
<Mara_>
Ok so the users machine becomes a node right?
<r0kk3rz>
exactly
<Mara_>
But then it gets replicated to other nodes up to a time when noone requests it / pin it for 24 hours?
<Mara_>
So even if the user disconnects and never start his machine again, other people will be able to access the file, right?
<r0kk3rz>
no, it goes nowhere
<Mara_>
Hmm, that sounds useless I do not follow probably
Fessus has quit [Ping timeout: 268 seconds]
<Mara_>
If it goes nowhere the uploaded file is as good as local file, or is it not?
<r0kk3rz>
some other node has to request the data
<Mara_>
During the time the user is connected?
<r0kk3rz>
yes
<r0kk3rz>
when you add a file, its merely added locally, not 'uploaded' anywhere
<Mara_>
Ok I tried to add file on my local node, but when I check it on mobile it is still there
kareniel has left #ipfs [#ipfs]
<r0kk3rz>
what do you mean?
<Mara_>
when i check https // ipfs.io/ipfs/hash
<r0kk3rz>
if the file was transferred, now more than one node has the file
<r0kk3rz>
and can provide it
achingbrain has joined #ipfs
<Mara_>
Ok so that is the case only for JS implementation right? (the local file)
<r0kk3rz>
if you view it on the gateway, then the gateway has the file in its cache
<r0kk3rz>
no, its just how ipfs works generally
<Mara_>
But I also saw a file which I generated through javascript when I checked the gatewaz
<Mara_>
Or I actually requested it so it replicated to another node?
<Mara_>
Sorry I am really new to this :D
<Mara_>
I just want to create a website where users can upload small files and it will show X best files
<r0kk3rz>
the gateway retrieves stuff its asked for
anoemi has joined #ipfs
<r0kk3rz>
thats fine, you'll need a piece of code to give that server the CID
<r0kk3rz>
which it can then get and keep in its cache
<Icefoz>
Mara_: An IPFS node really just does three things: It connects up with other nodes and keeps track of who it can reach, it tells other nodes "hey here's some of the files I have", and if another node asks for a file, it either transfers it if possible or forwards the message on to other nodes.
Neomex has joined #ipfs
<Mara_>
Oh I know why it worked locally, I used the default Hello World
<Mara_>
which is of course cashed
<Mara_>
Ok, what if I let my server to ask for the file immediately when the user uploads the file to his node?
<r0kk3rz>
yeah same data >> same file >> same hash :)
shanemcd has quit [Quit: 👋]
<Mara_>
Do you have a solution for this? It seems so far it would be easiest to just upload the files into my server :)
<r0kk3rz>
it'll be quicker to do it that way
<r0kk3rz>
the data has to be passed to the server regardless
weisen has joined #ipfs
MrSparkle has quit [Ping timeout: 255 seconds]
ulrichard has quit [Remote host closed the connection]
<Mara_>
Ok, does anyone know how to send a file via js to ubuntu server and then run ipfs commands on that file? :D
<Mara_>
Seems I took a bit bigger bite than what I can chew :-/
Steverman has quit [Quit: WeeChat 2.0.1]
<Mara_>
I got to go, thanks for the help! Have a nice day :)
Mara_ has quit [Ping timeout: 260 seconds]
vmx has joined #ipfs
PyHedgehog has quit [Quit: Connection closed for inactivity]
ylp has left #ipfs [#ipfs]
danyspin97 has joined #ipfs
ligi has joined #ipfs
ligi has joined #ipfs
ligi has quit [Changing host]
weisen has quit [Quit: weisen]
LTLT has joined #ipfs
ligi has quit [Client Quit]
chowie has joined #ipfs
danyspin97 has quit [Ping timeout: 248 seconds]
<inck>
quick question is there a minimum block size for ipfs data ?
<inck>
I thought I read somewhere that it was 256kb , so if I echo "hello world" | ipfs add what would be the block size ?
<Icefoz>
inck: I don't think there's a minimum, there is a maximum though.
<inck>
I guess how would I find out the size of a block ?
<Icefoz>
The default max is probably 256kb
<Icefoz>
inck: `ipfs block stat <cid>`
<inck>
cool cool
<inck>
thx
<Icefoz>
There's some metadata included, so the example you gave produces a 20-byte block.
<inck>
cool cool thx one other question you may or may not know the answer to, does creating merkle links affect data locality any ?
<inck>
if I create a dag does that mean the related blocks are more likely to be served together or nearby each other?
<inck>
or if there's a place in the code I should look or could look at to work it out that work as well
<Icefoz>
I don't know the answer to that but IPFS doesn't really eagerly serve anything or try to spread data around the network.
<Icefoz>
If a node has the block someone's asking for, it can provide it, if not then not.
<Icefoz>
In practice this means that blocks which compose the same file tend to end up being stored and served together.
<Icefoz>
It's not "you add this block to the network and the network figures out where to store it", it's "you tell the network you can serve this block and if someone fetches it from you then they will also serve it to others".
xzha has quit [Ping timeout: 248 seconds]
<inck>
cool cool makes sense
raynold has joined #ipfs
<Icefoz>
It's more interplanetary cache than interplanetary filesystem, tbh.
mtodor has quit [Remote host closed the connection]
<dzjkb>
so if i host a node and don't actually use it for anything then it'll have no files on it?
<Icefoz>
Yep.
<Icefoz>
It'll just help other nodes talk to each other.
corvinux has joined #ipfs
<dzjkb>
a bit like torrents
<dzjkb>
it seems
LTLT has quit [Ping timeout: 276 seconds]
<Icefoz>
Yeah.
shanemcd has joined #ipfs
slayerjain has quit [Quit: Connection closed for inactivity]
xzha has joined #ipfs
chowie has quit [Ping timeout: 256 seconds]
<sprint-helper>
The next event "Weekly Community Research Call" is in 15 minutes.
LTLT has joined #ipfs
pcardune has joined #ipfs
bomb-on has quit [Quit: SO LONG, SUCKERS!]
mizu_kyoshia has joined #ipfs
elevated has quit [Read error: Connection reset by peer]
elevated has joined #ipfs
<inck>
hmm how does one join the research call ?
chiui has quit [Ping timeout: 256 seconds]
chowie has joined #ipfs
Fessus has joined #ipfs
bomb-on has joined #ipfs
dzjkb has quit [Quit: WeeChat 2.0.1]
lacour has joined #ipfs
weisen has joined #ipfs
haruka has quit [Ping timeout: 248 seconds]
xzha has quit [Ping timeout: 256 seconds]
<whyrusleeping>
that would be a useful thing for the sprint helper to tell us, wouldnt it
rodolf0 has joined #ipfs
haruka has joined #ipfs
thefinn93 has quit [Quit: WeeChat 2.0.1]
xzha has joined #ipfs
Willjox[m] has joined #ipfs
Willjox[m] has left #ipfs [#ipfs]
chowie has quit [Ping timeout: 260 seconds]
Encrypt has joined #ipfs
Willjox[m] has joined #ipfs
vmx has quit [Quit: Leaving]
dexteruk has quit [Ping timeout: 248 seconds]
thefinn93 has joined #ipfs
tombusby has quit [Ping timeout: 255 seconds]
dexteruk has joined #ipfs
fazo96 has joined #ipfs
tombusby has joined #ipfs
<jared4dataroads>
whyrusleeping: +1 on more actionable sprint-helper bot messages. IMO it should also be broadcast on the other channels like -dev and libp2p.
anoemi has quit [Remote host closed the connection]
mizu_kyoshia has quit [Read error: Connection reset by peer]
<whyrusleeping>
yeah
mizu_kyoshia has joined #ipfs
<whyrusleeping>
i'm not even sure who maintains that
mizu_kyoshia has quit [Client Quit]
danielcook[m] has joined #ipfs
LTLT has quit []
MrSparkle has joined #ipfs
leavehouse has joined #ipfs
espadrine has joined #ipfs
b5 has joined #ipfs
jesse22 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rendar has quit []
<b5>
hi friends, has anyone else had a build that grabs deps come crashing to a halt today? the server at leb.io is currently down, which github.com/multiformats/go-multihash depends on :/
haruka has quit [Ping timeout: 240 seconds]
anoemi has joined #ipfs
haruka has joined #ipfs
<whyrusleeping>
b5: yeah....
<whyrusleeping>
pretty annoying
<b5>
I feel bad, it's really good code
<b5>
but, like, builds gotta pass, and this code is on GitHub...
gmoro_ has quit [Remote host closed the connection]
gmoro has joined #ipfs
<whyrusleeping>
b5: yeah, i'm working on forking it and replacing the dep now
<b5>
gotcha. thanks! I'll PR https://github.com/tildeleb/hashland with a revert back to github.com from leb.io with a polite note just for austerity's sake
<raphaelb>
Hi! If I publish a page that I share with a friend, does he download it entirely? If this friend disconnect, and no other node are connected, what happen to my content?
ygrek has joined #ipfs
<sethetter>
@raphaelb not an expert here, but -- the content is stored across several nodes for retrieval, but if he is attempting to view the file he will download the whole thing to his machine from the multitude of nodes it's stored on. As for the second question, I can't say for sure, but the content technically keeps on living on those nodes (unless they delete their ipfs folders, of course) and would be available again once
<sethetter>
connected. IPFS (and any distributed system) kind of relies on there being enough nodes on the network for things to persist though
<raphaelb>
@sethetter Ok, so if I want to take advantage of the fact that the content can be unavailable, I can, only if I make sure the node structure is weak enough right?
<whyrusleeping>
content is not automatically stored on other nodes
reit has joined #ipfs
anoemi has quit [Remote host closed the connection]
detran has quit [Remote host closed the connection]
discopatrick has quit [Quit: Connection closed for inactivity]
pamitchel[m] has joined #ipfs
z00mb1e[m] has joined #ipfs
Ecran has joined #ipfs
und0ck3d has quit [Ping timeout: 255 seconds]
und0ck3d has joined #ipfs
und0ck3d has quit [Client Quit]
joocain2_ has joined #ipfs
fredthomsen has joined #ipfs
joocain2 has quit [Ping timeout: 255 seconds]
detran has joined #ipfs
weisen has quit [Quit: weisen]
fredthomsen has quit [Client Quit]
Encrypt has quit [Quit: Quit]
mortn has joined #ipfs
}ls{ has quit [Ping timeout: 265 seconds]
}ls{ has joined #ipfs
goon12 has joined #ipfs
biodrone has quit [Read error: No route to host]
mrBen2k2k2k__ has quit [Ping timeout: 256 seconds]
Ecran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
anoemi has joined #ipfs
weisen has joined #ipfs
haruka has quit [Ping timeout: 256 seconds]
Neomex has quit [Read error: Connection reset by peer]
haruka has joined #ipfs
<Powersource>
`ipfs swarm peers` says that my two machines that are on the same wifi are connected, but `ipfs stats bw` says it's only transferring at ~100 kB/s, they download things from http much faster than this. Any clue what's wrong?
xzha has quit [Ping timeout: 240 seconds]
newhouse has joined #ipfs
corvinux has quit [Quit: Leaving]
raphaelb has quit [Quit: Leaving]
ccii has quit [Ping timeout: 256 seconds]
obaid has quit [Quit: Page closed]
detran has quit [Read error: Connection reset by peer]
gmoro_ has quit [Remote host closed the connection]
gmoro has joined #ipfs
newhouse has quit [Read error: Connection reset by peer]
gmoro has quit [Remote host closed the connection]
gmoro has joined #ipfs
<pjz>
wifi is slow?
<pjz>
whyrusleeping: how goes?
maxzor has quit [Remote host closed the connection]
neosloth has joined #ipfs
Hijiri has joined #ipfs
ccii has joined #ipfs
dimitarvp has quit [Quit: Bye]
neosloth has left #ipfs ["User left"]
user51 has joined #ipfs
jesse22 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
colatkinson has joined #ipfs
<whyrusleeping>
pjz: it goes :)
<whyrusleeping>
I used pinbits the other day
ericxtang has joined #ipfs
hacman has joined #ipfs
vmx has joined #ipfs
colatkinson has quit [Read error: Connection reset by peer]
colatkinson has joined #ipfs
b5 has quit [Quit: Page closed]
<vmx>
when does /dag/resolve return a remainder path?
<vmx>
whyrusleeping: oh, i need to hit a link with my path *tryingagain*
warner has joined #ipfs
lord| has joined #ipfs
<whyrusleeping>
pjz: it should take too much effort to get it working
<whyrusleeping>
just need to find a better s3 library, and fill out the go-datastore interface with it
colatkinson has joined #ipfs
freeflying has joined #ipfs
freeflying has joined #ipfs
freeflying has quit [Changing host]
<vmx>
what's the state of ipld in the go world? can i e.g. insert a bitcoin block into the dag and do resolve queries on it?
MrSparkle has joined #ipfs
ericxtang has quit [Remote host closed the connection]
ericxtang has joined #ipfs
jesse22 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<whyrusleeping>
yeah
<whyrusleeping>
you need to use the plugin, because we don't want to ship a bunch of extra code with the default impl
<whyrusleeping>
but that stuff has been there a while now
fazo96 has quit [Quit: Konversation terminated!]
<whyrusleeping>
Though i think that the segwit changes caused issues, and we might only be able to deal with pre-segwit blocks
<whyrusleeping>
the ethereum stuff works fine though
goon12 has quit [Ping timeout: 248 seconds]
haruka has quit [Read error: Connection reset by peer]
jesse22 has joined #ipfs
ericxtang has quit [Ping timeout: 240 seconds]
haruka has joined #ipfs
ericxtang has joined #ipfs
MrSparkle has quit [Ping timeout: 268 seconds]
hacman has joined #ipfs
pcardune has quit [Ping timeout: 255 seconds]
pcardune has joined #ipfs
jesse22 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ericxtan_ has joined #ipfs
jesse22 has joined #ipfs
ericxtang has quit [Ping timeout: 240 seconds]
<johnlong[m]>
Just playing around with adding and pinning.. how come "pinning" creates 2 additional objects to the ipfs repo?
<whyrusleeping>
johnlong[m]: because the pinset is an ipld datastructure
<johnlong[m]>
makes sense.. its quite a bit of overhead when adding many smaller chunks of data
<whyrusleeping>
Yeah, Its adding two objects, and I think in most cases its actually just replacing them
<whyrusleeping>
so running a gc should clear out the old two
<johnlong[m]>
👍 thanks
<johnlong[m]>
i'm thinking in order to avoid pinning lots of smaller objects, I can probably just add without pinning and rely on cache, so long as the cache is first in first out.. is that how the cache works or does it try to be more clever?
MrSparkle has joined #ipfs
<whyrusleeping>
johnlong[m]: locally?
<whyrusleeping>
nothing gets removed until a gc is run
<johnlong[m]>
yeah
<johnlong[m]>
oh really... even if im not doing any pinning the repo will keep growing