Difference between Apache Thrift and ZeroMQ

They belong to different categories primarily because they are targetted at different audiences with different concerns. Therefore they are better at different things. Apache Thrift similar to Google Protocol Buffers is intended to be high-level, reasonably well abstracted means to send data between processes on different machines, possibly in different languages. They purposefully provide an … Read more

Middleware & SOA by Example

SOA main principles: Build systems as set of services where each service is Coarse-grained Interoperable Loosely coupled A company offers a lot of business services (coarse-grained) developed over many years and exposed to the users (human or other systems) in some form. There are more chances that each of these features have been designed and … Read more

Message broker vs. MOM (Message-Oriented Middleware)

An overview – A protocol – A set of rules. AMQP – AMQP is an open internet protocol for reliably sending and receiving messages. MOM (message-oriented-middleware) – is an approach, an architecture for distributed system i.e. a middle layer for the whole distributed system, where there’s lot of internal communication (a component is querying data, … Read more

How can I check whether a RabbitMQ message queue exists or not?

Don’t bother checking. queue.declare is an idempotent operation. So, if you run it once, twice, N times, the result will still be the same. If you want to ensure that the queue exists, just declare it before using it. Make sure you declare it with the same durability, exclusivity, auto-deleted-ness every time, otherwise you’ll get … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)