Re:Migrated WordGap from Python to Go 1
by NateDad on Saturday March 23, 2013 @04:14PM
(#5429593)
And the app engine only supports a single thread for Go, imagine if you could make it multi-threaded.
[ Parent
| on HN ]
Multi-threaded wouldn't help the case of a single request, which is what this post is reporting latency numbers on.
True, but it would help average request latency under load. I am hoping with Go 1.1 RC coming out next month that Google might enable multi-threading on the GAE.
Note: Even with Go only given a single core a developer can still write a Go program so they are concurrent. That way when one goroutine blocks on IO, another can use the CPU to make progress; furthermore, when multi-threading is enabled the performance upgrade will be substantial and seamless.
Assuming he's searching a trie to build the list of anagrams, he could distribute a single request's work over a thread per letter.