News for hackers. Stuff that matters.
Re:Show HN: Second Screen News by gnomodromo on Saturday December 15, 2018 @06:19PM (#18690899)
Another reason I post this here is to ask for advice how much CPUs and memory you would suggest for a site like that. It's hosted on EC2.
Re:Show HN: Second Screen News by viraptor on Saturday December 15, 2018 @06:31PM (#18690939)
If enough people start using it? I'd suggest doing the dynamic part on a tiny instance (i.e. only as big as you need for scraping and generating the updates / trends) and pushing updates to S3. Then the client can poll S3 objects. (With some marker for "latest")

You'd have to cross 1gb/h of transfer before it costs more than running more than t3.small.

Re:Show HN: Second Screen News by gnomodromo on Saturday December 15, 2018 @08:35PM (#18691294)
That's a great hint thanks. I just created a test bucket with a JSON file, this seems much cleaner. At the moment I still use a node server and the database on the same instance.