dani7b / rtwup Goto Github PK
View Code? Open in Web Editor NEWRealtime Twitter Users' Profiles
Realtime Twitter Users' Profiles
e.g. I'd like something like this:
...
(using port X, etc... )...
when fixed, move the logic to ExpanderBolt
required queries should include following parameters from
Twitter API:
Useful documentation passage about OR combination of different query parameters:
The track, follow, and locations fields should be considered to be combined with an OR operator. track=foo&follow=1234 returns Tweets matching "foo" OR created by user 1234.
This determines that, if needed, AND query semantics should be dealt with inside the Topology.
in ExpanderBolt
, create a new variable when calling connection.getURL()
.
This prototype tracks twitter filtered stream and provides a realtime view of active users in a specific time window.
Moreover, includes a dedicated Bolt that writes user profiles to a Profile Repository.
The system tracks the number of unique users during time windows of predefined size.
It's implemented making use of Redis commands.
It follows the same pattern used until now.
Keys in redis can be something like this:
Hour (?)
2013-09-30_13:00CET ...
Day
2013-09-30 1 2 3 4
2013-10-10 1 2 3 4 5 6
Month
2013-09 1 2 3 4
2013-10 1 2 3 4 5 6
.settings
.classpath
.project
using a library developed by Cybion
Without doing things like this:
this.pool = new JedisPool(new JedisPoolConfig(), "localhost");
In this way, all configurations are set and passed in at topology construction time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.