Live data from Hacker News

Poor Man's Scalability

codypowell.com

61–63 of 63 posts

Re: Poor Man's Scalability

#61
post #58

Earlier quoted context omitted.

ELBs change IP if they have to scale up. You really shouldn't point an A record at one.

...which is why they recommend you never use the ip, instead AWS provides a hostname, which is invariant...

Which is why you can't use an A record, as I stated.

Re: Poor Man's Scalability

#62
post #31

This seems like basic stuff. I'm more interested in the story about how you got this to the top of the front page. Edit: Less obnoxious.

Basic stuff is valuable to people who need to learn the basics. Not everyone on HN is an experienced programmer, much less an experienced web programmer.

Thank you.

As I was scanning the comments on this post, I was a bit surprised by the all the "This post was too basic. You are clearly an amateur and wasting my time" comments. Well, to those authors, not everyone on HN is an l337 hax0r such as yourselves.

Yes, the author still has some work to do. Maybe if he spent another couple weeks just on this, he could get response times down. Maybe he should use a reverse proxy or maybe he shouldn't. As with most problems of this type, the answer is, it depends.

To a young programmer with a few years experience who may be working on his/her first high traffice website, I thought the blog post was fantastically written. It was clear, concise, explained well the low-hanging fruit of optimization, explained the difference between performance and throughput, and decisions-making/tradeoffs made when preparing for a traffic spike. Well done.

Re: Poor Man's Scalability

#63

Earlier quoted context omitted.

Ahem, this is so wrong it's not even funny. I'm just calling it out because there are people here who are just learning how to code. You always create an index, on pretty much every query. That's as basic as commenting your code.

I'd hate to think how long your writes take...

Better a write with an index than a read without an index, my grannie always said.
Post reply on HN