Live data from Hacker News

Linode and the Google Cyber Attacks

blog.linode.com

41–45 of 45 posts

Re: Linode and the Google Cyber Attacks

#41
post #39
post #36

Earlier quoted context omitted.

2-4GB? wth are you doing? I remember a post on here saying how hackernews was running on a new 8GB server or something. There's no reason it couldn't run on a 200MB server easily. (Related: Is HN really sluggish for everyone else as well? Like 3-4 seconds per page load)

If you really think you could run HN on 200MB of RAM, write a blog post about how to do it and submit it here. I'm sure the community would like to know how. I think your ability to write applications using minimal amounts of RAM is out of sync with the median RAM use here.

It'd mean writing in some 'un-hip' language. So I doubt anyone would be interested in it here.

Using even 1GB of RAM for something like HN is just crazy.

Re: Linode and the Google Cyber Attacks

#42

Earlier quoted context omitted.

Is a $20 vps (360MB ram) enough for a small website? I want to get one for me but I don't want to get rammed in the ass when I realize it is not enough and need to upgrade to at least 1GB. I see I can get 1GB RAM at prgmr.com for the same $20

More than enough. I run a Django-powered site on a 96meg host on an over-loaded Xen host built with ancient P4 Xeon servers (No VT instructions). I use nginx and sqlite to cope with my tiny amount of available memory. With that said the site sees little traffic (<500 hits a day, peaks ~60 hits in 1 hour), but I've never run into issues.

Which distro/OS, out of curiousity? The bane of my experience with low-memory VMs has been finding the lowest-memory server OS.

Re: Linode and the Google Cyber Attacks

#43
post #22

Earlier quoted context omitted.

I used to run a create-your-own-quiz django powered site with 6k uniques/day(in the last few days), with no cache, and it barely touched my 360 vps. You can see some nice graphs here: http://slig.imgur.com/linode

Thanks for sharing! How do you interpret those graphs? How do you know when the user experience is slow or when the server is maxxed out?

From my experience looking at those graphs, I see that the iorate is pretty low and that the cpu is almost idle. Checking "top", I see that the RAM was sufficient, as there were almost no swap use.

I also use chartbeat.com to see how the users are interacting with the site in realtime. They provide also two useful metrics: user load time and server load time. Looking at those, I can see that the user experience is pretty good, and that the server is up and responding very quickly.

Re: Linode and the Google Cyber Attacks

#44
post #39
post #36

Earlier quoted context omitted.

2-4GB? wth are you doing? I remember a post on here saying how hackernews was running on a new 8GB server or something. There's no reason it couldn't run on a 200MB server easily. (Related: Is HN really sluggish for everyone else as well? Like 3-4 seconds per page load)

If you really think you could run HN on 200MB of RAM, write a blog post about how to do it and submit it here. I'm sure the community would like to know how. I think your ability to write applications using minimal amounts of RAM is out of sync with the median RAM use here.

with a stripped down/custom distro and FastCGI perl i could make that happen. you could go crazy and use an epoll perl httpd too. backend would be nosql with a small cache in memory. you'd need a decent chunk of bandwidth as gzip may push cpu over the edge, and hope you have fast disks. how many hps is HN anyway, at peak?

Re: Linode and the Google Cyber Attacks

#45
post #42

Earlier quoted context omitted.

More than enough. I run a Django-powered site on a 96meg host on an over-loaded Xen host built with ancient P4 Xeon servers (No VT instructions). I use nginx and sqlite to cope with my tiny amount of available memory. With that said the site sees little traffic (<500 hits a day, peaks ~60 hits in 1 hour), but I've never run into issues.

Which distro/OS, out of curiousity? The bane of my experience with low-memory VMs has been finding the lowest-memory server OS.

you could go crazy and use a uClibc buildroot. build it on your desktop and transfer an image to your slice. i use slack, but that's not exactly tiny...
Post reply on HN