Categories: None [Edit]

ephemeron

https://rubygems.org/gems/ephemeron
Ephemeron improves the performance of your app. It takes on itself the persistence of the ActiveRecord objects. It protects you from saving the same object many times. It checks whether a fetched from a database object was used. It allows you to eliminate the controller's before_actions that are unnecessarily called. Ephemeron works in the context of the thread and does the bulk of its job (i.a. persistence) at the end of the thread's lifecycle. Although, you can trigger the finalization at any given moment. You don't have to make a distinction in the code for the part that is responsible for the domain logic and the other responsible for the application layers.

Total

Ranking: 77,808 of 180,418
Downloads: 10,279

Daily

Ranking: 37,677 of 180,402
Downloads: 8

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13871,441,302rspec-mocks
42513,790,016rails
68413,006,059rubocop
218144,316,100rubocop-rails
238132,329,238sqlite3
3,1293,115,980jb

Owners

#GravatarHandle
1iconzbigh