Results 1 to 1 of 1
  1. #1
    mainy is offline Member
    Join Date
    Feb 2009
    Rep Power

    Default May need to scap project again, is there a way to increase connection times?


    I have built an application that sends lots of SQL queries to a MySql database. The program dynamically displays a buttons, spinners and checkboxes depending on what category is selected from a ComboBox. To achieve this, it uses lots of methods and public variables that I made. On a machine with a local database there is no lag and it works fine. The problem is, as soon as I made the database remote (which is required for this application to be useful) it takes a good 8/10 seconds to do anything when a category is selected,

    Is there anyway to make a remote connected database as fast as a local one? I read up about connection pools but unsure if this will help.

    Please, any guidance will be appreciated. This is the third try at this software I have in mind what I want to achieve. It is now essentially finished but if I cant get rid of the delay issue in using a remote database I will have to start from scratch again.

    Ps. Could the delay have anything to do with the fact I am temporary using a Free webhost until I know the application is full functional?
    Last edited by mainy; 08-12-2009 at 08:49 PM.

Similar Threads

  1. increase pixel size
    By rosh72851 in forum New To Java
    Replies: 9
    Last Post: 07-31-2012, 08:30 PM
  2. why the number will not increase?
    By rayda in forum New To Java
    Replies: 3
    Last Post: 03-16-2009, 06:47 AM
  3. Increase signature length?
    By xcallmejudasx in forum Suggestions & Feedback
    Replies: 3
    Last Post: 12-18-2008, 07:04 PM
  4. Replies: 3
    Last Post: 09-27-2008, 05:46 AM
  5. gridbaglayout: increase/decrease size of components.
    By newtojava7 in forum New To Java
    Replies: 2
    Last Post: 01-28-2008, 08:22 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