Earlier quoted context omitted.
On it, fellas. We weren't expecting so many beta signups... didn't think we needed more dynos until launch ;) Check back in a few minutes, we're already working on it.
How much traffic are you actually getting? HN doesn't drive all that much traffic to a site, even for sites at the top of the first page. It's virtually nothing compared to what Slashdot could drive to a site in its heyday, or what reddit's front page can drive today. I don't mean to offend you, but something is seriously wrong with your web app, your database(s) or your other infrastructure if it can't withstand a r…
An easy to follow design course for programmers
31–40 of 56 posts
Re: An easy to follow design course for programmers
#32I tried to watch the first video but I cannot use netflix in my country. No problem, let's watch the youtube playlist"The uploader has not made this video available in your country." Ok, I will rent it on youtube: "This movie is not available in your country." And then they ask why the people use the pirate bay...
Re: An easy to follow design course for programmers
#33Also, getting heroku application error several times.
Re: An easy to follow design course for programmers
#34Re: An easy to follow design course for programmers
#35Earlier quoted context omitted.
How much traffic are you actually getting? HN doesn't drive all that much traffic to a site, even for sites at the top of the first page. It's virtually nothing compared to what Slashdot could drive to a site in its heyday, or what reddit's front page can drive today. I don't mean to offend you, but something is seriously wrong with your web app, your database(s) or your other infrastructure if it can't withstand a r…
How many requests per second do you think a website needs to be capable of serving to handle the traffic from HN? (Performance newbie here)
In the past, I've talked to some colleagues who've had content hit the front page here, and they reported numbers ranging from around 1,000 unique visitors to about 30,000 visitors over a one-day period. So it can vary quite a bit, apparently.
Let's assume that things are more intense than that, and go with 50,000 or so unique visitors in a single hour, distributed rather evenly over that time period, making 2 page views each. Let's also assume that our web server serves up 20 style sheets, JavaScript files, images, and other assets each page view. We'll also assume that this is an interactive web app, so there'll be some database activity, too. No CDN is being used.
So we're talking around 2 million requests over that hour. Since we're assuming they're evenly distributed, for the most part, we'll assume we're dealing with about 550 to 600 requests per second.
That may seem like a lot, but it really isn't. Many of the requests will be for static content (JS scripts, style sheets, images, and so on), so they should be trivial to serve up. Apache or nginx running on a modern, bottom-tier VPS should have no trouble keeping up with this.
Likewise, assuming queries that aren't overly intensive, MySQL or PostgreSQL running on the same server should easily handle a few hundred queries per second. Only a fraction of the requests will actually involve any significant work from the web app itself. It should not be considered unreasonable for the web app to handle a few hundred requests per second.
We won't even consider using a reverse proxy like Varnish, for instance, to reduce some of the load on the web server, web app and database.
Keep in mind that this is a relatively intense scenario, too, at least compared to the activity than can be generated by an appearance on the HN front page, as has been described to me in the past. In reality, we're likely looking at much, much less traffic than in our estimate above, even during the period of peak activity.
Hopefully that helps explain why I think something is very wrong here if a relatively basic web app can't keep up with a relatively moderate amount of traffic.
Re: An easy to follow design course for programmers
#36I tried to watch the first video but I cannot use netflix in my country. No problem, let's watch the youtube playlist"The uploader has not made this video available in your country." Ok, I will rent it on youtube: "This movie is not available in your country." And then they ask why the people use the pirate bay...
However, I appreciate that you're doing this course for 'free' and I do think it's a great idea. Just wish I didn't have to pay for the very first video that I want to watch. Why not provide a TPB magnet link ?
Re: An easy to follow design course for programmers
#37I tried to watch the first video but I cannot use netflix in my country. No problem, let's watch the youtube playlist"The uploader has not made this video available in your country." Ok, I will rent it on youtube: "This movie is not available in your country." And then they ask why the people use the pirate bay...
Exactly, why is this content available to US users for free (via Youtube) but I have to pay because I'm outside of the US ? I guess it's to do with youtube ad revenues for US impressions but as a customer it makes me feel a bit shafted considering that you will, in no way, make $3.99 from a single US user watching this on youtube. However, I appreciate that you're doing this course for 'free' and I do think it's a gr…
Objectified had a profound impact on me as a designer. I first watched it in a slump of disenchantment that my "web design" skills would never amount to anything valuable or earth-shattering. This film gave me perspective. It showed me that, in extreme cases, design can make the world a better place.
There are moments in this film that give me the shakes. It resonates so deeply with what I believe, and what I want to achieve during my career. I can't think of any better way to help put hackers into the mindset that I believe is most conducive to learning the basics of design.
I hope you figure out a way around paying an exorbitant amount of money to watch the film, and hopefully see you next week for Lesson 1.
Re: An easy to follow design course for programmers
#38I hate to be "that guy" but I'm genuinely having a hard time reading this page. * thin white text on light grey buttons * thin light grey text on almost matching light grey background (anti-spam message below email input) * small thin light grey text on white background * on highlight, dark grey text on... burnt orange?! I'm in the target market for this program -- a developer whose design skills are pretty weak -- b…
but that is the landing page, the email itself is indeed hard to read (all the problems you mentioned).. I waited several seconds after opening the email because I thought the CSS haven't finished rendering.
Re: An easy to follow design course for programmers
#39I hate to be "that guy" but I'm genuinely having a hard time reading this page. * thin white text on light grey buttons * thin light grey text on almost matching light grey background (anti-spam message below email input) * small thin light grey text on white background * on highlight, dark grey text on... burnt orange?! I'm in the target market for this program -- a developer whose design skills are pretty weak -- b…
I am not sure which part you are referring to, but here i see mostly black text on white background. but that is the landing page, the email itself is indeed hard to read (all the problems you mentioned).. I waited several seconds after opening the email because I thought the CSS haven't finished rendering.
Re: An easy to follow design course for programmers
#40I tried to watch the first video but I cannot use netflix in my country. No problem, let's watch the youtube playlist"The uploader has not made this video available in your country." Ok, I will rent it on youtube: "This movie is not available in your country." And then they ask why the people use the pirate bay...