SolidQueue, the default ActiveJob's adapter in Rails, is very cool. But there is a catch - it needs 1Gb RAM to make all things out of the box working fine. That means it's not good for Heroku default Dynos. Surprise - github.com/rails/solid_...
#rails #solidqueue #activejob #heroku
Getting out there and staying active with walking or your daily job can really help you live a healthier life. However, on their own, they might not be enough to give you all the benefits you’re looking for.
Full article➡️ victordominic.com/is-an-active...
#walking #activejob #health #longevity
require 'sidekiq/api' queue_name = 'low' queue = Sidekiq::Queue.new(queue_name) queue.each_with_object(Hash.new(0)) do |item, memo| memo[item['wrapped']] += 1 puts memo end { "ArtifactIndexerJob" => 817, "FieldJob" => 183, "WebhookJob" => 19435, "EmbeddingsJob" => 122, "UpdaterJob" => 526280, "EventCacheWarmupJob" => 140 }
Counting how many items the queue has per #Sidekiq Job.
#ActiveJob #Rails