I am developing a small webapp that collects news from rss (mentioning sources, and link back to the source itself)
I was wondering what backend architecture should I put in place and in my mind there are at least two options:
- Reading rss, pushing them into a backend DB and then make them available to the webapp via API (in this case, the challenge is: how do I know how often should I refresh the rss content? if a new article/news comes out, should I have a sort of listener and capture the new article/news and then save it in the DB or how would I do?)
- build a "proxy" (is it a reverse proxy?), that connect my backend directly to the RSS sources and not store anything in my site….
what do you think? how would you do this type of backend?