A scalable and elastic cloud-assisted publish/subscribe model for IPTV video surveillance system