Skip to content

v0.4.0

Compare
Choose a tag to compare
@tillkruss tillkruss released this 08 Jun 23:47
· 97 commits to main since this release
dd86e9c

This release is a massive architectural rewrite with hundreds of internal changes. To make Relay more resilient and even faster, the server-side worker thread was removed in favor of serverless approach and per-connection invalidations with partially-shared in-memory caches. Additionally, unlicensed binaries will now run at full memory capacity for an hour before gracefully scaling down to the default limit.

Added

  • Added pexpire() and pexpireat() methods
  • Added _pack() and _unpack() helpers
  • Added pconnect(), close() and pclose()

Changed

  • Updated relay.ini stub to match new architecture
  • Added $connectionId parameter to flushMemory()
  • socketKey() is now called endpointId()
  • Switched to xxHash rather than dbj2 and fnv1a
  • Use asynchronous DNS resolution

Removed

  • Removed socketId() method
  • libev dependency is no longer required