Commit Graph

406 Commits

Author SHA1 Message Date
Shannon
eec81a3890 updates sql usage in DatabaseDataSource 2021-01-22 00:15:07 +11:00
Shannon Deminick
382197c0a7 Merge pull request #9268 from nzdev/v8/feature/nucache-perf-count-query-optimization
Optimize content and media count queries when paging
2021-01-21 23:01:29 +11:00
Shannon
025bcf2f4c notes 2020-12-16 17:50:34 +11:00
Shannon
c3656d3e58 Adds notes fixes tests 2020-12-16 16:52:43 +11:00
Shannon
28b9b62781 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/nucache-perf
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
2020-12-16 15:26:57 +11:00
nzdev
32788a0a42 reduce array allocations 2020-11-23 10:36:46 +01:00
Sebastiaan Janssen
b5546d074a Merge branch 'v8/contrib' into v8/dev 2020-11-23 10:19:14 +01:00
nzdev
da3d509333 bug fix. 2020-11-18 14:41:03 +13:00
Shannon
c2d9f5aa4e Ensure that TaskScheduler.Default is used anywhere that ContinueWith is used, adds more debug logging to MainDom operations 2020-11-18 12:33:13 +11:00
nzdev
e3fd9b72c5 Optimize content and media count queries when paging 2020-10-24 17:06:28 +13:00
Ronald Barendse
2bfef74191 Fix casing of 'URL' (#9080) 2020-10-05 20:48:38 +02:00
Shannon
67a9b5bb97 Refactors the serialization of the content data that is stored in the nucache table. This had to change because we need to resolve content type data in order to check if the property should be compressed and we cannot do that data lookup while the data is being processed since we get an open data reader exception. This is fixed now by using a serializer factory instead so the Create method can do any initialization needed prior to running any serialization operation. Renames a few things so we dont have ContentNested (whatever that meant ) 2020-09-25 00:32:11 +10:00
Shannon
6bd6d97bda WIP (fixes migrations) 2020-09-24 18:37:24 +10:00
Shannon
9a06b6291a Simplifies compression implementation, adds compression options to target all complex editors, ensures the options are per document type/property type 2020-08-26 15:57:13 +10:00
Shannon
ba8da3850e This gets things working with all compression levels - going to cleanup/simplify 2020-08-26 11:43:43 +10:00
Shannon
a078a30990 Re-adds the indexes removed 2020-08-25 14:19:44 +10:00
Shannon
d84d305ae9 Changes our Expression visitor to not output NOT for boolean values 2020-08-25 10:38:49 +10:00
Shannon
6f2dccc2e2 Uses a more optimized COUNT query when rebuilding the in memory cache 2020-08-25 10:14:36 +10:00
Shannon
666d67e562 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/nucache-perf
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Web/PublishedCache/NuCache/DataSource/DatabaseDataSource.cs
2020-08-14 00:49:03 +10:00
Shannon
c619e5a96a Fixes the property map, adds notes, updates tests data to include larger paragraphs 2020-08-14 00:45:58 +10:00
Shannon
7d689a6e11 adds notes, ensures that we optimize property data when using msgpack binary serialization too! 2020-08-13 23:32:05 +10:00
Shannon
9ac2c27110 Revert "removes the SQLDatabase enum value" and renames some stuff 2020-08-13 23:09:40 +10:00
Shannon
044585a4f3 removes the SQLDatabase enum value 2020-08-13 22:22:06 +10:00
Shannon
07de0876e7 Cleans up some code, adds code comments 2020-08-13 22:15:09 +10:00
Shannon
0d159751b9 Cleans up code - removes tuples everywhere 2020-08-13 19:15:13 +10:00
nzdev
451eacf7cb Fix NuCache spelling 2020-08-04 18:03:08 +12:00
nzdev
d4276dff58 Fix composition. Store compression options in map 2020-08-04 18:01:06 +12:00
nzdev
d1449a0f5c Fix key mapping 2020-07-09 11:50:15 +12:00
nzdev
c1c189d47f Wip support for compressing/decompressing nucache documents on a per property basis. Option for compressing the properties in sql/nucache.db. Option for immediate/lazy decompression of properties. Mapping support for shorter property alias.
TODO: config file for property map
TODO:  HasValue and IsValue on propertyvalueconverterbase
2020-07-09 00:17:31 +12:00
Shannon
c4e7929e68 Converts umbProperty to a component, gets nested valPropertyMsg validators clearing (as a prototype), need to check TODOs, test inline editing, etc... 2020-07-07 12:50:15 +10:00
Shannon
1280235dcf Adds custom mapper for SqlCe for Image column, hopefully tests pass now. 2020-07-06 16:25:15 +10:00
Shannon Deminick
0d4f5c9ea7 Merge pull request #8378 from nzdev/v8/feature/nucache-perf
support uInt32
2020-07-03 16:03:03 +10:00
Shannon
39625d94dd Adds migration for binary column on cmsContentNu 2020-07-03 15:41:25 +10:00
nzdev
40184c0c3c support uInt32 2020-07-03 16:56:08 +12:00
Shannon
de67bdc2a2 Fixing build/tests 2020-07-03 14:50:21 +10:00
Shannon
9b827df11a Allows serializer to be configured 2020-07-03 13:30:40 +10:00
Shannon
c63bfb866b Adds MessagePack serialization for nucache 2020-07-03 12:11:05 +10:00
Shannon
dd6cebca82 Merge branch 'v8/nucache-serializer' of https://github.com/nzdev/Umbraco-CMS into nzdev-v8/nucache-serializer 2020-07-03 00:52:40 +10:00
Shannon
e75c9d2273 Interns strings for aliases, etc... for when content is deserialized from the contentNu table so we aren't duplicating strings when cold booting. 2020-07-03 00:26:55 +10:00
Shannon
d2042e28e1 Adds string interning for reading of property alias, culture and segment when reading from the content cache 2020-07-02 21:27:48 +10:00
Shannon
3735b6d391 Fixes paging size for querying the nucache table so it doesn't timeout 2020-07-02 16:21:54 +10:00
nzdev
7ad019c18a remove example nested content serializer as it is not production ready. 2020-07-01 17:49:34 +12:00
nzdev
578e1317a0 Introduce IContentNestedDataSerializer to allow injecting a custom serializer for nucache 2020-07-01 17:19:56 +12:00
Shannon
a5adb322f1 Updates the caching layer to handle GUID keys for content types while preserving backwards compat, fixes unit tests, removes the strongly typed lists for the block editor value since it's unecessary 2020-06-10 16:12:00 +10:00
Chad
a4274ba767 Shorter JSON property names for nucache (#8204) 2020-06-02 11:35:19 +02:00
Bjarke Berg
5b7f1227f9 Bugfix for issue with hanging saves. + Fix for double post of save templates 2020-05-22 10:46:13 +02:00
Shannon
e62fef8faf Ensures entire nucache linked list is not rebuild on schema changes when disabled 2020-04-20 23:22:03 +10:00
Shannon
8927472457 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/models-builder-enable-flag 2020-04-20 22:45:50 +10:00
Shannon
44df0dda2b adding an event 2020-04-20 22:45:12 +10:00
Bjarke Berg
c3136943e3 Merge pull request #7970 from umbraco/v8/bugfix/nucache-db-paging
In Nucache when we are loading in all data that we page over the data as to not cause an SQL timeout
2020-04-20 11:10:14 +02:00