Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
06-20-2018, 11:32 AM | #1 |
Confirmed User
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
|
full text search, what are you using ?
i am using mysql native full text search. but increased traffic is crashing my mysql., and server load is fucking high too, eben on 64 gig box with ssd.
i used sphinx before on different project and it was pain in the ass, taking my server load to the roof. eating all my cpu. i heard good things about elasticsearch, but looks difficult to implement. or is it time to scale horizontally ? and throw more servers., and do master slave replication in mysql. how many servers does the big sites own ? under 10k alexa sites ? thanks for your time. i have around 5 mil records and i only need to search title which is varchar 255 . why the fuck this shit has to be so difficult for dbms., one of these days i am gonna code my own fts search engine.,
__________________
SSD Cloud Server, VPS Server, Simple Cloud Hosting | DigitalOcean
|
06-20-2018, 03:02 PM | #2 |
Confirmed User
Industry Role:
Join Date: Jan 2014
Location: West Coast
Posts: 167
|
just use https://elastic.co
|
06-20-2018, 03:27 PM | #3 | |
I'll make you famous
Industry Role:
Join Date: Oct 2002
Posts: 13,947
|
Quote:
Do some testing between full text search and using a like statement. If you can, index the title too. All strictly imho, of course. . |
|
06-20-2018, 06:49 PM | #4 | ||
Confirmed User
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
|
Quote:
Quote:
__________________
SSD Cloud Server, VPS Server, Simple Cloud Hosting | DigitalOcean
|
||
06-20-2018, 07:50 PM | #5 |
Confirmed User
Industry Role:
Join Date: Oct 2017
Posts: 302
|
I use elastic search on 15 million records - 64gb ram and it performs great. The index doesn't need so much ram though. If it's too hard to set up, then go with the hosted version or you can check out algolia but it can get crazy expensive but might be worth it depending on your business model.
|
06-20-2018, 08:30 PM | #6 | |
Confirmed User
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
|
Quote:
how many hits does your site get ? or whats the alexa of your site ? do you have single box for lemp and elastic or separate boxes ? last time i tried setting up elastic on vps , i got confused in elastic and kibana and logstash., looks like i need to do some reading now.
__________________
SSD Cloud Server, VPS Server, Simple Cloud Hosting | DigitalOcean
|
|
06-21-2018, 06:08 AM | #7 |
Confirmed User
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
|
okat, installed elasticsearch, playing with it now.,
__________________
SSD Cloud Server, VPS Server, Simple Cloud Hosting | DigitalOcean
|