Thread: Slow VPS or pc to run Intellij IDE? Quick fix

Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 43
  1. #31  
    Registered Member
    Join Date
    Dec 2013
    Posts
    318
    Thanks given
    110
    Thanks received
    73
    Rep Power
    309
    Quote Originally Posted by idrc View Post
    But the thing is tho Omar, I never mentioned this tutorial was meant for development or to code on your rsps. I strictly said might be handy for those running Kronos (which I haven't seen anyone run without using an IDE). When you import a project generally you need to build it.

    And then again, none of us have to purchase a bigger vps. In this persons particular case, they are looking to have around 10 players active. Do you really need a 4gb+ vps to manage this? Not really...

    If you had 1000 players I'd say start upgrading to bigger plan but if your project isn't going to host a lot of players, whats the big deal then.
    I can't agree with your comments.
    Code:
    gradle build
    should spit out a jar file?
    Reply With Quote  
     

  2. #32  
    Extreme Donator


    Rythe's Avatar
    Join Date
    Dec 2019
    Age
    28
    Posts
    361
    Thanks given
    303
    Thanks received
    172
    Discord
    View profile
    Rep Power
    590
    Quote Originally Posted by Kiissmyswagb View Post
    I can't agree with your comments.
    Code:
    gradle build
    should spit out a jar file?
    I never knew this, so thanks actually.

    But like I said, I've never seen someone do it.
    Reply With Quote  
     

  3. #33  
    Registered Member
    Join Date
    Dec 2013
    Posts
    318
    Thanks given
    110
    Thanks received
    73
    Rep Power
    309
    Quote Originally Posted by idrc View Post
    I never knew this, so thanks actually.
    if it doesn't, add something similar to your build.gradle

    Code:
    jar {
        manifest {
            attributes "Main-Class": mainClassName
        }
        baseName = 'WC-server-DEV01'
        from {
            configurations
                    .compile
                    .findAll { !it.name.endsWith('pom') }
                    .collect { it.isDirectory() ? it : zipTree(it) }
        }
    }
    Reply With Quote  
     

  4. Thankful user:


  5. #34  
    what the dog doin

    mikan's Avatar
    Join Date
    Aug 2017
    Posts
    938
    Thanks given
    707
    Thanks received
    747
    Discord
    View profile
    Rep Power
    4941
    Quote Originally Posted by Kiissmyswagb View Post
    We're actually upgrading the VM's to Win10 soon
    I'm also contracted at London Stock Exchange who use a different VM, I can screenshot the specs if you are curious on Monday when I'm in the office. Their machines are SHIT.

    As for your points:

    1. It's not uncommon for people to code on their VPSs in the RSPS world. We see it all the time and the OP is a prime example. And yeah I agree with your point that it is because they don't know better.
    2. Snapshots etc., is no longer a problem. Most providers allow snapshotting (e.g. GoDaddy, Heroku, Google Cloud, OVH, ) if that's what you need and they support up-scaling. Additionally, you're not abusing a VPS by installing Eclipse/Intellij and developing on it.
    Performance isn't terrible, Eclipse especially doesn't really lag on the low spec machines (from experience). Intellij can be tuned.

    I have no issue with people coding on their VPS and running their servers through their IDE's especially if they have the resources to do so.

    I'll accept some real counter arguments if people wish to provide that is applicable to current RSPS owners and their current processes.
    Otherwise, let's end the conversation here.
    yeah not gonna continue arguing with someone as dumb as you, good luck though
    Reply With Quote  
     

  6. Thankful users:


  7. #35  
    Registered Member
    Join Date
    Dec 2013
    Posts
    318
    Thanks given
    110
    Thanks received
    73
    Rep Power
    309
    Quote Originally Posted by cis priviledge View Post
    yeah not gonna continue arguing with someone as dumb as you, good luck though
    You gave no argument to your point. No justifiable reasons at all. Nobody is arguing, you just decided to hop on.

    To everyone else supporting the claim without any reasons either, you don't deserve anything.

    Just to fess up Corey's reason "RSPS isn't the real world" isn't an argument. K thanks.
    Reply With Quote  
     

  8. #36  
    🎶 As you're falling down 🎶

    uint32_t's Avatar
    Join Date
    Feb 2015
    Posts
    1,355
    Thanks given
    5,812
    Thanks received
    666
    Discord
    View profile
    Rep Power
    3846
    Quote Originally Posted by Kiissmyswagb View Post
    I just want to comment as a response to the people who say developing on a VPS is bad...

    Developing on a virtual environment is extremely common in the real world! A lot of people use Citrix to manage that, hyper-v etc. All my development in environments at my last 2 work places where all done in VM's, you'd simply spin up a dev machine and start coding. The same for the testing environments.
    And for the other people, you should be using headless windows servers if you're hosting your servers. It gives you all the features you need minus the UI and is cheaper! If you're getting a Windows server with a GUI, don't just get it so you can double click a run.bat and transfer your files across using Mediafire (or whatever). OP is very acceptable.

    Do not flame the OP for providing a very relevant solution to a real world problem. (OP: the settings need to be tailored properly as they're wrong for a "2GB" VPS)
    This is slightly off-topic but since you don't seem to get the point, using a virtual development environment is entirely different than developing on your production environment... Having a separate environment for development and production is super important, I would never work at a job where you can't have a separate development environment and instead have to develop directly on production. Been there, done that, never again.

    OP, this is a good tutorial as it's helpful for local development environments for sure, but the proper way of running an RSPS is definitely not running an IDE on production and I want to make that very clear to everyone here.
    [Only registered and activated users can see links. ]

    Quote Originally Posted by Idiot Bird View Post
    Quote Originally Posted by Velocity View Post
    lol np mate looks like the community brought ur rep down to ur IQ
    Not too sure about that, it's at 0 . It would have to go minus to even be remotely close to his IQ.
    Reply With Quote  
     

  9. #37  
    Registered Member
    Join Date
    Dec 2013
    Posts
    318
    Thanks given
    110
    Thanks received
    73
    Rep Power
    309
    Quote Originally Posted by uint32_t View Post
    This is slightly off-topic but since you don't seem to get the point, using a virtual development environment is entirely different than developing on your production environment... Having a separate environment for development and production is super important.
    You have given no reasons on why this is the case. Nobody has.
    Reply With Quote  
     

  10. #38  
    🎶 As you're falling down 🎶

    uint32_t's Avatar
    Join Date
    Feb 2015
    Posts
    1,355
    Thanks given
    5,812
    Thanks received
    666
    Discord
    View profile
    Rep Power
    3846
    Quote Originally Posted by Kiissmyswagb View Post
    You have given no reasons on why this is the case. Nobody has.
    How would you test your changes without having downtime? What if you introduce a massive bug and because it's live, players are now experiencing it in real time, and now you have to fix it AND clean it up. Your production environment should not be the same thing as your development environment. The fact that you cannot understand this me tells me you have never worked for an actual company as a developer. Someone with experience working as a developer should not need this explained, it's common sense.

    I almost feel like I'm being trolled at this point.
    [Only registered and activated users can see links. ]

    Quote Originally Posted by Idiot Bird View Post
    Quote Originally Posted by Velocity View Post
    lol np mate looks like the community brought ur rep down to ur IQ
    Not too sure about that, it's at 0 . It would have to go minus to even be remotely close to his IQ.
    Reply With Quote  
     

  11. #39  
    SiteTrec Hosting

    Project's Avatar
    Join Date
    Dec 2010
    Posts
    2,674
    Thanks given
    1,033
    Thanks received
    829
    Rep Power
    1072
    It's good practice to have a staging and a live environment.

    A lot of people are confused to the argument on this thread.

    The argument here is that it's poor practice to develop on a virtual private server as well as operate the live game on the same machine. In most cases, actual businesses will have development on virtual machines, but again, this is a private server community.

    It's bad practice because:
    1. Most people who run a Virtual Server often have no idea how to secure it. Why would you leave the source code open on something most people have no means to secure?
    2. IDE's consume a lot of resources, and most people don't purchase high-end machines. This is a waste of resources, when you could easily run a jar or bash script to run your server.
    3. There should always be a production/staging and a live environment, as we all might have experienced there are a lot of unforeseen incidents that can occur, such as data loss, irreversible changes, and since this is "RSPS" a lot of you trust people you shouldn't. It might be necessary to pull from the live or vice versa, from the production server to revert these types of issues.
    DDOS PROTECTED WEB & VPS AT AN AFFORDABLE COST
    Reply With Quote  
     

  12. Thankful users:


  13. #40  
    Extreme Donator


    Rythe's Avatar
    Join Date
    Dec 2019
    Age
    28
    Posts
    361
    Thanks given
    303
    Thanks received
    172
    Discord
    View profile
    Rep Power
    590
    Well regardless thank you for telling me that I could run the server without an IDE, that helps a lot. As still again new to me, so I just export to a jar and then the source can be ran? Thanks guys

    Quote Originally Posted by uint32_t View Post
    OP, this is a good tutorial as it's helpful for local development environments for sure, but the proper way of running an RSPS is definitely not running an IDE on production and I want to make that very clear to everyone here.
    Thanks ken
    Reply With Quote  
     

Page 4 of 5 FirstFirst ... 2345 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 2
    Last Post: 03-15-2014, 06:31 PM
  2. Linux Vps (GEtting it to run)
    By Infected-Pkz in forum Help
    Replies: 5
    Last Post: 07-20-2012, 10:17 PM
  3. Replies: 15
    Last Post: 10-11-2009, 10:26 AM
  4. Replies: 1
    Last Post: 08-18-2009, 12:10 AM
  5. Replies: 6
    Last Post: 05-19-2009, 09:33 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •