Coder Social home page Coder Social logo

bud-sandbox's People

Contributors

jhellerstein avatar michaelficarra avatar neilconway avatar palvaro avatar pbailis avatar sriram-srinivasan 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

bud-sandbox's Issues

Replicated disorderly cart is broken

There are errors in both the design and the implementation. Implementation:

  1. @addy is used but never assigned to, as far as I can tell.
  2. I haven't tracked down why, but writes aren't successfully making it from action_msg to mcast_send -- i.e., we aren't multicasting kvs ops when we see client requests
  3. The destructive cart code assumes that the kvget_response for a given kvget will be delivered in the same timestep. When using a replicated KVS, this is not the case.

Design: more coordination needed. There is no reason to think that (a) client write order will be respected when writes are applied at KVS replicas (b) all writes will be applied when checkout is received.

BFS addchunk test does not run (or pass)

There is a typo in test/tc_bfs.rb: tnest_addchunks should be test_addchunks.

Making the change myself, the test does not pass because it cannot find method remember_resp for BFSMasterServer

bfs error with MRI 1.8

I don't have time to look into it now:

$ ruby --version
ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-darwin11.4.0]
$ ruby tc_bfs.rb --name test_fsmaster
Run options: --name test_fsmaster --seed 1613

# Running tests:

Warning: underspecified dataflow: ["remove_member", true]
Warning: underspecified dataflow: ["member", false]
Warning: underspecified dataflow: ["my_id", true]
Warning: underspecified dataflow: ["add_member", true]
Warning: underspecified dataflow: ["added_member", false]
E

Finished tests in 3.368314s, 0.2969 tests/s, 0.0000 assertions/s.

  1) Error:
test_fsmaster(TestBFS):
Bud::Error: exception during Bud evaluation.
Exception: #<NoMethodError: undefined method `flat_map' for #<Bud::BudJoin:0x10f005f18>>
Location: (eval):1:in `initialize'.
Rule: chunk_cache < (+(master_duty_cycle * last_heartbeat).flat_map do |d, l|
  l.payload[1].map do |pay|
    unless chunk_cache { |c| c.chunkid if (c.node == l.peer) }.include?(pay) then
      [l.peer, pay, d.val.to_f] unless pay.nil?
    end
  end
end)

Works with MRI 1.9; perhaps related to removing the dependency on backports.

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.