Thread: Best Database Software for RSPS/Runescape?

Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 42
  1. #11  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,074
    Thanks given
    2,625
    Thanks received
    3,578
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by iLankan View Post
    @Graham

    I know Java is free, but i meant to say they probably have their own software to handle that stuff.

    Anyways, thank you for your ideas and input.
    Do you think that it would be easy to use InoDB or MyISAM? Like would i have to learn it on my own or is it user friendly and related to MySQL in a way?
    InnoDB and MyISAM are different storage engines within MySQL itself. You can use a tool such as phpmyadmin to see whether your tables are InnoDB or MyISAM and also to change them.
    .
    Reply With Quote  
     

  2. #12  
    Registered Member thiefmn6092's Avatar
    Join Date
    Dec 2006
    Age
    21
    Posts
    2
    Thanks given
    26
    Thanks received
    389
    Rep Power
    0
    MySQL only has bad performance when the programmer writing code to use it, or if they are designing it, is ignorant. A database server isn't going to magically go fast.

    You'd be amazed at the performance gains one will see when queries are written with even the smallest optimizations
    [Only registered and activated users can see links. ]

    If you are a starter and want to learn rsps coding, i think that the server that fits most of your requests is deathlypvpz.
    I know some stone heads will flame and say its shit, i completely agree buy deathlypvpz is the best thing to start with.
    And you must do some Java courses in codecademy to improve yourself.
    Reply With Quote  
     

  3. Thankful users:


  4. #13  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    27
    Posts
    16,200
    Thanks given
    7,190
    Thanks received
    12,174
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Graham View Post
    Do you think they use their own operating system to run RS servers? Almost certainly not.

    A database server which provided the same level of functionality as something like MySQL would also be quite a complex project like the above example which I can't see them doing...
    ive no idea how hard it would be to replicate such software, all i'm saying is that they do tend to use their own stuff rather than others, which is why i'd guess that they use their own .

    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  5. #14  
    Donator


    Join Date
    Mar 2008
    Posts
    1,945
    Thanks given
    118
    Thanks received
    201
    Rep Power
    2104
    Quote Originally Posted by Graham View Post
    Do you think they use their own operating system to run RS servers? Almost certainly not.

    A database server which provided the same level of functionality as something like MySQL would also be quite a complex project like the above example which I can't see them doing...
    In many of videos and press releases they have said many times RedHat

    Most likely because it is open source OS
    Reply With Quote  
     

  6. #15  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,074
    Thanks given
    2,625
    Thanks received
    3,578
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Lmctruck30 View Post
    In many of videos and press releases they have said many times RedHat

    Most likely because it is open source OS
    It was a rhetorical question
    .
    Reply With Quote  
     

  7. #16  
    Registered Member thiefmn6092's Avatar
    Join Date
    Dec 2006
    Age
    21
    Posts
    2
    Thanks given
    26
    Thanks received
    389
    Rep Power
    0
    Quote Originally Posted by Lmctruck30 View Post
    In many of videos and press releases they have said many times RedHat

    Most likely because it is open source OS
    i am pretty sure they would be using Redhat for the commercial support they provide for the system instead of the fact it's open source (just like just about every other Linux distribution is also)
    [Only registered and activated users can see links. ]

    If you are a starter and want to learn rsps coding, i think that the server that fits most of your requests is deathlypvpz.
    I know some stone heads will flame and say its shit, i completely agree buy deathlypvpz is the best thing to start with.
    And you must do some Java courses in codecademy to improve yourself.
    Reply With Quote  
     

  8. #17  
    Registered Member
    TORONTO's Avatar
    Join Date
    Feb 2010
    Age
    27
    Posts
    873
    Thanks given
    348
    Thanks received
    212
    Rep Power
    92
    Quote Originally Posted by thiefmn6092 View Post
    i am pretty sure they would be using Redhat for the commercial support they provide for the system instead of the fact it's open source (just like just about every other Linux distribution is also)
    Wait so some of their main Servers are Linux based?

    Smart people i guess

    Quote Originally Posted by thiefmn6092 View Post
    MySQL only has bad performance when the programmer writing code to use it, or if they are designing it, is ignorant. A database server isn't going to magically go fast.

    You'd be amazed at the performance gains one will see when queries are written with even the smallest optimizations
    Okay so if i had a simple method which executes a Delete and Insert query, how would i optimize this.
    Code:
        public static boolean online(int x) {
            try {
            query("DELETE FROM `online` WHERE id = 1;");
            query("INSERT INTO `online` (id, currentlyonline) VALUES('1','"+x+"');");
            } catch (Exception e) {
                e.printStackTrace();
                return false;
            }
            return true;
        }
    The reason i am asking is because i want to know which ways you use to "optimize" your code. Like in my opinion, i think all of the stuff in there is necessary, but i don't understand how you could optimize something like that. Or i might just be really stupid :\
    retired from RSPS for good

    EDIT:
    I came back one last time just to thank this post:
    [SPOIL]
    [/SPOIL]
    Reply With Quote  
     

  9. #18  
    Registered Member thiefmn6092's Avatar
    Join Date
    Dec 2006
    Age
    21
    Posts
    2
    Thanks given
    26
    Thanks received
    389
    Rep Power
    0
    Quote Originally Posted by iLankan View Post
    Wait so some of their main Servers are Linux based?

    Smart people i guess



    Okay so if i had a simple method which executes a Delete and Insert query, how would i optimize this.
    Code:
        public static boolean online(int x) {
            try {
            query("DELETE FROM `online` WHERE id = 1;");
            query("INSERT INTO `online` (id, currentlyonline) VALUES('1','"+x+"');");
            } catch (Exception e) {
                e.printStackTrace();
                return false;
            }
            return true;
        }
    The reason i am asking is because i want to know which ways you use to "optimize" your code. Like in my opinion, i think all of the stuff in there is necessary, but i don't understand how you could optimize something like that. Or i might just be really stupid :\
    I am sure it's safe to say that their servers are not Windows based... and even more so not Solaris based, which pretty much only leaves Linux when it comes to systems with a large commercial support base (FreeBSD has horrid commercial support for that matter)...

    As for the query, INSERT is a pretty straight forward query set and doesn't really need changes, it's just important to make sure your have a good table design without queries spanning multiple tables for a single logical result
    [Only registered and activated users can see links. ]

    If you are a starter and want to learn rsps coding, i think that the server that fits most of your requests is deathlypvpz.
    I know some stone heads will flame and say its shit, i completely agree buy deathlypvpz is the best thing to start with.
    And you must do some Java courses in codecademy to improve yourself.
    Reply With Quote  
     

  10. Thankful users:


  11. #19  
    Registered Member
    TORONTO's Avatar
    Join Date
    Feb 2010
    Age
    27
    Posts
    873
    Thanks given
    348
    Thanks received
    212
    Rep Power
    92
    Quote Originally Posted by thiefmn6092 View Post
    I am sure it's safe to say that their servers are not Windows based... and even more so not Solaris based, which pretty much only leaves Linux when it comes to systems with a large commercial support base (FreeBSD has horrid commercial support for that matter)...

    As for the query, INSERT is a pretty straight forward query set and doesn't really need changes, it's just important to make sure your have a good table design without queries spanning multiple tables for a single logical result
    I have different databases for each purpose (Payments, Highscores, Votes, etc..) and on top of that i have different tables in each database. I never knew it would create so much lagg. Now i know, thx
    retired from RSPS for good

    EDIT:
    I came back one last time just to thank this post:
    [SPOIL]
    [/SPOIL]
    Reply With Quote  
     

  12. #20  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,246
    Thanks given
    3,283
    Thanks received
    2,874
    Discord
    View profile
    Rep Power
    5000
    Using multiple databases is fine..

    You shouldn't use one for everything.
    Reply With Quote  
     

Page 2 of 5 FirstFirst 1234 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •