News for hackers. Stuff that matters.
Re:How I built an app with 500,000 users in 5 days on a $100... by homero on Thursday July 21, 2016 @12:42PM (#12138073)
Yeah it's complete bs. I've worked on chat before and even 100 clients destroy a core or even two.

Now I would use pusher but that's extremely expensive but scalable.

Re:How I built an app with 500,000 users in 5 days on a $100... by segmondy on Thursday July 21, 2016 @01:17PM (#12138389)
100 clients destroying a core or two? Please, use the right tool. See erlang, golang, java, even c#.

Years ago, you had to suffer using poll(), select(), whilst dealing with threads or forking. It's so easy these days. A raspberry pi should be able to support 1,000 clients with any of the above recommended languages.

Re:How I built an app with 500,000 users in 5 days on a $100... by tracker1 on Thursday July 21, 2016 @07:22PM (#12140739)
Node was designed to hit 100K users/core, and in fact can do closer to 1M users... for simpler chat relay, a single server should be able to handle 1M simultaneous users... Growing beyond that means you need to segment/orchestrate your channels. I haven't used the app to comment... but something written in golang could probably handle a couple million users on a single server via websockets (or raw sockets), with appropriate backing services in place.

The original article is condescending to say the least, that doesn't mean that $4k of ongoing hosting costs shouldn't be able to handle a few million simultaneous users... though, something tells me that Pokemon Go could approach twitter or FB overhead, and related apps like chat could see huge swarms as a side effect.

That kind of problem would kill most first generation apps, as those who've seen twitter grow can attest to. I don't think there are any IRC networks that big at this point.

Re:How I built an app with 500,000 users in 5 days on a $100... by angersock on Thursday July 21, 2016 @04:00PM (#12139603)
Yeah, no, that's wrong.

If you have problems with this, there's something really wrong with either your design or your choice of tools.

How'd you go about building this?

Re:How I built an app with 500,000 users in 5 days on a $100... by homero on Friday July 22, 2016 @05:36PM (#12146944)
In 2008 with php and ajax
Re:How I built an app with 500,000 users in 5 days on a $100... by Swennemans on Thursday July 21, 2016 @02:40PM (#12139021)
That seems unnecessary. Or did you use (something like) Meteor.js?