Questions tagged [sneakers]

Used for tagging questions related to the background processing framework for Ruby, based on RabbitMQ.

A high-performance RabbitMQ background processing framework for Ruby.

It uses a hybrid process-thread model where many processes are spawned (like Unicorn) and many threads are used per process (like Puma), so all your cores max out and you have best of both worlds.

For more details, see the Wiki.

25 questions
0
votes
1 answer

Is it possible that we can run sneakers along with web server?

I can use rake sneakers:run it work perfect. but can I run sneakers along with web server without running separate command (rake sneakers:run)
0
votes
0 answers

Viewpager View getting blank

I am using sneaker for error display message, and I am using Viewpager with views rather then fragment. Problem is whenever i show a Sneaker for error or something my whole view gets blank. I tried toast message for the same this problem does not…
Siddhesh Pawar
  • 259
  • 4
  • 24
0
votes
1 answer

RabbitMQ + Sneakers: one worker or 100?

Let's say that I need to do complex calculations for 100 users. My current configuration looks like this: producer class Producer class << self def publish(target, options = {}) connection = Bunny.new(some_params).start channel …
taras
  • 1,239
  • 1
  • 10
  • 16
0
votes
0 answers

Configuration issue with rabbitMQ and sneakers

I have two applications sap1 and sap2 and i have been using rabbitMQ (bunny gem) for messaging, so that is working like from sap1 i will create the message and publish sap1 (publisher app) Gemfile ruby 1.9.3 gem 'bunny', '~> 1.7', '>=…
Developer
  • 561
  • 7
  • 29
0
votes
1 answer

deploy sneakers on heroku, exit with status 0

Trying to deploy sneakers on heroku, while I make a worker in my Procfile : sneakers: bundle exec rake sneakers:run and this is my senakers.rb file require 'sneakers/metrics/newrelic_metrics' Sneakers.configure heartbeat: 2, …
0
votes
0 answers

Ruby clockwork for one-time jobs?

I was thinking about using sneakers as my ActiveJob backend. Unfortunately it does not support delayed messages. But since we're going to use clockwork anyway: is there any mechanism to schedule one-off jobs with clockwork? I assume that it would…
Marcus Ilgner
  • 6,935
  • 2
  • 30
  • 44
0
votes
0 answers

RabbitMQ not sending messages to consumer with round robin

I have a Ruby app that acts as producer, something like this: class PostNotificationService class << self def call(notification) queue = channel.queue('adyen_notifications', auto_delete: false) exchanger =…
Luiz E.
  • 6,769
  • 10
  • 58
  • 98
0
votes
1 answer

RabbitMQ keeps stacking unacked messages although they are rejected or acknowledged

My Ruby code below processes RabbitMQ events. I'm using Bunny for Ruby and the sneakers gem. Although I think I'm acting on all possible events, the local channels are getting stacked with unacked messages. This happens every time the log says…
Tom
  • 9,275
  • 25
  • 89
  • 147
-1
votes
1 answer

main.py: error: the following arguments are required

So i want to automatically buy a shoe from nike but i get thies error: usage: main.py [-h] [--login_time LOGIN_TIME] [--release_time RELEASE_TIME] [--screenshot_path SCREENSHOT_PATH] [--html_path HTML_PATH] [--page_load_timeout PAGE_LOAD_TIMEOUT]…
Noam
  • 1
  • 2
-2
votes
2 answers

Scraping the shoe sizes with bs4

I am trying to scrape the shoes sizes of this shoe.https://www.mirapodo.de/tommy-hilfiger-gummistiefel-cognac-4545847.html. How can i scrape the value.
1
2