[zeromq-dev] Can ZeroMQ clients function within a single thread only?

Seref Arikan serefarikan at gmail.com
Mon Feb 18 13:09:35 CET 2013


Thanks Pieter.

I am working with plpython which lets me use python (and its wrappers for
native code) for functions, but I could do it all in C if push comes to
shove.
I've been asking about the thread limit to postgresql lists, since all I
have been seeing is "it is very bad, don't do it" in other messages. Will
certainly share my findings when I get some response from the postgres
community.
I'll give it a try, it is just that seeing the warnings, I did not want to
build something that is not guaranteed to work in a stable way. Let me
build a simple example and test it, let's see what happens.

Many thanks for your response.

Regards
Seref



On Mon, Feb 18, 2013 at 11:42 AM, Pieter Hintjens <ph at imatix.com> wrote:

> On Mon, Feb 18, 2013 at 11:51 AM, Seref Arikan <serefarikan at gmail.com>
> wrote:
>
> > Gmail surely does not like me today! Before I humiliate myself further:
> > This is a function that is plugged into postgresql execution, which has
> to
> > be single threaded. I have an opportunity at hand to do some parallel
> > processing, but I can't create any threads. Hence, my attempts to use
> > ZeroMQ.
>
> A few questions:
>
> 1. What language are you working in?
> 2. Can you point me to some reference material that explains this
> 1-thread limit?
> 3. Have you tried a simple Hello World using ZeroMQ? Did it fail?
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130218/e23e1326/attachment.html>


More information about the zeromq-dev mailing list