1. ATK Gimmy Susan
  2. PowerBuilder
  3. Wednesday, 12 December 2018 16:19 PM UTC

Good morning Guru

In a big project I have performance problems in using GIT.

There are very long waiting times when the project is opened, the choice of the commit item, etc.

I state that the application uses the PFC and consists of 28 libraries with 1921 objects in total.

 

Tips ?

The thing is unsustainable.

Every suggestion is appreciated

 

GMY

David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Wednesday, 12 December 2018 16:51 PM UTC
  2. PowerBuilder
  3. # 1

The problem with any cloud based SSC is going to be network lag. When it's refreshing the status of objects in a library it has to get the source from the SSC to compare. This will take time for 1,000s of objects.

I do not know enough about GIT, but perhaps it has some sort of caching option for objects?

Personally I would always use a local LAN based SSC, it can still be GIT but on your own local server.

Regards

David

Comment
  1. ATK Gimmy Susan
  2. Wednesday, 12 December 2018 17:07 PM UTC
Hi David

Thank you for your reply, but I think the problem is elsewhere.



I have seen the degradation of performance over time.

It was not always present.

It seems it's always worse.



As a repository i use https://xxxxxxx.visualstudio.com



=(
  1. Helpful
  1. David Peace (Powersoft)
  2. Wednesday, 12 December 2018 17:17 PM UTC
That's rather odd...

So if the performance was originally OK and is now slow what has changed? Clearly the PB has not changed so are there other applications using the GIT repository that could be changing the dynamics of how it is working?



My gut tells be that the delays are network lag s has anything changed in that are either on your LAN or more likely outside of your control?



Sorry I do not have an easy try this option.



Good luck

David

  1. Helpful
  1. ATK Gimmy Susan
  2. Wednesday, 12 December 2018 22:22 PM UTC
It is quite strange.

GIT has a local repository, it do not need to go to the web.



( note: i have SSD disk )
  1. Helpful
There are no comments made yet.
ATK Gimmy Susan Accepted Answer Pending Moderation
  1. Wednesday, 12 December 2018 17:05 PM UTC
  2. PowerBuilder
  3. # 2

.

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 12 December 2018 21:29 PM UTC
  2. PowerBuilder
  3. # 3

1921 objects is small. My application has 13,500 objects in 79 libraries.

Comment
  1. ATK Gimmy Susan
  2. Wednesday, 12 December 2018 22:15 PM UTC
Great, but ......

Did you put it under GIT?

( this is the question. In very small project i have no problem, but in it yes )
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 12 December 2018 23:37 PM UTC
  2. PowerBuilder
  3. # 4

Git is distributed architecture rather than centralized repository so it doesn't make sense you have performance issues even for large projects.  PowerBuilder would be reading/writing to your local Git repository.  Try to use TortoiseGit client to do the same operations you are trying to do in PowerBuilder that have performance problem.  If you also get performance issue with TortoiseGit then there is no defect in PowerBuilder and instead there is something wrong with your Git install/config.

Comment
  1. ATK Gimmy Susan
  2. Thursday, 13 December 2018 03:29 AM UTC


Hi Armeen.

You are right.

The main problem is when:

- open powerbuilder

- open A library tree view

- try commit ( from project )



I suppose:

The problem is because powerbuilder checks the sttaus of any single object in a pbl with the file exported in the file System.



It is very unnerving
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Thursday, 13 December 2018 08:19 AM UTC
If you do not have this problem when using TortoiseGit client and it only happens in PB IDE then please open a support ticket. Thanks.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 13 December 2018 20:36 PM UTC
  2. PowerBuilder
  3. # 5

Hi Gimmy;

  When you installed GIT - did you select the "File Caching" high performance option?

Regards ... Chris

Comment
  1. ATK Gimmy Susan
  2. Friday, 14 December 2018 09:47 AM UTC


I have no memory of this installation parameter.

I do some tests
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 19 December 2018 15:42 PM UTC
  2. PowerBuilder
  3. # 6

When you do a push or pull what happens? If it just moves code back and forth to Github, that is a server and it really isn't truly distributed, it is an occasionally connected server design.

 

Comment
  1. ATK Gimmy Susan
  2. Wednesday, 19 December 2018 16:16 PM UTC
Nope.

I have no problem with push and pull.

the problem is persistent when:

- open powerbuilder

- open A library tree view ( first time for every library )

- choose commit ( from project )

  1. Helpful
  1. Roland Smith
  2. Wednesday, 19 December 2018 16:39 PM UTC
I was just asking a general question about how GIT works, not your specific problem.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.