Welcome, Guest. Please Login.
05/13/25 at 02:39:24
News:
Home Help Search Login


Poll
Question: Pain medication

Pain medication
Pain medication
Pain medication
Pain medication
Pain medication
Pain medication
Pain medication
Pain medication


« Created by: marygsgsix on: 04/08/08 at 14:46:03 »

Pages: 1 2 
Send Topic Print
Local storage of programs? (Read 3718 times)
kkmfg
Senior Member
****


Ghost of the code

Posts: 375
Gender: male
Local storage of programs?
04/11/07 at 19:05:39
 
I was trying out EvoERP tonight through a VPN connection. It works but very slowly. It got me to thinking that it might be nice if the .RUN and .RWN files were stored locally on each machine so that they don't need to be transferred over the connection each time they are run. It turns out that TAS7 can do such a thing. The only real catch seems to be that there must be a way to keep the local versions in sync with the server. That's easy enough using checksum calculations on the run files. But, is there anything I'm missing? If not would anyone else be interested in such a thing? I think it could really help over slower links (like VPN.) It might even be cool if rsync was used to keep the run files in sync between all of the machines.
 
As a side question: Who else has tried using VPN to connect to EvoERP? What are your experiences with it?
Back to top
 
 

Collin
K & K Manufacturing, Inc

EvoERP Version 1-22-10 SP3
5 User Workgroup Pervasive 10
Email WWW   IP Logged
kevind
Active Member
*****


I was more than
willing to
"pony up",
how b'out U?

Posts: 634
Gender: male
Re: Local storage of programs?
Reply #1 - 04/12/07 at 07:08:44
 
rsync almost seems like swat'n flies with a Buick for this application.
 
A very simple makefile and a minimal make utility like GNU Make could check for newer files and copy them to the Client.
 
Does rsync run as a daemon?
 
Back to top
 
 

Kevin Damke
Spectronics Corporation
ISTECH 2004.1 7/26/13 SP1 - 20 user
Evo-ERP Build 7/25/13 T7 -7i R6 - 3 user
(Prev version was 2004.1 10/24/12)
(All Patches Installed as of 7/26/13)
Pervasive 2000i SP4 - Crystal Reports V10
Email WWW   IP Logged
JNAPIER
Active Member
*****


Evil-Evo Bad Dog!

Posts: 533
Gender: male
Re: Local storage of programs?
Reply #2 - 04/12/07 at 08:20:56
 
We run 4 shared desktops (Netmeeting) across a VPN (NetGear to NetGear Routers). DBA is obviously faster than EVO. EVO loads .RWN or .RUN files about as fast as the programs function in general. Key strokes take forever to see on screen. It works for our needs but I am sure it can be vastly improved upon......
 
 
John
Back to top
 
 

EVO-ERP, ISTS 3.27.08 , 2000I 10 user
Email WWW   IP Logged
kkmfg
Senior Member
****


Ghost of the code

Posts: 375
Gender: male
Re: Local storage of programs?
Reply #3 - 04/12/07 at 09:28:53
 
Quote from kevind on 04/12/07 at 07:08:44:
rsync almost seems like swat'n flies with a Buick for this application.

A very simple makefile and a minimal make utility like GNU Make could check for newer files and copy them to the Client.

Does rsync run as a daemon?


 
Well it IS overkill but I like rsync!  Smiley
 
Yes, make would probably work. It would still probably have to be cygwin make or something because I'm not aware of another GNU compatible free make utility for windows.
Back to top
 
 

Collin
K & K Manufacturing, Inc

EvoERP Version 1-22-10 SP3
5 User Workgroup Pervasive 10
Email WWW   IP Logged
kkmfg
Senior Member
****


Ghost of the code

Posts: 375
Gender: male
Re: Local storage of programs?
Reply #4 - 04/12/07 at 09:35:25
 
Quote from JNAPIER on 04/12/07 at 08:20:56:
We run 4 shared desktops (Netmeeting) across a VPN (NetGear to NetGear Routers). DBA is obviously faster than EVO. EVO loads .RWN or .RUN files about as fast as the programs function in general. Key strokes take forever to see on screen. It works for our needs but I am sure it can be vastly improved upon......

 
I'm using a linksys router with OpenWRT (running openvpn) and then computers on the other end, also running openvpn. Obviously, I'm an open source and linux geek.
 
It takes a while to load up programs but once in it's not so bad typing wise. It's a little slow but usually only when in fields that auto search like when looking up a part number with F2. I'm trying to cut down on load times because they are one of the problems. Database access seems pretty slow as well. Really database access shouldn't be as bad as it seems to be. I think I can safely assume that the archaic btrieve interface is partly to blame. It issues way more function calls and takes way more round trips then an SQL connection would. Not that good ol' Tony at Addsum cares in the least bit.
Back to top
 
 

Collin
K & K Manufacturing, Inc

EvoERP Version 1-22-10 SP3
5 User Workgroup Pervasive 10
Email WWW   IP Logged
kevind
Active Member
*****


I was more than
willing to
"pony up",
how b'out U?

Posts: 634
Gender: male
Re: Local storage of programs?
Reply #5 - 04/12/07 at 09:39:10
 
Quote from kkmfg on 04/12/07 at 09:28:53:

Well it IS overkill but I like rsync! Smiley

Yes, make would probably work. It would still probably have to be cygwin make or something because I'm not aware of another GNU compatible free make utility for windows.

You should definately use what you know works!  Wink
Back to top
 
 

Kevin Damke
Spectronics Corporation
ISTECH 2004.1 7/26/13 SP1 - 20 user
Evo-ERP Build 7/25/13 T7 -7i R6 - 3 user
(Prev version was 2004.1 10/24/12)
(All Patches Installed as of 7/26/13)
Pervasive 2000i SP4 - Crystal Reports V10
Email WWW   IP Logged
kkmfg
Senior Member
****


Ghost of the code

Posts: 375
Gender: male
Re: Local storage of programs?
Reply #6 - 04/12/07 at 12:29:51
 
Quote from kevind on 04/12/07 at 09:39:10:
Quote from kkmfg on 04/12/07 at 09:28:53:

Well it IS overkill but I like rsync! Smiley

Yes, make would probably work. It would still probably have to be cygwin make or something because I'm not aware of another GNU compatible free make utility for windows.

You should definately use what you know works! Wink

 
Yeah, rsync would use less bandwidth on the network connection because it only sends the *difference* in each file from the copy you've already got. If the difference is small then the transfer is small. But it's potentially harder to get setup right. Makefiles would be easy as make does all the checking to see if the source file is newer but it will cause the whole changed file to be transferred. On a big EvoERP update that would be a lot of data to transfer. I have no proof but I'd bet that with the TAS compiler small changes in source code probably reliably yield small changes in bytecode. If that's the case then the actual difference between a fixed version and the old version could be very small.
Back to top
 
 

Collin
K & K Manufacturing, Inc

EvoERP Version 1-22-10 SP3
5 User Workgroup Pervasive 10
Email WWW   IP Logged
kevind
Active Member
*****


I was more than
willing to
"pony up",
how b'out U?

Posts: 634
Gender: male
Re: Local storage of programs?
Reply #7 - 04/12/07 at 13:38:16
 
I noticed that it only shipped across deltas.  I am still on Classic and the .RUN files are generally relatively small.
I didn't realize till now that the TAS 7 .RWN files are generally so large.  I can see where rsync would be a better choice.
 
Depending on how rsync calculates it's deltas, a small change compiled into a RWN might very well result in most of the file getting transfered anyway.
Back to top
 
 

Kevin Damke
Spectronics Corporation
ISTECH 2004.1 7/26/13 SP1 - 20 user
Evo-ERP Build 7/25/13 T7 -7i R6 - 3 user
(Prev version was 2004.1 10/24/12)
(All Patches Installed as of 7/26/13)
Pervasive 2000i SP4 - Crystal Reports V10
Email WWW   IP Logged
Dave Miller
Full Member
***




Posts: 187
Gender: male
Re: Local storage of programs?
Reply #8 - 04/12/07 at 14:19:41
 
I use EVO remotely through a VPN and it in nearly as fast as sitting in the office.
Back to top
 
 

Dave Miller
CTM Magnetics
EvoErp with latest updates
  IP Logged
tdlugosh
Member
**




Posts: 58
Re: Local storage of programs?
Reply #9 - 04/12/07 at 17:06:10
 
Posted by: Dave Miller Posted on: Today at 2:19pm  
I use EVO remotely through a VPN and it in nearly as fast as sitting in the office.  
 
What did you do to make it so fast?  
 
Since I no longer work at the office I use VPN to access DBA.  Thankfully, since I no longer work at the office, I don't have to access DBA very much.  If I did I would not be a happy camper because it's so sloooooow.
 
Could you share your VPN setup?
 
Tom Dlugosh
Back to top
 
 

Classic & EVO-ERP 10/31/06 update
Pervasive 9.5 Client Server W2k3 Standard
  IP Logged
kkmfg
Senior Member
****


Ghost of the code

Posts: 375
Gender: male
Re: Local storage of programs?
Reply #10 - 04/13/07 at 04:29:22
 
Quote from kevind on 04/12/07 at 13:38:16:
I noticed that it only shipped across deltas. I am still on Classic and the .RUN files are generally relatively small.
I didn't realize till now that the TAS 7 .RWN files are generally so large. I can see where rsync would be a better choice.

Depending on how rsync calculates it's deltas, a small change compiled into a RWN might very well result in most of the file getting transfered anyway.

 
Yeah, I have seen some stupid things that rsync does. It does sometimes seem to transfer an aweful lot to sync a small change. I haven't dug into how the rsync algo works though so I can only go by anecdotes and feelings.
Back to top
 
 

Collin
K & K Manufacturing, Inc

EvoERP Version 1-22-10 SP3
5 User Workgroup Pervasive 10
Email WWW   IP Logged
kkmfg
Senior Member
****


Ghost of the code

Posts: 375
Gender: male
Re: Local storage of programs?
Reply #11 - 04/13/07 at 04:40:19
 
Yeah, I'd like to know too because it runs nowhere near full speed for me.  
 
Of course, our business is connected through one dedicated T-1 line so the max bandwidth is in the 190K/s range.  (1.53mb/s) A T-1 line is significantly slower than 100BTX and the route time is significantly longer, on the order of 40-60MS as opposed to .5MS while in the office. If you think about it, 50ms round trips means that the two ends can exchange 20 packets a second (if communication is proceeding serially. Which, with TCP/IP it probably would for the most part). At some points there will be prolonged transfer in one direction but with TCP/IP you get a lot of overhead. I'm running the VPN through UDP to attempt to minimize the packet overhead but it's still slow.
 
So I have to wonder, what sort of connection would you have to have at work and at home to be able to communicate at nearly full speed? Do you use encryption (i'd hope so!)? Do you use compression?
 
It would be nice if someone could provide tips for speeding things up so that nobody has to go to the trouble of hacking extra stuff together (like rsync'ing  the program files over to local or doing more drastic things.)
 
If we can get some tips, tricks, and hints together I'll start a wiki page about VPN and Evo. For that matter, please, anyone who uses VPN with evo, please post your setup for me so that I can compile a list of hardware, software, etc. Thanks!
 
Quote from tdlugosh on 04/12/07 at 17:06:10:
Posted by: Dave Miller Posted on: Today at 2:19pm
I use EVO remotely through a VPN and it in nearly as fast as sitting in the office.

What did you do to make it so fast?

Since I no longer work at the office I use VPN to access DBA. Thankfully, since I no longer work at the office, I don't have to access DBA very much. If I did I would not be a happy camper because it's so sloooooow.

Could you share your VPN setup?

Tom Dlugosh

Back to top
 
 

Collin
K & K Manufacturing, Inc

EvoERP Version 1-22-10 SP3
5 User Workgroup Pervasive 10
Email WWW   IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 784
Gender: male
Re: Local storage of programs?
Reply #12 - 04/13/07 at 06:46:34
 
We use Terminal Server. It works well, it is fast, and not very expensive.
 
Why VPN?
 
 Huh
 
Kelloggs
Back to top
 
 

Evo ERP - 35 Users
Dumped MS Access like a hot potato (VB.Net rules!!!)
Email WWW   IP Logged
kkmfg
Senior Member
****


Ghost of the code

Posts: 375
Gender: male
Re: Local storage of programs?
Reply #13 - 04/13/07 at 09:15:17
 
Quote from Kelloggs on 04/13/07 at 06:46:34:
We use Terminal Server. It works well, it is fast, and not very expensive.

Why VPN?

Huh

Kelloggs

 
Because microsoft and citrix suck.  Wink
 
Seriously, VPN should work too. It allows one to basically be part of the office lan even when they are abroad.  
And... It appears Win2K3 server with a 5 pack of terminal server licenses is $1800. I don't consider that cheap. VPN was totally free for me (and I do consider that cheap). BIG difference.
Back to top
 
 

Collin
K & K Manufacturing, Inc

EvoERP Version 1-22-10 SP3
5 User Workgroup Pervasive 10
Email WWW   IP Logged
kevind
Active Member
*****


I was more than
willing to
"pony up",
how b'out U?

Posts: 634
Gender: male
Re: Local storage of programs?
Reply #14 - 04/13/07 at 09:39:44
 
VPN and Terminal Services are two completely different animals.
 
VPN:  
Server (with data) ------ Network ------- Client PC (execute programs)
 
Programs execute on client PC (all applications must pass through the network)
Data that programs request must pass through the network.
   (Remember that last GL-E you ran on all accounts for 1 day?
    Every record in that GL transaction file was read. )
Total data passing over the network is a huge amount not to mention the VPN overhead.
 
 
Terminal Services:
Server (with data and executes programs)  -------- Network ------- Client PC (renders GDI)
 
Programs execute on the Server.  Only GDI (graphical device interface) API commands pass through
the network and get rendered by all the horsepower of the client PC.
All data gets requested and used internal to the server.  No business data passes through the network.
Total data passing over the network is limited to the GDI API.
 
In terms of bytes per second, there is a significant difference.
 
Back to top
 
 

Kevin Damke
Spectronics Corporation
ISTECH 2004.1 7/26/13 SP1 - 20 user
Evo-ERP Build 7/25/13 T7 -7i R6 - 3 user
(Prev version was 2004.1 10/24/12)
(All Patches Installed as of 7/26/13)
Pervasive 2000i SP4 - Crystal Reports V10
Email WWW   IP Logged
Pages: 1 2 
Send Topic Print