Building a Service-oriented Architecture with Rails and Kafka
01-Feb-2019 2535
Suppose you want to know more information about how your users are engaged on your platform: the pages they visit, the buttons they click, and so on. A sufficiently popular app could produce billions of events, and sending such a high volume of data to an analytics service could be challenging, to say the least.Enter Kafka, an integral piece for web applications that require real-time data flow. Kafka provides fault-tolerant communication between producers, which generate events, and consumers, which read those events. There can be multiple producers and consumers in any single app. In Kafka, every event is persisted for a configured length of time, so multiple consumers can read the same event over and over. A Kafka cluster is comprised of several brokers, which is just a fancy name for any instance running Kafka.
Building a Service-oriented Architecture with Rails and Kafka #ruby #rubydeveloper #rubyonrails #Building #Service-oriented #Architecture #Rails #Kafka #architecture #service-oriented https://rubyonrails.ba/link/building-a-service-oriented-architecture-with-rails-and-kafka