Code Monkey home page Code Monkey logo

concurrent-project-2's People

Contributors

eknelson17 avatar mjhickson avatar

Watchers

 avatar

concurrent-project-2's Issues

Comment the Hell out of everything

Maddison, I'm assigning this to you so you can go through and make sure you understand what is happening. Comment as it makes sense. Think about Javadoc standards (class, method comments)

Closing everything

The main can't receive messages and so it can't be told when it is safe to shut down the system. Actors should be able to close other actors that they hold a reference to, but I think we'll need to have the Controller be the one to close the system. I'm not sure if this is correct though.

Queues - do we need them?

This might solve all the problems with the mailboxes if it is sent after the controller is told to stop generating passengers...

Here is what I found:

Mailboxes enqueue messages - in order!

"You can also send an actor the akka.actor.PoisonPill message, which will stop the actor when the message is processed. PoisonPill is enqueued as ordinary messages and will be handled after messages that were already queued in the mailbox."

Thoughts?

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.