26 points · by jacquesm · 15y ago · 17 comments
I can see why it's hard to scale HN using multiple servers, what with ARC not being the most cluster friendly platform, but there is a different solution, simply getting a really badass server.
I'm sure that you're not wanting for cash, but since we all use this resource and we all profit from it in various ways would you accept donations that would go to buying a server large enough to see HN through the next phase of growth?
Unfortunately processors don't seem to get faster at the rate they used to. Now they just have more cores, and I believe MzScheme can only use one core.
I think the solution is to make the software faster. There's probably some small hack we could make somewhere in the guts of the system that would make it 10x faster. I'm thinking of having a make-HN-faster contest, but first I have to release a more current version of the code.
For example the manual says that to run the computations in parallel, you should no use operations that mix exact ans inexact numbers. It is possible to do this by hand writing the scheme code, but I think that it is more difficult to make the arc->scheme compiler do this automatically.
How annoying. http://osdir.com/ml/lisp.scheme.plt/2003-01/msg00216.html suggests that you're right, but MzScheme _used_ to support multiple cores.
How difficult would it be to divide HN up into multiple cooperating processes that each get their own core? With a little caching, it should be possible to get a lot more headroom.
Again, I have no idea if this is even feasible, the differences between the various dialects of lisp seem to me (as an outsider) to be considerable.
Please do that, some people are dying to see some of the stuff that goes under the hood. Of course things like hell banning may not be released, but some of the ranking and "ask" page stuff would be awesome to look into.
I think PG opening up the latest code and giving people a chance to actually diagnose the causes of the slowness is a great a idea. Anything else -- premature optimization.