Skip to content

Latex support, 15x less bandwidth

Compare
Choose a tag to compare
@ianopolous ianopolous released this 28 Feb 09:36
· 611 commits to master since this release

Peergos v0.15.0

Large performance improvements after switch to Nabu. 15x reduction in baseline bandwidth usage. Now ~12KB/s is typical. Also 60% less CPU usage. The size of peergos.js has also been halved by a bug fix in jpack!

Features:

  • Latex support in notes app
  • Latex support in markdown app
  • Support UTF-8 in text mimetype detection
  • Usage CLI for server operators
  • Authed usage call

Optimisations:

  • Don't query blockstore when calculating usage for users that haven't changed
  • Add local cbor block cache for S3 to make champ gets 10x faster
  • 2x less RAM and bandwidth usage in Kademlia
  • Huge reduction to kademlia routing table size by not adding non-server peers
  • Don't call identify or kademlia on incoming connections for peers we already know
  • Reduce baseline bandwidth usage from 1.5Mb/s to 0.1Mb/s by switching to a new bitswap protocol ID
  • Fix Jpack to halve size of compiled peergos.js (2.1 MB to 1.1 MB)

Fixes:

  • Handle S3 internal errors as rate limits
  • Correct usage update during migration to new node
  • Improve information for GC errors
  • Make GC tolerant to non existent blocks
  • Handle .apk mimetype
  • Treat http connection refused as a rate limit
  • Darkmode fix for sub pages in md viewer
  • Fix opening depth 2 sub-pages in md viewer

Published at https://peergos.net/public/peergos/releases

Release commit:
web-ui/ac4bba146e5faad4f98ab9ca1b5aebd330823667