Comments (3)
And while I would question the need to check in so much into Unicorn there's several valid reasons for this:
- For content migrations there's often a need to script global fixes, so it is nice to have this in source to run the scripts to fix a large amount of content rather than an environment somewhere you'd need to backup/restore.
- Makes environment promotion part of CI, which I guess you could do it other ways but is nice to know pre-production that you don't have multiple ways of promoting environments.
Talking to some colleagues it was brought up that Unicorn does some consistency/dependency checks and it might be possible to do a "fast" option, so if we know that there does not need to be validation we can turn it off. Thinking out loud at this point as I wait for the content to update on my local machine.
from unicorn.
1gb, that's a lot :)
I would guess there are two bottlenecks:
- The local I/O subsystem. There are a lot of disk reads to sync
- The database. Sitecore has to read every item to compare against
Reading a single item file is pretty fast. But 1gb of anything small will
be less so.
Unicorn completely supports plugging an arbitrary serialization provider.
It mimics but is not the stock inflexible sitecore static class.
Alex Shyba once tweeted about extreme deserialization performance using an
experimental write-only SQL bulk update. I don't know the details but you
might bug him if you're doing massive stuff like this with no need to
compare values just overwrite.
On Wed, Dec 10, 2014 at 8:53 AM Geoffrey Smith [email protected]
wrote:
And while I would question the need to check in so much into Unicorn
there's several valid reasons for this:
For content migrations there's often a need to script global fixes, so
it is nice to have this in source to run the scripts to fix a large amount
of content rather than an environment somewhere you'd need to
backup/restore.
2.Makes environment promotion part of CI, which I guess you could do it
other ways but is nice to know pre-production that you don't have multiple
ways of promoting environments.Talking to some colleagues it was brought up that Unicorn does some
consistency/dependency checks and it might be possible to do a "fast"
option, so if we know that there does not need to be validation we can turn
it off. Thinking out loud at this point as I wait for the content to update
on my local machine.—
Reply to this email directly or view it on GitHub
#35 (comment).
from unicorn.
One further note: though it's probably non-trivial on this huge amount of data, some previous performance benchmarking I did indicated that the actual comparison of field values is quite cheap compared to reading the item from Sitecore API and from the .item file - so your idea of a fast predicate may help slightly but won't be miraculous - unless I'm totally wrong.
from unicorn.
Related Issues (20)
- security Vulnerabilities in Unicorn.SharedSecret.config file HOT 1
- Dilithium + Unicorn.DataProvider.10.1 HOT 3
- Sitecore 10.1 uses Sitecore.Kernel 16.0.0.0 version which does not have attribute 'UsedImplicitlyAttribute' and unicorn uses this attribute HOT 3
- Syncing Unchecked Shared field checkbox is not performing the movement of data from SharedFields to VersionFields tables HOT 10
- Unicorn.aspx indicates Transparent Sync is enabled on configs but TS is not working and does not display in Content Editor warning HOT 4
- Unicorn.DataProvider.10.1.config role:require setting prevents the config from being loaded on XM0 HOT 2
- Error message during Unicorn Sync "The statement terminated. The maximum recursion 100 has been exhausted before statement completion." HOT 2
- Performing a sync on a configuration with Transparant Sync breaks stuff?? HOT 3
- Unicorn added <site> breaks Sitecore on ContentDelivery roles in 10.1.2 HOT 5
- DuplicateItemName exception HOT 2
- UnauthorizedAccessException with SyncSilent HOT 2
- When we are deploying the changes on the Sitecore DEV site by using Azure Paas we are getting this error HOT 1
- Unicorn RainbowCodeGeneration is not supporting Sitecore 10.2 for serializing model HOT 3
- Verb - Reserialize ERROR: The remote host closed the connection. The error code is 0x800704CD.
- Not possible to config patch the fieldFilter exclude list HOT 4
- Moved item can end up deleted on sync HOT 1
- Sync Challenge Issue
- Serialization issue in cloned items HOT 1
- *feature* Is Unicorn supporting Sitecore 10.3? HOT 3
- Moving items results in deleted items
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unicorn.