~/talk

JavaScript performance - how to wring the most out of your Helia deployment

Talkat IPFS þing 2023 · 2023-04-15..04-19· [javascript]
links:none on file
slides:none on file

JavaScript async adds real microtask overhead so a synchronous pipeline benchmarks at 132k ops/s vs 81k ops/s; storage choice and sharding matter because S3 gives about 3500 ops/s per S3 prefix and creating many prefixes scales throughput; Helia uses blockstore/datastore abstractions and a default shard (last two chars reversed) plus options like an in‑memory mount for peer keys; garbage collection uses reference-counting GC and stays flat at scale (100k pins tested); increasing block size to 1 MiB cuts BitSwap transfer time substantially.

AI-written summary · about

  1. 0:00Introduction
  2. 0:24JavaScript performance basics
  3. 1:51Async vs synchronous pipelines
  4. 4:19Storage and IO bottlenecks
  5. 6:28Customizing block stores
  6. 8:59Content routing optimizations
  7. 10:25Garbage collection improvements
  8. 14:36DAGs and block sizes
  9. 17:46Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.