Networked message queues like
ActiveMQ, RabbitMQ, ZeroMQ, and a
host of other Java inspired software
tumors are crutches of systems design.
— Ted Dziuba, http://widgetsandshit.com/teddziuba/2011/02/the-case-
against-queues.html
Slide 20
Slide 20 text
"The Blocking Consumer"
Slide 21
Slide 21 text
"Collecting Data for
Offline Processing"
Slide 22
Slide 22 text
"Everybody Loves System
Complexity"
Slide 23
Slide 23 text
There are only two hard problems in
distributed systems:
2. Exactly-once delivery
1. Guaranteed order of messages
2. Exactly-once delivery
— Mathias Verraes, https://twitter.com/mathiasverraes/status/
632260618599403520
Slide 24
Slide 24 text
Order
Als wäre nur eine Instanz involviert
http://book.mixu.net/distsys/time.html
Gut
Löst alle Probleme für Java Apps
Multi-Master HA
Schnell
Slide 47
Slide 47 text
Weniger gut
Wenige Anwender der Queue-
Komponente
Bugs bei IP / DNS Änderungen
Stop-the-World Upgrades
Slide 48
Slide 48 text
Currently our action is to create
bug for these scenarios and try to
ensure exactly-once.
— Enes Akar, https://groups.google.com/forum/#!msg/hazelcast/
u_KLHVnvT_U/Qx5Km8COk_oJ
In the event of network failure
(or a node crashing), messages
can be duplicated, and consumers
must be prepared to handle them.
— https://www.rabbitmq.com/reliability.html
Slide 53
Slide 53 text
No content
Slide 54
Slide 54 text
[...] no one try to use N Redis
independent nodes and the
offered primitives as a building
block for a distributed system [...]
— Salvatore Sanfilippo, http://antirez.com/news/78
Slide 55
Slide 55 text
Disque is a distributed message
broker
— https://github.com/antirez/disque
Slide 56
Slide 56 text
Gut
Dokumentation
Fokus auf Queue
Multi-Master HA
Konfigurierbare ACK
Ähnlich Redis
Slide 57
Slide 57 text
Client: Spinach
"A scalable Java Disque client"
basierend auf Lettuce: "A scalable Java
Redis client"
Slide 58
Slide 58 text
Mark Paluch
https://github.com/mp911de
Slide 59
Slide 59 text
!
Kinderkrankheiten
Slide 60
Slide 60 text
Aktuelle Konfiguration
Pro Nachricht
Replikations-Faktor: 1
Retry-Time: 0
Keine Persistenz
Slide 61
Slide 61 text
Aktuelle Verwendung
Verrechnung seit 07/2015
Bald voller Ersatz für ActiveMQ?
Slide 62
Slide 62 text
WARNING: This is beta code and
may not be suitable for
production usage.
— https://github.com/antirez/disque