Spread vs MPI vs zeromq?

MPI was deisgned tightly-coupled compute clusters with fast, reliable networks. Spread and ØMQ are designed for large distributed systems. If you’re designing a parallel scientific application, go with MPI, but if you are designing a persistent distributed system that needs to be resilient to faults and network instability, use one of the others. MPI has … Read more

How to send image via MMS in Android?

MMS is just a htttp-post request. You should perform the request using extra network feature : final ConnectivityManager connMgr = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); final int result = connMgr.startUsingNetworkFeature( ConnectivityManager.TYPE_MOBILE, Phone.FEATURE_ENABLE_MMS); If you get result with Phone.APN_REQUEST_STARTED value, you have to wait for proper state. Register BroadCastReciver and wait until Phone.APN_ALREADY_ACTIVE appears: final IntentFilter filter = new IntentFilter(); … Read more

Are Erlang/OTP messages reliable? Can messages be duplicated?

I’ll separate this into points I hope will make sense. I might be re-hashing a bit of what I have written in The Hitchhiker’s Guide to Concurrency. You might want to read that one to get details on the rationale behind the way message passing is done in Erlang. 1. Message transmission Message passing in … Read more

Messaging Confusion: Pub/Sub vs Multicast vs Fan Out

I’m confused by your choice of three terms to compare. Within RabbitMQ, Fanout and Direct are exchange types. Pub-Sub is a generic messaging pattern but not an exchange type. And you didn’t even mention the 3rd and most important Exchange type, namely Topic. In fact, you can implement Fanout behavior on a Topic exchange just … Read more

Difference between message bus and message broker

The message bus implies a common protocol spoken and understood by all participants. There is little to no logic in the bus. Usually the message is forwarded to all connected systems. The hub-and-spoke architecture (or “message broker”) has a central piece of software which understands the messages sent to it, can translate them, and forward … Read more

Java Messaging : Difference between ActiveMQ, Mule, ServiceMix and Camel

ActiveMQ is a message broker which implements the JMS API and supports a number of cross language clients and network protocols. It lets you implement queues or topics and write listeners or subscribers to respond to queue events. Mule and ServiceMix are open source ESB (enterprise service bus). An ESB has capabilities beyond JMS: queuing … Read more