Better HN
topnewbestaskshowjobs
Log inSign up

sustrik

17 karma · joined Mar 31, 2010 (16y ago) · 13 submissions

Submissions

comment 11y ago · link · parent

maybe that's the solution to the suburbia problem. move the people downtown and let the suburbs rot off.

comment 15y ago · link · parent

Giants protecting minnows? Reminds me of middle ages. You swear allegiance to the local lord which in turn protects you from other lords.

3.

Patents Considered Evil(ipocracy.com ↗)

4 points · by sustrik · 15y ago · discuss

comment 15y ago · link · parent

One thing to keep in mind is that 'multithreading magic' article was written when 0MQ was viewed to be equivalent to other MQ systems. The idea of using 0MQ for building multi-threaded apps was really surprising and non-obvious for a lot of people back then.

So, the article focuses on 0MQ =/= SomeGenericMQ and doesn't stress the 0MQ =/= Erlang point of view.

comment 15y ago · link · parent

There's a new functionality in dev version (3.0) that allows for dissemination of subscriptions across the network. The whitepaper is here: http://www.250bpm.com/pubsub

comment 16y ago · link · parent

Not really. Compare 0MQ's wire protocol:

http://rfc.zeromq.org/spec:2

and STOMP:

http://stomp.codehaus.org/Protocol

comment 16y ago · link · parent

Did existence of TCP discouraged people to write their own implementation of OSI layer 4? Not really. But those who do so are a small -- i mean really small -- minority.

comment 16y ago · link · parent

Speaking of AMQP/RabbitMQ there's an integration project here: http://github.com/rabbitmq/rmq-0mq. The idea is that you can use RabbitMQ as a broker for 0MQ networks.

comment 16y ago · link · parent

0MQ is built on good old principles the Internet stack (TCP, IP) is based upon. Thus is has tx/rx buffers. It doesn't even try to do fire-and-forget, because -- as you correctly say -- it's an leaky abstraction. Instead it aims for end-to-end reliability. And yes, moving it into kernel would make it somehow more reliable. Watch for my talk at Linux Kongress (eeptember 23rd) which deals with moving the functionality into kernel, standardisation and integration with Internet stack.

comment 16y ago · link · parent

That's the nature of networking. You can never differentiate between "network error" and "no response received". TCP in no better. You'll have accept that or keep with a single box.

comment 16y ago · link · parent

That's the point. Single 0MQ socket is able to communicate with multiple peers.

comment 16y ago · link · parent

There's no SPOF unless you create one. So the sentence should be more correct this way "ZeroMQ follows a brokerless design so that doesn't enforce single point of failure."

comment 16y ago · link · parent

As for the wire protocol, there are two parts to it:

Simple framing is described here:

http://api.zeromq.org/zmq_tcp.html

Extension of the framing for multicast:

http://api.zeromq.org/zmq_pgm.html