GithubHelp home page GithubHelp logo

dihydrogen-monoxide / xialotecon Goto Github PK

View Code? Open in Web Editor NEW
9.0 6.0 0.0 345 KB

XialotEcon is a next-gem economy plugin.

License: MIT License

PHP 99.66% Shell 0.34%
economy-plugin pocketmine-plugins

xialotecon's Introduction

xialotecon's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xialotecon's Issues

Doesn't work!

  • This repo has no code, so no servers can run it!
  • This repo has no license, so nobody can use it!
  • This repo has no outline, so no brains can imagine it!
  • This repo has no printed copies, so no apocalypse survivors can know its existence!

Data Model Framework: an atomic approach

This issue proposes an atomic approach for data model synchronization. Here I slightly alter the invalidation and autosaving properties of the DMF:

  • When a context gets a value from a data model instance, it has two modes:
    • disposable-get: The returned value does not have any side effects on any data models.
    • persistent-get: The returned value may affect the data model itself.
      • persistent-get additionally returns a model "image" used for identifying the data model's state.
  • When a context writes a value from a data, it has two types:
    • independent-set: The new value doesn't depend on certain parts of the data model (including conditional dependency).
    • dependent-set: The new value depends on certain parts of the data model.
      • dependent-set should accept an extra parameter "image", which is the state identifier returned from the dependent persistent-get.

When a data model cache manager uploads a set of changes for a data model, it should summarize all changes into an image->image pair, indicating the original image and the final image, along with a commit ID. If another server recently changed this data model, receives the change and finds out that original-image is distinct from the database's current value, it should rollback both changes. Then it should compare both commit IDs. The server that generated the greater commit ID should be responsible for the rollback and merging.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.