ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Web Application VS Windows Application

    IT Discussion
    programming
    17
    450
    108.1k
    Loading More Posts
    • 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.
    • scottalanmillerS
      scottalanmiller @wirestyle22
      last edited by

      @wirestyle22 said:

      @IT-ADMIN said:

      anyway it is another discussion about hypervisors we made it 6 months ago,

      why it is recomended to make apache and mysql in seperate servers ??

      because they compete heavily for physical resources and they scale at different rates

      No, that's not an issue. Specifically the issue is the potential to write code that relies on locality.

      IT-ADMINI 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @stacksofplates
        last edited by

        @johnhooks said:

        @scottalanmiller said:

        @johnhooks said:

        Ya mine's using close to 2GB

        0_1456429832423_Screenshot 2016-02-25 at 2.50.20 PM.png

        Are you sure? I don't think that tool tell syou how much is used.

        That's the RAM for each VM and the host. 8% is allocated for the dom0.

        I mean, didi you run free to see what was REALLY used?

        stacksofplatesS 1 Reply Last reply Reply Quote 0
        • stacksofplatesS
          stacksofplates @scottalanmiller
          last edited by stacksofplates

          @scottalanmiller said:

          @johnhooks said:

          @scottalanmiller said:

          @johnhooks said:

          Ya mine's using close to 2GB

          0_1456429832423_Screenshot 2016-02-25 at 2.50.20 PM.png

          Are you sure? I don't think that tool tell syou how much is used.

          That's the RAM for each VM and the host. 8% is allocated for the dom0.

          I mean, didi you run free to see what was REALLY used?

          Used is like 702, I changed the response above.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • wirestyle22W
            wirestyle22 @scottalanmiller
            last edited by

            @scottalanmiller said:

            @IT-ADMIN said:

            what makes apache not playing well with mysql if they are on the same server ??

            They play fine, it's you we are trying to alter.

            Q: Is this assuming he has a rather large server to expand into? The differing rates can be a big problem, no? I always looked at VM's as a means to make system resources more economical.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @stacksofplates
              last edited by

              @johnhooks said:

              @scottalanmiller said:

              @johnhooks said:

              @scottalanmiller said:

              @johnhooks said:

              Ya mine's using close to 2GB

              0_1456429832423_Screenshot 2016-02-25 at 2.50.20 PM.png

              Are you sure? I don't think that tool tell syou how much is used.

              That's the RAM for each VM and the host. 8% is allocated for the dom0.

              I mean, didi you run free to see what was REALLY used?

              Used is like 702, I changed the response above.

              I'm not going to be confident in that number till someone shows me the real free -m output rather than something translated for me.

              stacksofplatesS 1 Reply Last reply Reply Quote 0
              • IT-ADMINI
                IT-ADMIN @scottalanmiller
                last edited by

                @scottalanmiller said:

                @wirestyle22 said:

                @IT-ADMIN said:

                anyway it is another discussion about hypervisors we made it 6 months ago,

                why it is recomended to make apache and mysql in seperate servers ??

                because they compete heavily for physical resources and they scale at different rates

                No, that's not an issue. Specifically the issue is the potential to write code that relies on locality.

                please dear scott can you clear you point here, i'm not sure i understood you

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @wirestyle22
                  last edited by

                  @wirestyle22 said:

                  @scottalanmiller said:

                  @IT-ADMIN said:

                  what makes apache not playing well with mysql if they are on the same server ??

                  They play fine, it's you we are trying to alter.

                  Q: Is this assuming he has a rather large server to expand into? The differing rates can be a big problem, no? I always looked at VM's as a means to make system resources more economical.

                  Assuming two individual VMs or one with the resources of those two.

                  wirestyle22W 1 Reply Last reply Reply Quote 0
                  • wirestyle22W
                    wirestyle22 @scottalanmiller
                    last edited by

                    @scottalanmiller said:

                    @wirestyle22 said:

                    @scottalanmiller said:

                    @IT-ADMIN said:

                    what makes apache not playing well with mysql if they are on the same server ??

                    They play fine, it's you we are trying to alter.

                    Q: Is this assuming he has a rather large server to expand into? The differing rates can be a big problem, no? I always looked at VM's as a means to make system resources more economical.

                    Assuming two individual VMs or one with the resources of those two.

                    I guess this means that you just have to calculate the growth rate and account for that. I see your point.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @IT-ADMIN
                      last edited by

                      @IT-ADMIN said:

                      @scottalanmiller said:

                      @wirestyle22 said:

                      @IT-ADMIN said:

                      anyway it is another discussion about hypervisors we made it 6 months ago,

                      why it is recomended to make apache and mysql in seperate servers ??

                      because they compete heavily for physical resources and they scale at different rates

                      No, that's not an issue. Specifically the issue is the potential to write code that relies on locality.

                      please dear scott can you clear you point here, i'm not sure i understood you

                      Running local you can very easily get into doing things like copying database files, trying to look at file instead of properly database interfaces, trying to use local files instead of network interfaces, etc.

                      dafyreD 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @wirestyle22
                        last edited by

                        @wirestyle22 said:

                        @scottalanmiller said:

                        @wirestyle22 said:

                        @scottalanmiller said:

                        @IT-ADMIN said:

                        what makes apache not playing well with mysql if they are on the same server ??

                        They play fine, it's you we are trying to alter.

                        Q: Is this assuming he has a rather large server to expand into? The differing rates can be a big problem, no? I always looked at VM's as a means to make system resources more economical.

                        Assuming two individual VMs or one with the resources of those two.

                        I guess this means that you just have to calculate the growth rate and account for that. I see your point.

                        You have to do that anyway 🙂

                        wirestyle22W 1 Reply Last reply Reply Quote 0
                        • wirestyle22W
                          wirestyle22 @scottalanmiller
                          last edited by

                          @scottalanmiller said:

                          @wirestyle22 said:

                          @scottalanmiller said:

                          @wirestyle22 said:

                          @scottalanmiller said:

                          @IT-ADMIN said:

                          what makes apache not playing well with mysql if they are on the same server ??

                          They play fine, it's you we are trying to alter.

                          Q: Is this assuming he has a rather large server to expand into? The differing rates can be a big problem, no? I always looked at VM's as a means to make system resources more economical.

                          Assuming two individual VMs or one with the resources of those two.

                          I guess this means that you just have to calculate the growth rate and account for that. I see your point.

                          You have to do that anyway 🙂

                          I realized that when you made a point without making a point. I shake my head at myself sometimes

                          1 Reply Last reply Reply Quote 1
                          • dafyreD
                            dafyre @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            @IT-ADMIN said:

                            @scottalanmiller said:

                            @wirestyle22 said:

                            @IT-ADMIN said:

                            anyway it is another discussion about hypervisors we made it 6 months ago,

                            why it is recomended to make apache and mysql in seperate servers ??

                            because they compete heavily for physical resources and they scale at different rates

                            No, that's not an issue. Specifically the issue is the potential to write code that relies on locality.

                            please dear scott can you clear you point here, i'm not sure i understood you

                            Running local you can very easily get into doing things like copying database files, trying to look at file instead of properly database interfaces, trying to use local files instead of network interfaces, etc.

                            By writing your code to expect the database server to be on a different server than the web interface, it makes the system more scaleable as well... Even if you are just writing this to be used internally.

                            wirestyle22W 1 Reply Last reply Reply Quote 1
                            • wirestyle22W
                              wirestyle22 @dafyre
                              last edited by wirestyle22

                              @dafyre said:

                              @scottalanmiller said:

                              @IT-ADMIN said:

                              @scottalanmiller said:

                              @wirestyle22 said:

                              @IT-ADMIN said:

                              anyway it is another discussion about hypervisors we made it 6 months ago,

                              why it is recomended to make apache and mysql in seperate servers ??

                              because they compete heavily for physical resources and they scale at different rates

                              No, that's not an issue. Specifically the issue is the potential to write code that relies on locality.

                              please dear scott can you clear you point here, i'm not sure i understood you

                              Running local you can very easily get into doing things like copying database files, trying to look at file instead of properly database interfaces, trying to use local files instead of network interfaces, etc.

                              By writing your code to expect the database server to be on a different server than the web interface, it makes the system more scaleable as well... Even if you are just writing this to be used internally.

                              You mean because it assumes that single system running VM's will eventually not be enough, correct?

                              dafyreD scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • stacksofplatesS
                                stacksofplates @scottalanmiller
                                last edited by

                                @scottalanmiller said:

                                @johnhooks said:

                                @scottalanmiller said:

                                @johnhooks said:

                                @scottalanmiller said:

                                @johnhooks said:

                                Ya mine's using close to 2GB

                                0_1456429832423_Screenshot 2016-02-25 at 2.50.20 PM.png

                                Are you sure? I don't think that tool tell syou how much is used.

                                That's the RAM for each VM and the host. 8% is allocated for the dom0.

                                I mean, didi you run free to see what was REALLY used?

                                Used is like 702, I changed the response above.

                                I'm not going to be confident in that number till someone shows me the real free -m output rather than something translated for me.

                                ok......

                                0_1456430841521_Screenshot 2016-02-25 at 3.05.57 PM.png

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • dafyreD
                                  dafyre @wirestyle22
                                  last edited by

                                  @wirestyle22 said:

                                  @dafyre said:

                                  @scottalanmiller said:

                                  @IT-ADMIN said:

                                  @scottalanmiller said:

                                  @wirestyle22 said:

                                  @IT-ADMIN said:

                                  anyway it is another discussion about hypervisors we made it 6 months ago,

                                  why it is recomended to make apache and mysql in seperate servers ??

                                  because they compete heavily for physical resources and they scale at different rates

                                  No, that's not an issue. Specifically the issue is the potential to write code that relies on locality.

                                  please dear scott can you clear you point here, i'm not sure i understood you

                                  Running local you can very easily get into doing things like copying database files, trying to look at file instead of properly database interfaces, trying to use local files instead of network interfaces, etc.

                                  By writing your code to expect the database server to be on a different server than the web interface, it makes the system more scaleable as well... Even if you are just writing this to be used internally.

                                  You mean because it assumes that single system running VM's will eventually not be enough, correct?

                                  Right. It makes it easier to add another web server to the mix, or another database server... I've never had an application scale to that large, but the code was in there so that it could.

                                  wirestyle22W 1 Reply Last reply Reply Quote 0
                                  • wirestyle22W
                                    wirestyle22 @dafyre
                                    last edited by

                                    @dafyre said:

                                    @wirestyle22 said:

                                    @dafyre said:

                                    @scottalanmiller said:

                                    @IT-ADMIN said:

                                    @scottalanmiller said:

                                    @wirestyle22 said:

                                    @IT-ADMIN said:

                                    anyway it is another discussion about hypervisors we made it 6 months ago,

                                    why it is recomended to make apache and mysql in seperate servers ??

                                    because they compete heavily for physical resources and they scale at different rates

                                    No, that's not an issue. Specifically the issue is the potential to write code that relies on locality.

                                    please dear scott can you clear you point here, i'm not sure i understood you

                                    Running local you can very easily get into doing things like copying database files, trying to look at file instead of properly database interfaces, trying to use local files instead of network interfaces, etc.

                                    By writing your code to expect the database server to be on a different server than the web interface, it makes the system more scaleable as well... Even if you are just writing this to be used internally.

                                    You mean because it assumes that single system running VM's will eventually not be enough, correct?

                                    Right. It makes it easier to add another web server to the mix, or another database server... I've never had an application scale to that large, but the code was in there so that it could.

                                    Makes sense to me.

                                    1 Reply Last reply Reply Quote 0
                                    • IT-ADMINI
                                      IT-ADMIN
                                      last edited by

                                      @dafyre i just take a look over RedBeanPHP framework, it looks great, but it is working with OOP method not procedural method, so i supposed you are following OOP method isn't it ???

                                      dafyreD scottalanmillerS 2 Replies Last reply Reply Quote 0
                                      • IT-ADMINI
                                        IT-ADMIN
                                        last edited by

                                        it is similar to EJB in J2EE, modeling framework that facilitate DB managment

                                        1 Reply Last reply Reply Quote 0
                                        • dafyreD
                                          dafyre @IT-ADMIN
                                          last edited by

                                          @IT-ADMIN said:

                                          @dafyre i just take a look over RedBeanPHP framework, it looks great, but it is working with OOP method not procedural method, so i supposed you are following OOP method isn't it ???

                                          Yeah. The bit of my code that deals with ReadBean is definitely OOP.

                                          1 Reply Last reply Reply Quote 0
                                          • IT-ADMINI
                                            IT-ADMIN
                                            last edited by

                                            great, so i will tried to use this framework because really i liked it, wow it reduce a massive amount of time of coding SQL queries, everything function is ready(store, delete, update ) thank you for this advice

                                            dafyreD scottalanmillerS 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 22
                                            • 23
                                            • 8 / 23
                                            • First post
                                              Last post