Skip to content

sjha4/Identification-and-Analysis-of-popular-trends-around-the-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team 8 Project

Developers:

Code Structure:

Dependencies for Producer and Consumer Scripts:

  • textblob
  • boto3
  • praw
  • TwitterAPI

Please install these dependencies on the machine running the consumer and producer code.

To run producer scripts, please run the following files:

To run the consumer scripts, please run the following files on two nodes:

To run the Lambda Functions, please follow the following procedure:

  • Hourly Lambda:
    • Create Lambda Canary Function on AWS Lambda
    • Add CloudWatch Event with time = 1 hour to the Lambda in the Configuration.
    • Add code from the Hourly Lambda File to the lambda function.
    • Update the environment variable for AWS Key and Secret.
    • Enable the CloudWatch Trigger.
  • Minute Lambda:
    • Create Lambda Canary Function on AWS Lambda
    • Add CloudWatch Event with time = 1 minute to the Lambda in the Configuration.
    • Add code from the Minute Lambda File to the lambda function.
    • Update the environment variable for AWS Key and Secret.
    • Enable the CloudWatch Trigger.
  • 5 Minute Lambda:
    • Create Lambda Canary Function on AWS Lambda
    • Add CloudWatch Event with time = 5 minute to the Lambda in the Configuration.
    • Add code from the 5 Minute Lambda File to the lambda function.
    • Update the environment variable for AWS Key and Secret.
    • Enable the CloudWatch Trigger.

AKKA Server & Heroku:

System Architecture:

System Architecture

About

Twitter Stream Processing using Amazon Kinesis Web Services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published