Advertisement · 728 × 90
#
Hashtag
#ActiveJob
Advertisement · 728 × 90
Preview
Need advice on Solid Queue's memory usage · Issue #330 · rails/solid_queue Ruby: 3.3.4 Rails: 7.2.1 Solid Queue: 0.7.0, 0.8.2 I run a Rails App on AWS EC2 instance with 1G of memory. I notice the solid queue process takes up 15-20% of the instance's memory, which becomes ...

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

0 0 0 0
Preview
Is an active job and walking sufficient for staying healthy? 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 lo…

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

0 0 0 0
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
}

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

0 0 1 0