Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I remember discovering minifeed.net not too long ago here on HN. Cool project! I like how you show related posts from other blogs when viewing an item. It's nice for discovering new blogs.


Thanks! I still don't feel ready to do a proper "Show HN" with it though :)

The related posts are generated with the help of a vector database (Cloudflare Vectorize [1]). I take post titles and descriptions as input, vectorize and store the results in the vector DB. Then for each post, I find 10-15 related posts and store the results in a separate table (it's a plain one-to-many SQL table). This is done because querying the vector DB is not super fast, and I wanted Minifeed to load under 500ms (according to my status page tracking, users in Europe for some reason experience the fastest loading times of 100-200ms! [2]). I also set up a scheduled job which regularly updates the relations (since there are new posts every day, and some of them may become "related" to existing posts).

I've been meaning to write a blog post about the overall architecture of Minifeed, there are lots of small components related to RSS parsing, updates, caching, etc.

1. https://developers.cloudflare.com/vectorize/ 2. https://status.minifeed.net/


Do a write up on explaining the architecture and maintenance cost. This looks sleek. It'll fly on hackernews.


Thanks for the encouragement, I've started drafting the article. By the way, I've added your blog to Minifeed a while ago (https://minifeed.net/blogs/kF8K4M)


Yeah. I saw that. I've found so many good stuff on minifeed. Thank you :D




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: