Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
Dan Romero
@dwr.eth
If Warpcast was open source, what are 1-2 things you would want to learn how we do?
41 replies
9 recasts
68 reactions
woj
@woj.eth
omg 1. id learn react native 2. feed creation 3. caching rules in general 4. dms implementation 5. id straight copy paste the frames engine to supercast 6. image processing 7. notifications engine in no particular order, all would be extremely valuable to me as a dev in the ecosystem
3 replies
0 recast
11 reactions
Dan Romero
@dwr.eth
React Native aside, can you get more specific as to what is hard about some of these things. Examples are useful!
1 reply
0 recast
0 reaction
woj
@woj.eth
2. feed naive solution: write a sql query that looks at all posts in the database, ranks them and returns in time to the user but this would be super slow and expensive (probably) good solution: generate the feeds for users before they actually request them, read on demand but getting this right is non-trivial
2 replies
0 recast
1 reaction
woj
@woj.eth
3. caching i expect there is a lot of caching magic so it would be fun to see how it happens behind the scenes what are the expiration times for any given data pieces, how do you think about invalidating different pieces etc eg: should every single follow invalidate the follower count cache? probably not
1 reply
0 recast
0 reaction
Gabriel Ayuso
@gabrielayuso.eth
The "naive solution" can be fast if you have good indexes (or memory kv store) and limit what you read from the database. Then once you sort and limit the hashes that will make up the feed you just "hydrate" them and return.
0 reply
0 recast
0 reaction