[dev thread] NoSQL users - inside please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • borked
    Totally Borked
    • Feb 2005
    • 6284

    #1

    [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
    Last edited by borked; 02-16-2012, 11:14 PM.

    For coding work - hit me up on andy // borkedcoder // com
    (consider figuring out the email as test #1)



    All models are wrong, but some are useful. George E.P. Box. p202
  • borked
    Totally Borked
    • Feb 2005
    • 6284

    #2
    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.

    For coding work - hit me up on andy // borkedcoder // com
    (consider figuring out the email as test #1)



    All models are wrong, but some are useful. George E.P. Box. p202

    Comment

    • grumpy
      Too lazy to set a custom title
      • Jan 2002
      • 9870

      #3
      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%
      Don't let greediness blur your vision | You gotta let some shit slide
      icq - 441-456-888

      Comment

      • borked
        Totally Borked
        • Feb 2005
        • 6284

        #4
        Originally posted by grumpy
        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%
        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.


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

        For coding work - hit me up on andy // borkedcoder // com
        (consider figuring out the email as test #1)



        All models are wrong, but some are useful. George E.P. Box. p202

        Comment

        • Mutt
          Too lazy to set a custom title
          • Sep 2002
          • 34431

          #5
          Originally posted by borked

          Eric @manwin must surely have tested lucene, so I'd value his input
          i really doubt any of Manwin's programmers visit GFY, probably don't even know it exists.

          what's your site running with lucerne?
          I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!

          Comment

          • Mutt
            Too lazy to set a custom title
            • Sep 2002
            • 34431

            #6
            he has an email address on the page linked from the thread on here - email him.
            I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!

            Comment

            • borked
              Totally Borked
              • Feb 2005
              • 6284

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

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

              For coding work - hit me up on andy // borkedcoder // com
              (consider figuring out the email as test #1)



              All models are wrong, but some are useful. George E.P. Box. p202

              Comment

              • Klen
                • Aug 2006
                • 32235

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

                Comment

                • SZNY
                  SZNY
                  • May 2004
                  • 2800

                  #9
                  Originally posted by KlenTelaris
                  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
                  Telegram: sandroanthonio

                  Comment

                  • EddyTheDog
                    Just Doing My Own Thing
                    • Jan 2011
                    • 25433

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

                    Comment

                    • borked
                      Totally Borked
                      • Feb 2005
                      • 6284

                      #11
                      Originally posted by EddyTheDog
                      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.

                      For coding work - hit me up on andy // borkedcoder // com
                      (consider figuring out the email as test #1)



                      All models are wrong, but some are useful. George E.P. Box. p202

                      Comment

                      • Zoxxa
                        Confirmed User
                        • Feb 2011
                        • 1026

                        #12
                        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.
                        [email protected]
                        ICQ: 269486444
                        ZoxEmbedTube - Build unlimited "fake" tubes with this easy 100% unencoded CMS!

                        Comment

                        • EddyTheDog
                          Just Doing My Own Thing
                          • Jan 2011
                          • 25433

                          #13
                          Originally posted by borked
                          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 ....

                          Comment

                          • sixsax
                            Confirmed User
                            • Aug 2006
                            • 213

                            #14
                            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.

                            Comment

                            • PowerCum
                              CjOverkill
                              • Apr 2003
                              • 1328

                              #15
                              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.
                              CjOverkill Traffic Trading Script
                              Free, secure and fast traffic trading script. Get your copy now

                              Comment

                              • V_RocKs
                                Damn Right I Kiss Ass!
                                • Nov 2003
                                • 32449

                                #16
                                caching is also good...

                                Comment

                                • Brujah
                                  Beer Money Baron
                                  • Jan 2001
                                  • 22157

                                  #17
                                  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."

                                  Comment

                                  • Klen
                                    • Aug 2006
                                    • 32235

                                    #18
                                    Originally posted by Brujah
                                    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 ?

                                    Comment

                                    • Klen
                                      • Aug 2006
                                      • 32235

                                      #19
                                      Bump for nosql users.

                                      Comment

                                      Working...