Internet of things paints a vivid picture of a possible reality that is both fascinating and imposing. However, few talk about the sensing and decision making infrastructure--the brain--that must be present with those devices. Underline decision framework needs to collect data, analyze them, compare and contrast with all data, and draw conclusions and arrive at decisions before humans at the other end notice the lag. In talk will start with IoT reference architecture and will discuss Complex Event Processing (CEP) coupled with Lambda architecture as a underline decision framework for underline IoT scenario while drawing examples from several real-world scenarios. You will learn about design choices in building an IoT architecture, CEP, Hive, and Lambda architecture. Topics to be covered: The relationship between IoT and data, big data, and real-time analytics Design choices in building an IoT architecture, CEP, Hive, and Lambda architecture