Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Apache, MySQL, and .Net - The Adventure Continues

Apache, MySQL, and .Net - The Adventure Continues

Scheduled Pinned Locked Moved The Lounge
csharpasp-netapachemysqlsysadmin
33 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Nemanja Trifunovic

    Out of curiosity: 1) Why would anyone use Apache on Windows? 2) Why would anyone use MySQL with .NET? Or for that matter, why would anyone use MySQL at all ;P

    Programming Blog utf8-cpp

    J Offline
    J Offline
    Jim Crafton
    wrote on last edited by
    #10

    For 1, I would say bad experiences with IIS (at least prior to the newer versions). For 2, I have no idea, other than cost :)

    ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

    realJSOPR T 2 Replies Last reply
    0
    • N Nemanja Trifunovic

      Out of curiosity: 1) Why would anyone use Apache on Windows? 2) Why would anyone use MySQL with .NET? Or for that matter, why would anyone use MySQL at all ;P

      Programming Blog utf8-cpp

      T Offline
      T Offline
      Todd Smith
      wrote on last edited by
      #11

      Nemanja Trifunovic wrote:

      1. Why would anyone use Apache on Windows?

      Our SVN server runs under Apache on Windows.

      Nemanja Trifunovic wrote:

      Why would anyone use MySQL with .NET? Or for that matter, why would anyone use MySQL at all

      It's FREE?

      Todd Smith

      N 1 Reply Last reply
      0
      • T Todd Smith

        Nemanja Trifunovic wrote:

        1. Why would anyone use Apache on Windows?

        Our SVN server runs under Apache on Windows.

        Nemanja Trifunovic wrote:

        Why would anyone use MySQL with .NET? Or for that matter, why would anyone use MySQL at all

        It's FREE?

        Todd Smith

        N Offline
        N Offline
        Nemanja Trifunovic
        wrote on last edited by
        #12

        Todd Smith wrote:

        Our SVN server runs under Apache on Windows.

        OK. Although in most cases, it is not necessary - svn has its own standalone server (at least on Linux, don't know about Windows).

        Todd Smith wrote:

        It's FREE?

        There are other, much better, free db systems.

        Programming Blog utf8-cpp

        S 1 Reply Last reply
        0
        • realJSOPR realJSOP

          I don't know... The MS-only crowd frowns on breaking out of the cozy little box that Microsoft has them trapped in, so the article would be a) rated low, and b) laced with comments about why I went to so much trouble when IIS and Sql Server Express is just a mouse click away... Here's a statement that's used by bikers (real bikers, that ride Harleys): If I have to explain, you won't understand.

          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

          B Offline
          B Offline
          Bassam Saoud
          wrote on last edited by
          #13

          Too Bad, I was hoping you write an article to compare (or build on) your results with what I have. I am particularly intersted in Performace benchmarks between ASP.NET/MSSQL - ASP.NET/SQLServer on both IIS and Apache.

          realJSOPR 1 Reply Last reply
          0
          • N Nemanja Trifunovic

            John Simmons / outlaw programmer wrote:

            The benefit of running Apache instead of IIS is that when I do move back to an earlier (non-server) version of Windows, I don't have to start from scratch with an older version of IIS and worry about having to do stuff different ways.

            OK, that makes sense.

            John Simmons / outlaw programmer wrote:

            Actually, MySQl is equally as viable as SQL Server. Besides, now I can use either one, where you're stuck with just SQL Server.

            At my previous job (until a couple of weeks ago) I was using MySQL from C++ on Linux. It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

            Programming Blog utf8-cpp

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #14

            Nemanja Trifunovic wrote:

            At my previous job (until a couple of weeks ago) I was using MySQL from C++ on Linux. It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

            Maybe you just need more practice with MySQL. Not that I've looked, but I've never stumbled across anyone (that doesn't have a Microsoft-oriented agenda) saying that MySQL isn't enterprise ready.

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            N 1 Reply Last reply
            0
            • N Nemanja Trifunovic

              John Simmons / outlaw programmer wrote:

              The benefit of running Apache instead of IIS is that when I do move back to an earlier (non-server) version of Windows, I don't have to start from scratch with an older version of IIS and worry about having to do stuff different ways.

              OK, that makes sense.

              John Simmons / outlaw programmer wrote:

              Actually, MySQl is equally as viable as SQL Server. Besides, now I can use either one, where you're stuck with just SQL Server.

              At my previous job (until a couple of weeks ago) I was using MySQL from C++ on Linux. It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

              Programming Blog utf8-cpp

              J Offline
              J Offline
              Johan Pretorius
              wrote on last edited by
              #15

              Nemanja Trifunovic wrote:

              It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

              Companies using MySql : Wikipidia Nokia Youtube NetQos flicker its is said that google also runs MySql (unconfirmed)


              Artificial Intelligence is no match for Natural Stupidity
              No one can understand the truth until he drinks of coffee's frothy goodness. ~Sheik Abd-al-Kadir
              I can't always be wrong ... or can I?

              S 1 Reply Last reply
              0
              • S Shog9 0

                Nemanja Trifunovic wrote:

                1. Why would anyone use Apache on Windows?

                I don't recall John's reasons, but I use it for certain purposes because 1) there's Subversion integration, and 2) it takes, on average, a full workday less to reconfigure it to my liking after a re-install. I'm sure there's a way of backing up IIS configurations, but i never think of things like that 'till i've already repaved the machine, so things that don't survive an OS install just don't make it.

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #16

                Backing up IIS involves backing up your entire OS drive. And if you want to go backwards to an earlier version of Windows/IIS, your backups are worthless anyway. You're better off with screen shots, and then good luck lining up those IIS7 screen shots with IIS6 or IIS5... Ain't gonna happen.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                1 Reply Last reply
                0
                • B Bassam Saoud

                  Too Bad, I was hoping you write an article to compare (or build on) your results with what I have. I am particularly intersted in Performace benchmarks between ASP.NET/MSSQL - ASP.NET/SQLServer on both IIS and Apache.

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #17

                  My only benchmarks are via the Mk-I Eyeball. "It doesn't look slow to me" is my catch phrase. Besides, at this point I'm the only user on the site and there's only two records in the data table that are displayed with nothing in the way of filtering. It takes longer to render the html than it does to query the database right now.

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  B 1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    Nemanja Trifunovic wrote:

                    At my previous job (until a couple of weeks ago) I was using MySQL from C++ on Linux. It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

                    Maybe you just need more practice with MySQL. Not that I've looked, but I've never stumbled across anyone (that doesn't have a Microsoft-oriented agenda) saying that MySQL isn't enterprise ready.

                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                    -----
                    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                    N Offline
                    N Offline
                    Nemanja Trifunovic
                    wrote on last edited by
                    #18

                    John Simmons / outlaw programmer wrote:

                    Maybe you just need more practice with MySQL.

                    Nope - had enough of that joke in the last two years :)

                    Programming Blog utf8-cpp

                    1 Reply Last reply
                    0
                    • N Nemanja Trifunovic

                      Todd Smith wrote:

                      Our SVN server runs under Apache on Windows.

                      OK. Although in most cases, it is not necessary - svn has its own standalone server (at least on Linux, don't know about Windows).

                      Todd Smith wrote:

                      It's FREE?

                      There are other, much better, free db systems.

                      Programming Blog utf8-cpp

                      S Offline
                      S Offline
                      Shog9 0
                      wrote on last edited by
                      #19

                      Nemanja Trifunovic wrote:

                      There are other, much better, free db systems.

                      :shrug: If your web host allows you to install them, or you self-host. Mine doesn't. I use MySQL for personal stuff for the same reason i use SQLServer Express for work stuff - it's most likely to be available when and where i need it.

                      N 1 Reply Last reply
                      0
                      • J Jim Crafton

                        For 1, I would say bad experiences with IIS (at least prior to the newer versions). For 2, I have no idea, other than cost :)

                        ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                        realJSOPR Offline
                        realJSOPR Offline
                        realJSOP
                        wrote on last edited by
                        #20

                        Jim Crafton wrote:

                        For 2, I have no idea, other than cost

                        Well, I found out that Sql Server Standard (I think it's "standard) is only $50 or so. Still why spend the money? I also was under the assumption that Sql Server Express only allowed one database. Well, I have 17 on my site, and I'm not going to burden the machine with two different database servers just to support this one web site. I'm still not sure if my original assumption is true, but the server load issue is still there. The simple fact is that I started out with MySql because I was doing PHP, and since MySQL appears to work so well, I figured it would be nuts to dump it. Lest everyone forgets, I'm getting pretty damn lazy in my old age, and the last thing I want to deal with is significant change. After all, I'd much rather do other things than code at home - there are so many TV shows to watch, and I'm in the middle of preparing for the coming apocalypse (12/21/2012).

                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                        -----
                        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                        1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          My only benchmarks are via the Mk-I Eyeball. "It doesn't look slow to me" is my catch phrase. Besides, at this point I'm the only user on the site and there's only two records in the data table that are displayed with nothing in the way of filtering. It takes longer to render the html than it does to query the database right now.

                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                          B Offline
                          B Offline
                          Bassam Saoud
                          wrote on last edited by
                          #21

                          John Simmons / outlaw programmer wrote:

                          Besides, at this point I'm the only user on the site and ...

                          Yeah, I am using Mercury QuickTest Professional on multiple machines to simulate High User Load .

                          John Simmons / outlaw programmer wrote:

                          It takes longer to render the html than it does to query the database right now

                          Interesting, How would it peform running on IIS I wonder :)

                          1 Reply Last reply
                          0
                          • S Shog9 0

                            Nemanja Trifunovic wrote:

                            There are other, much better, free db systems.

                            :shrug: If your web host allows you to install them, or you self-host. Mine doesn't. I use MySQL for personal stuff for the same reason i use SQLServer Express for work stuff - it's most likely to be available when and where i need it.

                            N Offline
                            N Offline
                            Nemanja Trifunovic
                            wrote on last edited by
                            #22

                            Shog9 wrote:

                            If your web host allows you to install them, or you self-host.

                            It was my impression that John was self-hosting? :~

                            Programming Blog utf8-cpp

                            S realJSOPR 2 Replies Last reply
                            0
                            • N Nemanja Trifunovic

                              Shog9 wrote:

                              If your web host allows you to install them, or you self-host.

                              It was my impression that John was self-hosting? :~

                              Programming Blog utf8-cpp

                              S Offline
                              S Offline
                              Shog9 0
                              wrote on last edited by
                              #23

                              Probably. You asked, "Why would anyone use..." - i'm speaking for me, not John.

                              1 Reply Last reply
                              0
                              • N Nemanja Trifunovic

                                John Simmons / outlaw programmer wrote:

                                The benefit of running Apache instead of IIS is that when I do move back to an earlier (non-server) version of Windows, I don't have to start from scratch with an older version of IIS and worry about having to do stuff different ways.

                                OK, that makes sense.

                                John Simmons / outlaw programmer wrote:

                                Actually, MySQl is equally as viable as SQL Server. Besides, now I can use either one, where you're stuck with just SQL Server.

                                At my previous job (until a couple of weeks ago) I was using MySQL from C++ on Linux. It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

                                Programming Blog utf8-cpp

                                P Offline
                                P Offline
                                Paul Watson
                                wrote on last edited by
                                #24

                                Nemanja Trifunovic wrote:

                                It is OK for light loads and small databases

                                AFAIK you are right that in a one to one comparison SQL Server will beat MySQL. SQL Server will ultimately hold more data and respond better. As a monolithic RDBMS interface SQL Server > MySQL. But as soon as you compare a real world situation with multiple servers, application layers, caching systems, sharding etc. then I think MySQL has been proven to work very well and at lesser cost (not free) than SQL Server. The platform support is also better. Google is also having good success with the open nature of MySQL and being able to patch problems they come across. If they find a problem they don't have to seek permission, engage with Microsoft engineers, check their license or wait for updates, they just fix the problem.

                                regards, Paul Watson Ireland & South Africa

                                Fernando A. Gomez F. wrote:

                                At least he achieved immortality for a few years.

                                1 Reply Last reply
                                0
                                • N Nemanja Trifunovic

                                  John Simmons / outlaw programmer wrote:

                                  The benefit of running Apache instead of IIS is that when I do move back to an earlier (non-server) version of Windows, I don't have to start from scratch with an older version of IIS and worry about having to do stuff different ways.

                                  OK, that makes sense.

                                  John Simmons / outlaw programmer wrote:

                                  Actually, MySQl is equally as viable as SQL Server. Besides, now I can use either one, where you're stuck with just SQL Server.

                                  At my previous job (until a couple of weeks ago) I was using MySQL from C++ on Linux. It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

                                  Programming Blog utf8-cpp

                                  S Offline
                                  S Offline
                                  si618
                                  wrote on last edited by
                                  #25

                                  Nemanja Trifunovic wrote:

                                  At my previous job (until a couple of weeks ago) I was using MySQL from C++ on Linux. It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

                                  You are joking right? I must have missed the smiley. MySQL excels at read often, write seldom databases. There are many large databases with huge loads running MySQL. I guess that's why Sun bought them.

                                  1 Reply Last reply
                                  0
                                  • J Johan Pretorius

                                    Nemanja Trifunovic wrote:

                                    It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

                                    Companies using MySql : Wikipidia Nokia Youtube NetQos flicker its is said that google also runs MySql (unconfirmed)


                                    Artificial Intelligence is no match for Natural Stupidity
                                    No one can understand the truth until he drinks of coffee's frothy goodness. ~Sheik Abd-al-Kadir
                                    I can't always be wrong ... or can I?

                                    S Offline
                                    S Offline
                                    si618
                                    wrote on last edited by
                                    #26

                                    C aveFox wrote:

                                    its is said that google also runs MySql (unconfirmed)

                                    Confirmed.[^]

                                    1 Reply Last reply
                                    0
                                    • N Nemanja Trifunovic

                                      Shog9 wrote:

                                      If your web host allows you to install them, or you self-host.

                                      It was my impression that John was self-hosting? :~

                                      Programming Blog utf8-cpp

                                      realJSOPR Offline
                                      realJSOPR Offline
                                      realJSOP
                                      wrote on last edited by
                                      #27

                                      I am.

                                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                      -----
                                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                      1 Reply Last reply
                                      0
                                      • J Jim Crafton

                                        For 1, I would say bad experiences with IIS (at least prior to the newer versions). For 2, I have no idea, other than cost :)

                                        ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                                        T Offline
                                        T Offline
                                        Tomz_KV
                                        wrote on last edited by
                                        #28

                                        Although I like IIS but I have not seen it working for 3 months continously without a "iisreset". Is this just my experience?

                                        TOMZ_KV

                                        1 Reply Last reply
                                        0
                                        • N Nemanja Trifunovic

                                          John Simmons / outlaw programmer wrote:

                                          The benefit of running Apache instead of IIS is that when I do move back to an earlier (non-server) version of Windows, I don't have to start from scratch with an older version of IIS and worry about having to do stuff different ways.

                                          OK, that makes sense.

                                          John Simmons / outlaw programmer wrote:

                                          Actually, MySQl is equally as viable as SQL Server. Besides, now I can use either one, where you're stuck with just SQL Server.

                                          At my previous job (until a couple of weeks ago) I was using MySQL from C++ on Linux. It is OK for light loads and small databases, but when things grow a little bit, better stay away from MySQL.

                                          Programming Blog utf8-cpp

                                          M Offline
                                          M Offline
                                          MajorTom123
                                          wrote on last edited by
                                          #29

                                          http://www.mysql.com/why-mysql/case-studies/[^] If you look down the page of case studies you'll see: "Utel handles 10,000 Requests per Second Using a Scale out Deployment of MySQL Network" Not a bad scale out in my opinion. Are you sure you researched this topic enough to flame the product? Maybe you didn't optimize your db or something.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups