Using rspec - How can I assert a variable to be an instance of a class? When I do "expect(msg_factory.from_hash(valid_message)).to be be_an_instance_of(Messaging::Message)" I get "-(be an instance of Messaging::Message)\n+#<Messaging::Message:0x0055944c7fa518>"
I need to create a service that listens to all events from a message broker and records statistics for me to query time frames etc for example PaymentWasMade would record payments_made++ or ApplicationSubmitted would record applicants_submitted++ what would be the best database of choice to query it all fast?
apeiros a k/v store wouldn't allow me to filter on dates, I've found statsd which looks promising
Papierkorb I've found a database Grahpite which statsd uses, might look promising :)