Even though smart city technologies address various verticals and use different platforms to gather, analyze and transfer data, they all have one thing in common — heavy duty data volume. A dynamic habitat such as a modern city generates a substantial amount of data on a daily basis.
GreenQ is a company engaging in smart residential waste collection, by installing hardware on waste collection trucks without installing sensors on the bins. With every lift of a waste bin, the sensors on the truck measure the amount of garbage inside the container (bin capacity) and monitor the time and location of the pick-up.
Data is analyzed and transformed — in real-time — into recommendations for process optimization, utterly based on what has been “learned” from the collection procedure. You might call it IoT waste management, GreenQ calls it IoG — Internet of Garbage.
While the young, smart waste management company started serving more and more clients, the volume of the data increased, and the computing power they needed grew, too, up to the point where they needed to maintain the servers frequently to make sure their customers are getting current valuable information based on the most up-to-date local waste production status.
The question GreenQ’s developers had to answer was about the most efficient way to use their platform, especially during the drastic increase in data volume, as well as maintaining the same (or better) level of service to their clients.
Since their smart city waste management technology is set to send information to the server on different timings (only when the truck lifts a trash can), it seemed reasonable to use a service that can handle temporary high data rates while also not costing too much during idle times.
They realized that the answer for scalability and variable computing power demands could be found in OpenWhisk, an on-demand serverless platform. Instead of spending valuable time on designing and maintaining multi-servers scalable architecture OpenWhisk will handle it all for them.
OpenWhisk provides GreenQ with the best due to the application execution logic, developer tools, and modulation.
For example, each lift of a waste bin by the truck is considered as an event (trigger) sending data to the core of the system. In response, this data is being analyzed and inserted into the database (action). OpenWhisk provides a programming environment supported by a REST API-based Command Line Interface (CLI) along with tools to support packaging and handful catalog services.
The following illustrates the entire architecture of GreenQ’s solution leveraging OpenWhisk:
The whole solution is based on a device which collects information regarding every waste bin pickup. The information which is being collected includes time, location and bin capacity. The raw data regarding every pickup encapsulated in a file which is transmitted via sFTP to Bluemix while the truck’s location and status shall be forwarded using MQTT to Watson IoT platform.
Every file and every MQTT message being uploaded to Bluemix trigger OpenWhisk actions, for instance, to insert information into a MySQL database and to start ongoing monitoring algorithms that create alerts.
The analyzed information regarding the waste collection stored in the database, while every API call or UI access triggers an action fetching the relevant data from the database, analyzing it and making the information available via an API or UI.
To conclude, smart city solutions that must maintain a high level of service to their clients, profit more from the unique approach of OpenWhisk. An intelligent waste collection provider such as GreenQ can now be sure that they are working in smarter and more efficient way without having to handle scalability and computing power issues.
730 Arizona Ave, Santa Monica, CA 90401
Tel: +1 740 287-4987
R&D Center: building 4.5, Hi-Tech village, Edmond J. Safra campus, The Hebrew University, Jerusalem 9139002