GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   [dev thread] NoSQL users - inside please (https://gfy.com/showthread.php?t=1058009)

borked 02-17-2012 01:01 AM

[dev thread] NoSQL users - inside please
 
So, I just read that manwin moved youporn off mysql and onto redis and are loving the performance gain. They say youporn gets 100million/day and their redis server is clustered.

I moved off mysql earlier this month and onto lucene when traffic started to seriously increase. This is for 5 million/day and lucene isn't clustered as it isn't even working hard.

I too was blasted by the massive improvement in performance - the visitors did too since page load time was a blink and search was a shitload more useful and accurate (number of daily searches went up 10x within a few days)

So, are you using either of these two, or another nosql flavour? If by any miracle, anyone has tried both, care to give a breakdown of which you settled for and why?

I haven't tried Redis, and after reading about it I think I'm better with lucene, simply because of its faceted search capabilities, that I use heavily...

And before anyone starts blowing the trumpet of mysql, yeah I love mysql too - I'm running other things, particularly one that has 30+million dailies that heavily uses mysql and mysql isn't anywhere near sweating.... but that is a different operation with different needs. What I'm on about are pages that heavily use key/value stores and require superior full text search capabilities.

Eric @manwin must surely have tested lucene, so I'd value his input :winkwink:

borked 02-17-2012 01:22 AM

for the record, in my case, mysql is feeding the Solr/Lucene index nightly, so I'm not 100% sql-free, but simply using mysql as a backup of the solr index and a feeder to inject into that index.

grumpy 02-17-2012 01:34 AM

Dont switch to soon from mysql. Some good tuning can do a lot.
Some of my stats
Traffic ø per hour
Received 0.7 TiB 0.2 GiB
Sent 18.7 TiB 5.0 GiB
Total 19.4 TiB 5.2 GiB

Query type ø per hour %
select 724 M 187.996 k 7.96%

borked 02-17-2012 01:43 AM

Quote:

Originally Posted by grumpy (Post 18764883)
Dont switch to soon from mysql. Some good tuning can do a lot.
Some of my stats
Traffic ø per hour
Received 0.7 TiB 0.2 GiB
Sent 18.7 TiB 5.0 GiB
Total 19.4 TiB 5.2 GiB

Query type ø per hour %
select 724 M 187.996 k 7.96%

Quote:

Originally Posted by borked
And before anyone starts blowing the trumpet of mysql, yeah I love mysql too - I'm running other things, particularly one that has 30+million dailies that heavily uses mysql and mysql isn't anywhere near sweating.... but that is a different operation with different needs. What I'm on about are pages that heavily use key/value stores and require superior full text search capabilities.

:winkwink::winkwink:

For some things though, mysql is *not* the answer, which is what this thread is about...

Mutt 02-17-2012 01:44 AM

Quote:

Originally Posted by borked (Post 18764851)

Eric @manwin must surely have tested lucene, so I'd value his input :winkwink:

i really doubt any of Manwin's programmers visit GFY, probably don't even know it exists.

what's your site running with lucerne?

Mutt 02-17-2012 01:45 AM

he has an email address on the page linked from the thread on here - email him.

borked 02-17-2012 01:50 AM

yeah, I have his email from his post announcing youporn/redis:

https://groups.google.com/forum/?fro...db/d4QcWV0p-YM

Klen 02-17-2012 03:32 AM

Ah well this is even more confusing considering there is somuch nosql databases. http://nosql-database.org/

SZNY 02-17-2012 03:59 AM

Quote:

Originally Posted by KlenTelaris (Post 18765026)
Ah well this is even more confusing considering there is somuch nosql databases. http://nosql-database.org/

Yeah there are many NoSQL variants. Last year we made a touchscreen environment running as a PaaS and using couch db combined with Ruby On Rails. Kind of slick stuff :thumbsup

EddyTheDog 02-17-2012 04:07 AM

Its a good job all my shit is happy on MySQL - This stuff is way out of my league.

borked 02-17-2012 04:32 AM

Quote:

Originally Posted by EddyTheDog (Post 18765083)
Its a good job all my shit is happy on MySQL - This stuff is way out of my league.

Eddy is happy getting BJs from his wife.
Eddy would be happier if his wife was a supermodel giving said BJs.

Zoxxa 02-17-2012 04:38 AM

I have only used MongoDB in development settings and it has been easy and fun to use. As for your full text searching Lucene is good but I don't think you can beat Sphinx.

EddyTheDog 02-17-2012 04:40 AM

Quote:

Originally Posted by borked (Post 18765093)
Eddy is happy getting BJs from his wife.
Eddy would be happier if his wife was a supermodel giving said BJs.

You could not be more wrong .... :error

sixsax 02-17-2012 04:42 AM

If all you have is a hammer, everything looks like a nail. MySQL is a great relational database but it's a poor full text index. I'm a Sphinx fan myself, it scales like a motherfucker and it's easy to configure, but Lucene should be just as good a bet in the right hands.

PowerCum 02-17-2012 05:14 AM

If you are not clustered, stay with lucene. Once you decide to go clustered, try MySQL NDBC cluster. The performance is completely different to non clustered MySQL because the data engine is completely different monster.
It still will be unable to beat nosql engines for full text indexing, but until you reach a really big volume the performance will be very good and you will still have all the relational db benefits.

V_RocKs 02-17-2012 06:08 AM

caching is also good...

Brujah 02-17-2012 09:23 AM

I was looking at Redis, and I think I read that they're dropping VM support. So if you have really large databases, you have to have the RAM to fit. They also made this comment about running OS X lol.

"Not all kinds of file systems are able to deal with large files in a good way, especially the Mac OS X file system which tends to be really lame about it."

Klen 02-18-2012 04:27 PM

Quote:

Originally Posted by Brujah (Post 18765511)
I was looking at Redis, and I think I read that they're dropping VM support. So if you have really large databases, you have to have the RAM to fit. They also made this comment about running OS X lol.

"Not all kinds of file systems are able to deal with large files in a good way, especially the Mac OS X file system which tends to be really lame about it."

So that means you stick with lucene ?

Klen 02-19-2012 06:12 AM

Bump for nosql users.


All times are GMT -7. The time now is 09:56 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123