The project of redesigning the core event bus of the Allegro auction platform showed us a lot of issues with distributed systems on all the levels from network to data serialization.
How to assure our clients that not even a single event is lost?
How to respond in less than 65ms even if Kafka is rebuilding its cluster?
...And many other.
3. @DebskiChris Kraków, 19.05.2015, Atmosphere
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Distributed environment
4. @DebskiChris Kraków, 19.05.2015, Atmosphere
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Service
Domain
Domain
Domain
Distributed environment
16. @DebskiChris Kraków, 19.05.2015, Atmosphere
Acknowledges
0 - don’t wait for response from broker
1 - only leader needs to respond
-1 - all replicas in sync
Speed
Safety
17. @DebskiChris Kraków, 19.05.2015, Atmosphere
Events security
Basically, there is no authentication
You can create any topic
You can publish everywhere
You can subscribe to any topic
35. @DebskiChris Kraków, 19.05.2015, Atmosphere
Security
Authentication and authorization interfaces
You can create any topic in your group
You can publish everywhere
Group owner defines subscriptions
43. @DebskiChris Kraków, 19.05.2015, Atmosphere
Tradeoffs
You cannot have exactly one delivery
http://bravenewgeek.com/you-cannot-have-exactly-once-delivery/