Cyberpunk 2077 is already around us. Yesterday’s fiction is today’s reality. Smart devices, an ‘intelligent’ living environment, automation of manual labour and equipment control through time and space. Complete triumph of cybernetics, remote startup and control. Ray Bradbury, Arthur Clark and Stanislav Lem predicted what we now call the ‘Internet of Things’.
Technologies inspire business people, engineers, inventors and visionaries to invent new applications and products. New products require appropriate technologies. This article is about how a company named Ready For Sky implemented Tarantool in-memory DBMS in a smart home solution.
We make sm art household appliances. They can be controlled both locally with buttons and remotely via a mobile app or with voice. Smart devices can control each other without human interaction. For example, an air conditioner or floor heating turns on upon the action of a door opening sensor. We use Tarantool to make all this work quickly and securely.
There is a service implemented with Python3 and Tornado (let’s call it Forwarder). It receives requests from voice assistants supported by Yandex, Google, Mail.ru, MTS and others. It responds with appliance status: if the kettle has turned on or not, if the pressure-cooker has started the sequence or not, and so on.