Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Deploying modules/content (relatively) slow? #203

Closed
grtjn opened this issue Apr 15, 2014 · 7 comments
Closed

Deploying modules/content (relatively) slow? #203

grtjn opened this issue Apr 15, 2014 · 7 comments
Assignees
Milestone

Comments

@grtjn
Copy link
Contributor

grtjn commented Apr 15, 2014

Particularly when deploying remotely one can notice that deploying modules or content can take quite long. 1500 modules can take 5 up to 10 minutes, while locally it runs in mere seconds.

Looking at the access log of the XCC server, it looks as if each file is uploaded individually, and synchronized. Also, I expect deployment is using the Ruby XCC library. It might be worthwhile to consider using MLCP instead for newer MarkLogic versions..

@grtjn
Copy link
Contributor Author

grtjn commented Apr 15, 2014

Maybe worth measuring performance?

@grtjn
Copy link
Contributor Author

grtjn commented Apr 6, 2016

Recent change that allows uploading only new/changed content could be applied to modules, schemas etc as well:

#551 (comment)

@grtjn
Copy link
Contributor Author

grtjn commented Jun 13, 2017

Fix for #777 makes the --incremental=yes option work for modules, schemas, and triggers as well.

@grtjn
Copy link
Contributor Author

grtjn commented Jun 13, 2017

Fixed in MASTER

@grtjn grtjn closed this as completed Jun 13, 2017
@grtjn grtjn self-assigned this Jun 13, 2017
@grtjn grtjn added this to the July 2017 milestone Jun 13, 2017
@rlouapre
Copy link
Contributor

We also have deploy modules taking 8 min for over 900 files.
Have you ever tried to compress it before the upload?

@grtjn
Copy link
Contributor Author

grtjn commented Jan 16, 2018

Compressing would require logic to uncompress on MarkLogic side. That would be custom code.

Did you try with the --incremental=yes flag?

@rlouapre
Copy link
Contributor

rlouapre commented Jan 18, 2018

I do not believe --incremental=yes will help since it is running from Jenkins with the new modules database.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants