FWH, VPN and SMB

FWH, VPN and SMB

Postby driessen » Fri Apr 17, 2020 4:19 pm

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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH, VPN and SMB

Postby Horizon » Fri Apr 17, 2020 4:59 pm

Database?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH, VPN and SMB

Postby driessen » Fri Apr 17, 2020 6:52 pm

DBF-files with CDX RDD
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH, VPN and SMB

Postby Horizon » Fri Apr 17, 2020 7:01 pm

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 & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH, VPN and SMB

Postby Antonio Mart. » Fri Apr 17, 2020 7:53 pm

My options:

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


Interesting: https://groups.google.com/forum/#!searc ... QDOekav30J
Antonio Mart.
 
Posts: 174
Joined: Sat Feb 23, 2013 10:04 am

Re: FWH, VPN and SMB

Postby stefano » Fri Apr 17, 2020 7:55 pm

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
stefano
 
Posts: 80
Joined: Tue Mar 25, 2008 9:03 pm
Location: ITALIA

Re: FWH, VPN and SMB

Postby driessen » Fri Apr 17, 2020 9:03 pm

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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH, VPN and SMB

Postby Horizon » Sat Apr 18, 2020 11:09 am

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 & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: FWH, VPN and SMB

Postby Marcelo Via Giglio » Sat Apr 18, 2020 11:07 pm

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
Marcelo Via Giglio
 
Posts: 1065
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: FWH, VPN and SMB

Postby Otto » Sun Apr 19, 2020 10:26 pm

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
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Re: FWH, VPN and SMB

Postby driessen » Sun Apr 19, 2020 10:42 pm

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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH, VPN and SMB

Postby Marc Vanzegbroeck » Mon Apr 20, 2020 6:21 am

Michel,

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

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: FWH, VPN and SMB

Postby driessen » Mon Apr 20, 2020 6:45 am

Just a single Windows 10 PC.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: FWH, VPN and SMB

Postby Marc Vanzegbroeck » Mon Apr 20, 2020 6:59 am

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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: FWH, VPN and SMB

Postby Otto » Mon Apr 20, 2020 8:48 am

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
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 50 guests