TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Haskell in the Datacentre

276 pointsby dmitover 8 years ago

5 comments

greenspotover 8 years ago
&gt; At Facebook we run Haskell on thousands of servers<p>Wow, I didn&#x27;t know this. Anyone knows for which programs they use Haskell? The article doesn&#x27;t say anything.
评论 #13175557 未加载
评论 #13175616 未加载
rvdmover 8 years ago
Really great to read more about real world large scale Haskell use.<p>I&#x27;d be curious to find out if the success FB has had with Haskell for spam filtering means they might consider Haskell for different parts of their stack too? Does anyone have any insight on this?
bojoover 8 years ago
Happy to see they pushed the changes to the upstream GHC!
4adover 8 years ago
&gt; GHC’s runtime is based around an M:N threading model which is designed to map a large number (M) of lightweight Haskell threads onto a small number (N) of heavyweight OS threads. [...] To cut to the chase, we ended up increasing N to be the same as M (or close to it), and this bought us an extra 10-20% throughput per machine.<p>Ah, yes. As a Go developer, really wish Go moved to an 1:1 threading model.
评论 #13175406 未加载
评论 #13175527 未加载
lmmover 8 years ago
I think the bigger question is why they&#x27;re using a C++ Thrift server. Haskell is good at transforming data - they should be able to use an OS socket and do the message decoding&#x2F;encoding in pure Haskell.
评论 #13175542 未加载
评论 #13175248 未加载
评论 #13176507 未加载
评论 #13175239 未加载
评论 #13175554 未加载