Resource Calculator for PubSub+ Software Event Brokers