Giter Club home page Giter Club logo

twmappart2's Introduction

twMapPart2

###About Code: SNS.java: provide static methods to use SNS.
SNSServlet.java: Servlet for processing the POST request from SNS which contains sentiment evaluation result.
SentimentLoader.java: Servlet. It returns sentiment data in JSON when getting GET requests.

###TODO:

  • Get the ip of the server and subscribe automatically
  • Filter the sentiment data when retrieving from db
  • Better display sentiment data

Assignment Objectives: ●Use the Amazon SQS service to create a processing queue for the Tweets that are delivered by the Twitter Streaming API
●Use Amazon SNS service to update the status processing on each tweet so the UI can refresh.
●Integrate a third party cloud service API into the Tweet processing flow.

For this assignment you will develop an application that:
●Reads a stream of tweets from the Twitter Live API (Code provided). Note: you might follow a specific topic on the API or get the complete stream
●Records the tweet ID, time, and other relevant elements into a DB (SQL or NoSQL) (2)
●After the tweet is recorded in the DB send a message to the Queue for Asynchronous processing on the text of the tweet (3)
●Presents the Tweet in a map that is being updated in Near Real Time (Consider evaluating WebSockets, or Server Side Events for your implementation)
●The map clusters tweets as to show where is people tweeting the most, according to the sample tweets you get from the streaming API.
●Define a worker pool that will pick up messages from the queue to process. These workers should each run on a separate pool thread.
●Make a call to the sentiment API off your preference (e.g. Alchemy). This can return a positive or negative sentiment evaluation for the text of the submitted Tweet. (4)
●As soon as the tweet is processed send a notification -using SNS- to an HTTP endpoint that will update the UI with the new information about the Tweet. (5)
●Using this information your application should display the Tweet clusters and the overall sentiment. (6)

twmappart2's People

Contributors

markx avatar cow12331 avatar wuyounger 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.