thank you for working on IPFS. It is fun to use it.
Currently, I work on a project which puts many (small) objects on IPFS in order to create a distributed knowledge representation system. The layer above IPFS is written in Java. Therefore I use the IPFS Java API to interact with the IPFS node.
When I put and pin data, I have somehow (time) performance problems due to too many Http API requests. So I want to reduce the amount of API calls, now.
Do you think it might help to reactivate batch put calls? Meaning that you can put many JSON objects on IPFS via a single API call?
I know that this was once removed because it had not been used frequently but I think it could be useful in my case.
Was a batch put call faster than putting every IPFS object each? I think about a possible overhead due to many API communications instead of a single one.
(Btw in Java IPFS API there is still a batch put method implemented, even if it is not supported anymore. This is misleading, since it only puts the first object of the list on IPFS.)
If you have any other idea how I can increase the performance of putting objects on IPFS, then please let me know.
My second question is about garbage collection:
Is it still the case that the gc has to be called manually? Or is there already a mechanism which triggers the gc? Knowing that could reduce the amount of pinning calls I currently make (after a new object has been added, I directly pin it such that an automatic gc does not delete it right away).