Questions tagged [que]

Que is a postgres-based background worker library for Ruby.

Que is a background worker library for Ruby. Que is a high-performance alternative to DelayedJob or QueueClassic that improves the reliability of your application by protecting your jobs with the same ACID guarantees as the rest of your data.

https://github.com/chanks/que

23 questions
0
votes
3 answers

Understanding asynchronous function calls

I'm just beginning to learn about asynchronous JavaScript so I'm not sure if this is a silly question, but I could not find an answer to it directly. In the examples of asynchronous JS I've seen the asynchronous logic is always called after the…
0
votes
2 answers

Changing routes after adding admin functionality with devise

This question is going to be somewhat convoluted because I am new to RoR but got thrown into a relatively large RoR project for my class. For that, I apologize, but I'll do my best to be clear. I readily admit we may be doing this horribly wrong, to…
JustJason
  • 1
  • 1
0
votes
1 answer

Is que safe for writing jobs that handle a lot of data?

I am using Que with the Sequel gem, I am interested if it is safe to write jobs that need to handle a lot of data, too much data than what can be safely placed in 1 database transaction, such as import/export of 80k+ rows on a regular basis (I…
bbozo
  • 7,075
  • 3
  • 30
  • 56
0
votes
1 answer

How to trace Que jobs in newrelic?

I want to run my script in a cron job. This script creates multiple Que jobs that do the hard work. How can I trace the activity of each job in new relic? I have read this post…
user62632
  • 1
  • 1
0
votes
0 answers

using Que as a heroku worker

I am using https://github.com/chanks/que I am having problem setting up que in heroku. I have setup web and worker process in heroku and I have these configurations: config/initializers/que.rb Que.wake_interval = 10.seconds # Que.mode =…
przbadu
  • 5,769
  • 5
  • 42
  • 67
0
votes
1 answer

Errors executing jobs with background job manager gem called Que

I'm writing an Rails 4.2.0 application where I need to deliver emails. I've been advised Que gem for managing background jobs. I've done everything as in installation and usage is listed here. Also I've specified in application.rb these lines: #…
zmii
  • 4,123
  • 3
  • 40
  • 64
-1
votes
3 answers

Can someone please explain what the line for(;Q.size();) does?

I am trying to understand a source code and i cannot figure out how the line for(;Q.size();) is meant to work. Could someone please simplify it for me ?
Alina
  • 21
-1
votes
1 answer

How do I remove 1-pixel edge on right side of my page?

I'm having a difficult time isolating a 1-pixel edge that appears on the right-hand side of my site. It happens at different window sizes on Chrome and Safari, and I can't seem to figure out what's causing it, or whether it's actually something…
1
2