Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Bob Haugen
@bhaugen  ·  activity timestamp 2 years ago

#bonfire_feedback

Seems snappier today. What did you do to speed it up?
(Or am I dreaming...?)

  • Copy link
  • Flag this post
  • Block
Mayel
@mayel responded  ·  activity timestamp 2 years ago

We've been optimising and tweaking various things... Some of the last things we tried involve some technicalities of LiveView and OTP, we've added some ENV variables for instances to be able to tweak, and set some default values that seem to make sense so far:

  • LV_TIMEOUT: 42 seconds. The timeout for keeping websocket connections open after it last received data.
  • LV_HIBERNATE_AFTER: 7 seconds. The time of inactivity allowed in the LiveView before compressing its own memory and state.
  • LV_FULLSWEEP_AFTER: 20. The maximum number of garbage collections before forcing a fullsweep for the socket process. You can set it to 0 to force more frequent clean-ups of your websocket transport processes.
  • Copy link
  • Flag this comment
  • Block
Log in Create account

Bonfire social

This is a bonfire demo instance for testing purposes

campground.bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.20 no JS en
Federation disabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login Signup