4 ms·
Does anyone know if there's any specific reason why they have multiple databases on the same box? From what I see, one could trivially install the full text sea
by StavrosK 15y ago
Does anyone know if there's any specific reason why they have multiple databases on the same box? From what I see, one could trivially install the full text search engine on another server and reduce much of the space requirements and contention.
- jacques_chester 15y agoIf you read closely, you'll see that StackOverflow's database has been moved onto its own hardware away from other StackExchange sites. I think they're using SQL Server's inbuilt text search engine (edit: no, see below).
- JeremyBanks 15y agoActually, they switched to Lucene.NET a year ago: http://blog.stackoverflow.com/2011/01/stack-overflow-search-now-81-less-crappy/ http://blog.stackoverflow.com/2011/01/stack-overflow-search-... It sounds as though the search indexing isn't done by the database server anymore.
- jacques_chester 15y agoThanks for the correction.
- StavrosK 15y agoOh, no, I see that, I meant why don't they put the full text search engine (Lucene.NET, as per the comment below) on its own server. Wouldn't that make more sense, if they're running into this trouble?
- nick_craver 15y agoWe have done just that, Lucene.Net runs on the web tier which is otherwise severely under-utilized hardware (all servers sat at under 10% CPU before we moved search to it). But, it will be moving again soon (we're actually discussing that today). I'll have a another post around this architecture shift for search and a few other things coming up.
- StavrosK 15y agoAh, thanks, I figured that was a good move.