Jump to content

  •  

  • iBotModz CBox


    Photo

    Searching


    • This topic is locked This topic is locked
    4 replies to this topic

    #1 iBotPeaches

    iBotPeaches

      General Grade 6

    • Owner

    • 6,570 posts
    • Joined: 29-July 07
    • Gender:Male
    • Location:Kansas

    Posted 04 October 2012 - 11:47 AM

    Someone asked me for the Phantom Mappack. So I searched for it on our site, and it didn't even pop up in the results.

    So I went to Google and searched "iBotModz Phantom Mappack" and it came right up. Point being, our search system sucked. We now run Sphinx.

    A full-text no limit char search engine. The delta cache is updated every 5 minutes, and the frozen cache (for edited posts) is updated nightly at 4am. This reduces the load on mySQL and makes searching faster.

    #2 Rogue Modder

    Rogue Modder

      Class of 2008

    • VIP

    • 1,328 posts
    • Joined: 02-January 09
    • Gender:Male
    • Location:London, UK

    Posted 04 October 2012 - 01:36 PM

    oo, Very nice. Forum searching has always sucked, nice to see something that isn't shit.

    #3 fattwam

    fattwam

      General Grade 2

    • Sub-Admins

    • 3,979 posts
    • Joined: 18-August 07
    • Gender:Male

    Posted 04 October 2012 - 07:41 PM

    Iv been thinking of implementing Sphinx.

    #4 iBotPeaches

    iBotPeaches

      General Grade 6

    • Owner

    • 6,570 posts
    • Joined: 29-July 07
    • Gender:Male
    • Location:Kansas

    Posted 04 October 2012 - 08:27 PM

    On a roll today.

    APC doesn't like talking to mod_ruid2. The shared cache /dirs doesn't give the APC the ability to associate those /dir among users, so it re-creates another 32M cache for each child of apache. If every user is allowed 3 apache process, thats a lot of wasted memory. APC didn't have support for it, so I dropped it in favour for xcache.

    xcache seems to handling well with a static 48MB dir size and 2MB for vars. Will have to monitor it along with sphinx for the next couple of weeks, but this method should keep all my sites on low use and a tad bit faster.

    #5 iBotPeaches

    iBotPeaches

      General Grade 6

    • Owner

    • 6,570 posts
    • Joined: 29-July 07
    • Gender:Male
    • Location:Kansas

    Posted 04 October 2012 - 09:40 PM

    Ah fixed a bad cache problem. Seems the ETag filled on general php output requests causes the browser to send the ETag back during request then matches the cache instead of asking for new data. So fixed that.

    You'll have to wait till the cache manually dies out before it fixes itself. Which will take 1-2 hours.