Coder Social home page Coder Social logo

aries's People

Contributors

abnerzheng avatar larry-xu avatar mwhittaker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aries's Issues

Todos

  • Parse operations from the user using some parser combinator library most likely.
  • Display the current phase of the algorithm.
  • Display the current position in the operations or in the log.
  • set status of in-progress transactions to "aborted" at end of analysis phase rather than during analysis_update
  • CLR prevLSN is incorrect, needs fixing
  • I think buffer pool needs to be updated during UNDO? when undo'ing an update, just write the before data to the buffer pool
  • instead of the simulator just mutating a single state object, it would be awesome if states were immutable, so the simulator could return a list of states. Then the UI can just transition between the states
    • the simulate function should just output a list of aries.State objects
  • after getting the above to work, there should be some notion of a UI state which contains:
{
    aries_state: aries.State,
    ui_actions: string list
}

the ui_actions is just a list of human-readable actions the DB performs so that we can show the user what actions are causing the changes they see to the state e.g.

['Operation: T1 writes value "foo" to page A',
 'Operation: T2 writes value "foo" to page B',
 'DB CRASHED! Starting recovery...',
 'Analysis: DPT and Txn Table recovered from checkpoint',
  ...]
  • styling + ui fixes
    • Show what portion of the log has been forced to disk.
    • Add ui controls for transitioning between different states
    • Add missing log columns (e.g. undoNextLSN).
    • Assign a color to each transaction and color log entries accordingly? I find this useful, but maybe it'll look tacky?
    • Draw arrows connecting a log entry to its prevLSN? Might get too cluttered.

Support for abort operation

Thanks for the simulator, helped me better understand the protocol.
I don't see any examples of abort operation.
Not sure if this simulator support abort transaction operation.
If it's not yet implemented can I submit a PR?

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.