FWH, VPN and SMB

User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

FWH, VPN and SMB

Post by driessen »

Hello,

A lot of my customers want to work from home due to the corona crisis.

Their IT-supplier installed a VPN, so they can make a connection from their PC or laptop at home to the server at the office.

If my applications are used, everything is going just fine, as long as only one user is running it.
If two or more user start working with my application, everything is starting to be very, very, very slow. And I'm talking about minutes, not seconds.

I have been told that SMB (1, 2 of 3) might be the problem.

If so, what can I do to make my application run much faster?

Thanks a lot in advance for any help.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH, VPN and SMB

Post by Horizon »

Database?
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH, VPN and SMB

Post by driessen »

DBF-files with CDX RDD
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH, VPN and SMB

Post by Horizon »

driessen wrote:DBF-files with CDX RDD
I am not expert as other friends, but I do not expect speed in dbf condition via internet. VPN is just a security.

I have the same problem like you. I have started to migrate my application MariaDB quickly. I expect more speed than dbf.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
Antonio Mart.
Posts: 174
Joined: Sat Feb 23, 2013 10:04 am

Re: FWH, VPN and SMB

Post by Antonio Mart. »

My options:

1st. Terminal Server
2nd. LETODbf (not equal that LETODb)


Interesting: https://groups.google.com/forum/#!searc ... QDOekav30J
stefano
Posts: 80
Joined: Tue Mar 25, 2008 9:03 pm
Location: ITALIA

Re: FWH, VPN and SMB

Post by stefano »

I also work in smart working and my modest program works very well

(home pc) vpn -> remote desktop office pc (executable) -> server (DBF archives)
FWH 14.11 + xHarbour + bcc582
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH, VPN and SMB

Post by driessen »

I want to add some more information.

At the office of my customer, all user have a laptop, which they take home to work from home.
So there is no PC to connect to.
They run the executable from their laptop, using the database on the server through a VPN-connection.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: FWH, VPN and SMB

Post by Horizon »

Hi,

I think the fastest solution is remote desktop connection.

If you don't want to install it database server. You can reserve one w7 desktop in office and users can connect this computer. There is some hacks for more than one remote desktop connection in w7.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
Marcelo Via Giglio
Posts: 1033
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: FWH, VPN and SMB

Post by Marcelo Via Giglio »

Hello,

to have a enviroment C/S the use of DBF is not the way, for this aproach is better to use some Database and SQL

Other solution is WinFlector

Saludos

Marcelo
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: FWH, VPN and SMB

Post by Otto »

Hello Michel,
Install remote desktop.
Create for every PC you have in the office a directory and clone the local dirs to the server.
Then create for every user a user account. This is the way to go.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH, VPN and SMB

Post by driessen »

Hello Otto,

Thanks a lot for your reply.
Problem is that there are no PC 's at the office right now.
At the office, all users have a laptop.
Since everyone is working from home, they take their laptop home.
So there is no PC at the office to install any form of remote desktop anymore.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Re: FWH, VPN and SMB

Post by Marc Vanzegbroeck »

Michel,

On which PC is the database then stored?
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH, VPN and SMB

Post by driessen »

Just a single Windows 10 PC.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Re: FWH, VPN and SMB

Post by Marc Vanzegbroeck »

Then you can install Windows Server on it, with enough CALs, so the customers can log in with RDP. Then you don't have to change anything in the program.

The best way of course is using SQL :D
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: FWH, VPN and SMB

Post by Otto »

Why SQL - no advantages. Use a dedicated RDP server and the file system.
No layers in between. Why complicating if there are no advantages.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
Post Reply