Comments (6)
Hi @gelinger777, do you have an appID? It's hard to do any investigation based on this info alone.
from stream-laravel.
@JimmyPettersson85 AppID is 1244128
from stream-laravel.
Hi! The bulk of your updates (> 1000) comes from unfollowing feeds which is a heavy write operation on our end and "costs" 25 updates per unfollow.
The number of feed updates depends on how many activities you publish via the API and the number of users who follow those feeds. If you add an activity to a feed that is followed by 50 other feeds, this will trigger 51 feed updates. The only exception is unfollows. The unfollow operation is very heavy on our infrastructure and an additional 25 feed updates are billed for every unfollow operation.
https://support.getstream.io/hc/en-us/articles/360041929653-What-constitutes-an-update-Feeds
from stream-laravel.
@JimmyPettersson85 I made only like 20 follow/unfollow operations. With one single user as "doer" .
No other user was following the user who was performing the action. No other user was following another user. I have just installed your example.
from stream-laravel.
Right now I have in my config following setup
'news_feeds' => [
'timeline' => 'timeline',
'timeline_aggregated' => 'timeline_aggregated',
'event'=>'event',
'venue'=>'venue',
]
Right now we have following feeds in the Feed Group Sections
From what I understand from Logs, each time I click on Follow or Unfollow , laravel sends Follow and Unfollow on all Feed Groups in the config section. Then it makes sence the quantities I experience.
Maybe would be better if I explain what we want to achieve and you give some advise.
We have user profiles ,artist profiles , events page in our app. An ordinary user can follow those pages, and have a newfeed. In the newfeed we would like to Show upcoming events which friends(read followed users by this particular user) have saved in their event list.
So I guess we have to change the config to be
'news_feeds' => [
'timeline' => 'timeline',
'timeline_aggregated' => 'timeline_aggregated',
]
So USER 1 follow User 2 on timeline in timeline_aggregated ?
Then what to do with Events ?
USER 2 follows Event 3
User 2 Follows Event 4
Then Event 3 and 4 will show up in newfeed aggregated?
Sorry I am a bit confused with how the whole should work .
from stream-laravel.
Hey @gelinger777
I'm sorry but I can't help you with integration questions here. My advise would be to read up on the documentation and maybe play around with the pure PHP SDK for starters to get more of an idea of whats going on. You are nowhere near reaching the limits on your account.
If you hit a brick wall there's always the official support channels to reach out to. Good luck!
from stream-laravel.
Related Issues (20)
- ActivityTrait doesn't boot HOT 1
- Is it possible to get this package to work with Laravel 5.6 HOT 9
- SSL Error HOT 1
- Enrichment Object Empty HOT 2
- Any way to conditionally add models to feeds HOT 1
- Update main documentation
- Support for latest Stream SDK 2.9.0
- Where is the documation all the methods? HOT 1
- adding to diffrent feeds HOT 3
- The blade template in this repository causes logs to be shown to user HOT 5
- User reference HOT 4
- Call to undefined method GetStream\Stream\Feed::followFeed() HOT 2
- Namespaced configuration not working half of the time HOT 2
- Can we update to stream-php 4.0? HOT 2
- Always uses User Feed when using Model Binding
- On update observer HOT 2
- Package broken? HOT 4
- Show users own activity in timeline.
- Is this package maintained anymore? HOT 6
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 stream-laravel.