Still, I'm not sure if this is the best implementation, I'm not even
using queue.bind() method here. The problem arises when I try to pass
a complex object (json or even a simple array). Changing this line
body= (["a","b","c"])#str(response)) causes the following error:
Traceback (most recent call last):
File "test.py", line 56, in <module>
blocking_connection.py", line 293, in start_consuming
File "/Library/Python/2.7/site-packages/pika/simplebuffer.py", line
62, in write
TypeError: must be string or read-only character buffer, not list
But that I will check in some python list. If someone has any comment
On Apr 27, 3:39 pm, Micheil Smith <mich...@brandedcode.com> wrote:
> I wouldn't be using redis for this, definitely would use either zmq, rabbitmq,
> or thrift. Purely because it's kinda hard to scale redis' pub/sub stuff, and
> can be a SPOF.
> – Micheil
> On 26/04/2012, at 5:08 PM, Bika wrote:
> > I've read about a similar problem here , they basically write from node to Redis, and use Redis' pub/sub to broadcast the changes to django.
> > :http://lincolnloop.com/blog/2012/apr/23/ginger-tech-stack/ >
> > 2012. április 25., szerda 15:15:35 UTC+2 időpontban Cassio Melo a következőt írta:
> > I'm beginning with websockets and I'm confused with the number
> > libraries and configuration options. I just want to setup a project
> > where a node.js server calls a method in python/django and when the
> > last has finished, it transfers the result back to the node.js
> > server.
> > I'm not sure which is the best way of doing that (supposing the method
> > to be executed in django takes some time to finish). I see two
> > possibilities:
> > - node.js send async http requests to django server
> > - node.js communicates with django using AMQP
> > Can you give your view about it?
> > --
> > Job Board:http://jobs.nodejs.org/ > > Posting guidelines:https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > > You received this message because you are subscribed to the Google
> > Groups "nodejs" group.
> > To post to this group, send email to nod...@googlegroups.com > > To unsubscribe from this group, send email to
> > nodejs+un...@googlegroups.com > > For more options, visit this group at