Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch/no model tick #473

Open
wants to merge 21 commits into
base: development
Choose a base branch
from
Open

Branch/no model tick #473

wants to merge 21 commits into from

Commits on Feb 23, 2015

  1. Handle reflector actions as they arrive, without waiting for a tick.

    There isn't any reason to delay execution. `kernel.tick` is still called
    exactly once per reflector tick.
    
    Also, don't bother advancing time after the last authorized action.
    Nothing executes at that time if it is between actions, so nothing will
    see it.
    
    This is in preparation for keeping tick messages out of the queue.
    davideaster authored and scottnc27603 committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    aac8b56 View commit details
    Browse the repository at this point in the history
  2. Don't record ticks in the queue. Don't tick nodes and model drivers.

    If the model sees individual tick messages, then unexecuted ticks are
    part of the application state. All ticks must pass through the message
    queue, and unexecuted ticks must be included in the replication and
    persistence data.
    
    This adds unnecessary bulk to the state data and can increase buffer
    delays during poor network conditions. It also prevents the reflector
    from ticking clients on slower networks at a slower rate.
    
    This commit interprets reflector ticks only as authorization to move
    kernel time forward. Ticks are no longer placed in the queue.
    `model.ticking` is no longer called on model drivers, and `node.tick` is
    no longer called for nodes providing a `tick` function.
    
    `view.ticked` is still called for view drivers since views don't affect
    the application state. View ticks are still called exactly once per
    reflector tick message.
    
    Nodes and model drivers that make use of tick messages will need to be
    updated. If necessary, the kernel may be able to insert `future` calls
    to provide backward compatability.
    davideaster authored and scottnc27603 committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    41229c1 View commit details
    Browse the repository at this point in the history
  3. first merge test

    rchadwic authored and scottnc27603 committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    e5898aa View commit details
    Browse the repository at this point in the history
  4. change this to self

    rchadwic authored and scottnc27603 committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    ed2b3c1 View commit details
    Browse the repository at this point in the history
  5. fix some minor bugs

    rchadwic authored and scottnc27603 committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    a1b5e5d View commit details
    Browse the repository at this point in the history
  6. remove twice defined matset

    rchadwic authored and scottnc27603 committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    65d401b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    57b03ec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    563d7b8 View commit details
    Browse the repository at this point in the history
  9. Corrects the events tag

    scottnc27603 committed Feb 23, 2015
    Configuration menu
    Copy the full SHA
    3c0f3cb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b07308c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    bf0b2ee View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b0ee31b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c159037 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cd1ab09 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    3b683c0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4e0c26c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    06b34ee View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    874f5b6 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    58b7769 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    a16b240 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    aadaea2 View commit details
    Browse the repository at this point in the history