mySQL connect and slowness experienced
Posted: Sat Jan 14, 2017 7:35 pm
My name is Hans from Switzerland and I had a chance to play around with Livecode for some weeks now. I have a technical background and work with professional programmers. They have not been into Livecode yet.
I am personally using Windows 10, 64bit and Android. As I seem to understand, most users here are into Apple Macintosh and iPhone side?
Well, my intention is to use Livecode with experienced developers in a highly professional environment. I am not yet sure if this is possible. This is also my core competence, not as a core developer myself, but as a project manager for application development and with experience for over 20 years in this field.
---
I am now testing Livecode 8.1.2. Playing around I found that 2 x it completely crashed. And often enough on my Windows laptop, it stops for a while having the wheel spinning (Windows suspend mode) and it may take a while for the Livecode to recover.
And I was testing the direct database connection today using a MySQL database on a not too far away server provided for not much money from a service provider: Connection, downloading the names of all tables of a database instance, downloading then the details of tables, and then some small amount of test data. This works in general.
I noticed that even some seconds of inactivity close the database connection. Maybe it is an issue to solve on the server side?
But what I find is that Livecode IDE seems to be awfully slow. The speed is varying for connecting or receiving table definitions or receiving selected user entered data. But it was never below 2 seconds for about 10 rows and it may take 5 seconds or more to retrieve and indexed list of names. Especially retrieving table definitions is taking a lot of time. Since this is NOT the case using other programs, I am just wondering if this is "normal"?
Also, what I find (I once tested version 7 and 6) that the desktop application version 8.1.2 of LiveCode somehow is slower and feels "sticky". For example, opening the script editor with not a very big script, and then changing the window, selecting the message box and executing a command handler from there takes noticeable time until even the mouse can enter the message box field. Well, it all seems to be such a nice framework, but behaving so slowly that this could kill all interest for anything but local hobbyist work.
Maybe it is just me or my experience. But to be highly professional for enterprise development - I would not yet risk such step to recommend to customers. Nevertheless, I am monitoring and wishing to see that these versions become more stable and much more performant and responsive to user entries and actions.
I would be glad to go for the enterprise version and pay for that. But currently, I can not yet see the acceptance. Nevertheless, I am looking with a big hopeful eye.
Could someone possibly tell me that I am doing something wrong using direct MySQL connections and why it is "sooooo" slow and non-performant?

I am personally using Windows 10, 64bit and Android. As I seem to understand, most users here are into Apple Macintosh and iPhone side?
Well, my intention is to use Livecode with experienced developers in a highly professional environment. I am not yet sure if this is possible. This is also my core competence, not as a core developer myself, but as a project manager for application development and with experience for over 20 years in this field.
---
I am now testing Livecode 8.1.2. Playing around I found that 2 x it completely crashed. And often enough on my Windows laptop, it stops for a while having the wheel spinning (Windows suspend mode) and it may take a while for the Livecode to recover.
And I was testing the direct database connection today using a MySQL database on a not too far away server provided for not much money from a service provider: Connection, downloading the names of all tables of a database instance, downloading then the details of tables, and then some small amount of test data. This works in general.
I noticed that even some seconds of inactivity close the database connection. Maybe it is an issue to solve on the server side?
But what I find is that Livecode IDE seems to be awfully slow. The speed is varying for connecting or receiving table definitions or receiving selected user entered data. But it was never below 2 seconds for about 10 rows and it may take 5 seconds or more to retrieve and indexed list of names. Especially retrieving table definitions is taking a lot of time. Since this is NOT the case using other programs, I am just wondering if this is "normal"?
Also, what I find (I once tested version 7 and 6) that the desktop application version 8.1.2 of LiveCode somehow is slower and feels "sticky". For example, opening the script editor with not a very big script, and then changing the window, selecting the message box and executing a command handler from there takes noticeable time until even the mouse can enter the message box field. Well, it all seems to be such a nice framework, but behaving so slowly that this could kill all interest for anything but local hobbyist work.
Maybe it is just me or my experience. But to be highly professional for enterprise development - I would not yet risk such step to recommend to customers. Nevertheless, I am monitoring and wishing to see that these versions become more stable and much more performant and responsive to user entries and actions.
I would be glad to go for the enterprise version and pay for that. But currently, I can not yet see the acceptance. Nevertheless, I am looking with a big hopeful eye.
Could someone possibly tell me that I am doing something wrong using direct MySQL connections and why it is "sooooo" slow and non-performant?
