igorkasyanchuk/rails_performance

Feature Request - Handle logging on another thread

Open

#67 opened on Dec 1, 2023

 (1 comment) (0 reactions) (0 assignees)Ruby (91 forks)github user discovery
help wanted

Repository metrics

Stars
 (1,237 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Would it make sense to wrap the rails_performance notification subscriber code branch with a Thread or Concurrent::Future so it can handle the payload prepearing redis writing on another thread?

Do you have any statistics on how much overhead of this gem on production, as in milliseconds or memory usage?

Contributor guide