This document discusses the Web of Things (WoT) and how it can provide a uniform interface to access functionality from the Internet of Things (IoT). The WoT applies concepts from the Web, such as standardized APIs and protocols like HTTP and WebSocket, to accelerate innovation in the IoT space. WebSocket in particular provides full-duplex communication capabilities that are more suitable for real-time event-driven communication compared to HTTP request/response. The document also presents architectures for event gateways that can connect IoT devices and scale to support large numbers of devices and data flows.