Coder Social home page Coder Social logo

streaming-05-smart-smoker's Introduction

streaming-05-smart-smoker

By: Gabbs Albrecht, 02/21/2023

Intro & Operation

This program is designed to simulate a smart smoker system to moniter real-time events within the smoker. The system is designed around one RabbitMQ producer processing the temperature data and pushing it to three seperate consumers: One for smoker temp, and two for two diffeent foods. Significant events that throw an alarm are when smoker temperature drops by greater than 15 degrees in 2.5 minutes, and when food temperature does not change by more than one degree for 10 minutes. Temperature readings will be taken every thirty seconds.

To operate this program, the producer will first have to be started, followed by all three of the consumers.

The Producer

Currently I have the program set up to read a .csv file and process the information contained into three seperate messages. You will then see the periodic updates given by the console as each of the messages push to their queues. Currently the time between updates is 30 seconds(simulating a temperature reading every 30 seconds. Three separate queues currently exist, one for each of the temperatures we are tracking.

The Consumers

There are three consumers packed in this program, one monitoring each of the queues established by the producer. Upon receiving the messages they will attempt to read the temperatures given. If temperatures are received, they will be pushed to our time window, and will be cjhecked to see if they meet either of the significant events(sudden drop by 15 or more degrees in smoker temperature over 2.5 minutes, or stall of temperature of food over 10 minutes)

Screenshots

My screenshot Above we can see the producer and all three consumers working concurrently. My screenshot The RabbitMQ server overview is pictured above. This gives us a great view of our processies unfolding in real time. My screenshot This screenshot displays the queue view of our RabbitMQ admin page

streaming-05-smart-smoker's People

Contributors

theg6284 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.