Better HN
topnewbestaskshowjobs
Log inSign up

gnw

218 karma · joined May 28, 2012 (14y ago) · 18 submissions

Submissions

1.

5 steps to making a Node.js frontend app 10x faster(engineering.gosquared.com ↗)

4 points · by gnw · 12y ago · discuss

comment 12y ago · link · parent

Down in London, GB

3.

How we deploy code to production at GoSquared(engineering.gosquared.com ↗)

1 points · by gnw · 12y ago · discuss

4.

Infinite DNS queries for free with Route 53(engineering.gosquared.com ↗)

2 points · by gnw · 12y ago · discuss

comment 13y ago · link · parent

The latest data point on its own can fluctuate but it's the overall trend that showcases the growth

comment 13y ago · link · parent

This is aggregate data from the GoSquared analytics network. All figures are up to the minute with historical context to show the trend.

7.

Expanding a Cassandra cluster(engineering.gosquared.com ↗)

9 points · by gnw · 13y ago · 1 comment

8.

Testing your application: why, when, what & how?(engineering.gosquared.com ↗)

1 points · by gnw · 13y ago · discuss

9.

Real-time Web Analytics for Panic's Status Board(gosquared.com ↗)

3 points · by gnw · 13y ago · discuss

comment 13y ago · link · parent

You're perfectly correct, and Apache has and continues to serve as one of the most successful and widely deployed web servers to date. That said, in the context of more conveniently architecting for high volumes of traffic, Apache was conceived in a time of fundamentally different problems, and in that respect it can be viewed as a more antiquated option when scoping out the landscape of appropriate web server software.

I did not intend any pejorative connotations by calling it "archaic". I just wanted to emphasise that it has been eclipsed by newer software following different design paradigms better suited to this kind of problem.

comment 13y ago · link · parent

I only suggested changing tcp_tw_reuse but you are right, especially tcp_tw_recycle can have adverse effects.

According to this reference: http://www.speedguide.net/articles/linux-tweaking-121 "[tcp_tw_reuse] is generally a safer alternative to tcp_tw_recycle"

12.

Optimizing Nginx, Node.js and networking for heavy workloads(engineering.gosquared.com ↗)

146 points · by gnw · 13y ago · 25 comments

comment 13y ago · link · parent

Absolutely, although Domains are a new feature in 0.8 and will need some time for maturity.

comment 13y ago · link · parent

newrelic can be used for server monitoring, and they've got a nodejs probe in development http://try.newrelic.com/nodejs.html

Downside: expensive

comment 13y ago · link · parent

If it works for you for now then no real need to change it. A proper deployment tool usually makes it easier to deploy apps of different types and languages using a consistent set of tools.

What I do when working with SSH'ing to AWS instances is to give them a readable name (like nginx-1, nginx-2) tag, and then place those names as hostnames in my /etc/hosts, so I can then just run ssh nginx-1. I use a script around https://github.com/bjeanes/ghost to automate this.

comment 13y ago · link · parent

Great pointers, setup scripts and automating project chores are essential for creating a good workflow, saving time, and saving colleagues some hair when they get started with the app.

I've tried coffeescript but it didn't catch on with me. Perhaps I didn't give it enough time, but I got the feeling that it could get quite semantically ambiguous at times whereas if you stick to JS' native C-style form, the structure of the code is imperative and easy to follow. I also felt uneasy about what code was actually executing at the other end of the transpiler.

17.

Aspects of Building a Node.js Application(engineering.gosquared.com ↗)

65 points · by gnw · 13y ago · 21 comments

comment 14y ago · link · parent

The real question is what happens when you submit it ;)