actionhero / node-resque

Node.js Background jobs backed by redis.
https://node-resque.actionherojs.com
Apache License 2.0
1.37k stars 151 forks source link

Compatibility with Resque implementation in other languages #290

Closed snipebin closed 5 years ago

snipebin commented 5 years ago

Hi there,

I currently have Resque server, along with Resque queuing and workers both using PHP Resque, which is compatible with the original Ruby Resque lib.

Is this node implementation compatible? Meaning, if I queue jobs with PHP Resque, can I process them with Node workers and vice-versa?

I did find https://github.com/taskrabbit/node-resque/issues/96 but I wanted to confirm.

Thanks in advance!

evantahler commented 5 years ago

I’ve tested node-resque with the ruby implementation, but never the PHP version... so... probably?

Let us know how it goes!

evantahler commented 5 years ago

Closing due to inactivity

glensc commented 4 years ago

php-resque works as a client, however:

  1. if you pass arguments as list (foo,bar,baz), not map (key=value, key=value), php-resque adds such array as array in array, which you need to decompose on your node side:
  2. php resque has it's own status handling: