Simplified message passing architecture in Kay #97

Merged
merged 4 commits into from Jan 17, 2017

Projects

None yet

1 participant

@aeickhoff
Member

Implementing #96 in here

@aeickhoff aeickhoff First working and optimized implementation
8a27207
@aeickhoff
Member

Initial benchmarks show that the new implementation is not only simpler but faster! 🎉

Planning & Build & Pathfinding & Traffic on 5+5lane small grid

old:

  • pathfinding done: 1.75min
  • 150k cars ~40ms per frame

simple:

  • pathfinding done: 1.33min
  • 150k cars: ~25ms per frame
@aeickhoff
Member
aeickhoff commented Jan 16, 2017 edited

Stuff left TODO:

  • "Emergency" message types to replace unclearable inboxes for continued rendering after crash
  • Beautification
aeickhoff added some commits Jan 16, 2017
@aeickhoff aeickhoff replace "add_inbox" by "handle"
6c801f9
@aeickhoff aeickhoff Panic handling & critical messages
Moved panic handling to kay, (re)implemented critical messages, added persistent debug messages to monet
947233b
@aeickhoff aeickhoff ShortTypeId type and DispatchablePacket
a2ff843
@aeickhoff aeickhoff merged commit 20d31e4 into master Jan 17, 2017

3 checks passed

clahub All contributors have signed the Contributor License Agreement.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@aeickhoff aeickhoff deleted the simplified-inbox branch Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment