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

Jobify serialization #1454

Merged
merged 11 commits into from
Aug 25, 2020
Merged

Jobify serialization #1454

merged 11 commits into from
Aug 25, 2020

Conversation

zeroZshadow
Copy link
Contributor

@zeroZshadow zeroZshadow commented Aug 14, 2020

Description

Move serialization of components into Jobs with burst.

Tests

  • Local deployment Editor
  • Local deployment Standalone
  • Cloud deployment

Documentation

  • Changelog

@improbable-prow-robot improbable-prow-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/no-ticket Indicates a PR has no corresponding JIRA ticket labels Aug 14, 2020
@improbable-prow-robot improbable-prow-robot added A: core Area: Core GDK A: playground Area: Playground size/XL Denotes a PR that changes 300-599 lines, ignoring generated files. labels Aug 14, 2020
@zeroZshadow zeroZshadow force-pushed the feature/jobify-serialization-test branch from d81f9f1 to 1f55395 Compare August 18, 2020 16:18
@zeroZshadow zeroZshadow marked this pull request as ready for review August 19, 2020 17:18
@improbable-prow-robot improbable-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 19, 2020
@zeroZshadow
Copy link
Contributor Author

This has been tested against the FPS project, in the cloud with 200 players

@zeroZshadow zeroZshadow force-pushed the feature/jobify-serialization-test branch from 72e6f79 to c5056fb Compare August 19, 2020 17:34
Filter on changed components to avoid scheduling jobs for unchanged chunks
Don't reuse queue, dispose and re-create
Hack MessagesToSend to store pre-serialized component updates
Add DisableAutoCreate to ReplicationSystems
@zeroZshadow zeroZshadow force-pushed the feature/jobify-serialization-test branch from c5056fb to 99991e1 Compare August 21, 2020 17:47
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
marker.Begin();
if (!component.IsDataDirty())
{
marker.End();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a scoped version of the marker rather than handling the various branches ourselves?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but this can be bursted, and our version of burst does not yet support using

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah right, soon though 😉

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

57.4% 57.4% Coverage
0.0% 0.0% Duplication

@zeroZshadow zeroZshadow merged commit ae4c5fc into develop Aug 25, 2020
@improbable-prow-robot improbable-prow-robot deleted the feature/jobify-serialization-test branch August 25, 2020 13:18
jamiebrynes7 added a commit that referenced this pull request Aug 27, 2020
jamiebrynes7 added a commit that referenced this pull request Aug 27, 2020
jamiebrynes7 pushed a commit that referenced this pull request Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: core Area: Core GDK A: playground Area: Playground jira/no-ticket Indicates a PR has no corresponding JIRA ticket size/XL Denotes a PR that changes 300-599 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants