Giter Club home page Giter Club logo

price-monitor's Introduction

Price Monitor [WIP]

Overview

The idea behind this experiment is to implement a scalable Price Monitoring solution using Scrapy, Kafka and Kafka Streams.

Basically, we want to scrape specific product data from multiple online retailers (like walmart.com, bestbuy.com, amazon.com, etc), send it to a Kafka topic using Avro serialization, and then a Kafka Streams application will be analyzing the incoming stream of products from multiple stores to identify the best price among all the retailers in a given time-window. For this example, we chose to analyze two retailers (walmart.com and bestbuy.com), for two consoles games: FIFA '20 and Kingdom Hearts.

Our solution will analyze the data on a daily basis because we are feeding the Kafka topic with data that was previously extracted daily, but you can choose the size of the time-window for any value that you want.

Below is an image showing the output from the monitoring tool: Image of Yaktocat

Project structure

Requirements

How to run

Kafka cluster

Talk about the Confluent Cloud platform (the easiest to go).

Kafka Streams application

Write about the application structure, configurations (window size, topics names, etc), possible aggregations that could be done, etc.

Scrapy (producer)

Write about the KafkaProducerPipeline which is responsible to produce the scraped items into a kafka topic and how to setup/execute the spider.

price-monitor's People

Contributors

renancunha avatar

Watchers

James Cloos avatar  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.