Functioning of real-time analytics in business