Comments (3)
Hi @johndpope
To exclude some users that you don't care about you can link them to a criterion of exclusion. For example:
my_actor = Actor('mark', 'person')
exclusion_list = Object('excluded_persons', 'exclusion_list')
exclusion_activity = Activity('excluded', my_actor, exclusion_list)
my_manager.add_activity_feed(exclusion_activity)
But then you need to write your own aggregators that exclude persons that are part of the exclusion list.
Everything is managed by ES queries. Feeds are basically connections between entities so you can write queries to satisfy your needs. Have a look at the "unaggregated" aggregator so you can write a "Relevant" aggregator to separate users.
from elasticfeeds.
imagine the pool is hundreds of millions of users - like telegram. exclusion not going to scale. I just want to have feeds from a small circle of my friends (that I've approved) exactly like facebook. I had this working before in the above ruby on rails project. I might have to persevere with that one. thanks for your help.
If there was in interest to update the model - and re-implement in python
- what would it cost / how long would it take? send me a quote - [email protected]
here's social stream schema
https://github.com/ging/social_stream/wiki/Social-Stream-Base-database-schema
from elasticfeeds.
Well, with ES you can scale it to anything since is “fan-out on read”. If you follow a number of friends you can just say that "A" follows/is_friends_with "B". After a while, "A" will have 10,0000 friends so in a “fan-out on read” with ES you can write an aggregator to satisfy your needs and have scalable notifications in seconds.
from elasticfeeds.
Related Issues (8)
- support / example for basicauth
- Helpers to aggregate totals HOT 3
- Compatibility with opensearch HOT 3
- R&D - Syntax to create activity inside javascript
- sanity check on following / feeds by user / unpacking tests
- api helpers for introspecting graph - for exploration.
- Good tests for building out HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticfeeds.