2018-10-11 Meeting notes: Managing Thread Pools

Date

Oct 11, 2018

Attendees

  • @Kelly Foster

  • @Łukasz Gołębiewski (Unlicensed)

  • @Pawel Szulc (Unlicensed)

  • @Sebastian Bach

  • @Dominik Zajkowski

Goals

  • Discuss options for overcoming LMDB limitation of blocking entire threads

Discussion items

Item

Notes

Item

Notes

Timeline

 

  • Alex had been assigned this work but was not able to complete it so it moved to Lukasz

Discussion of process

  • LMDB blocks threads, which can lead to run-time errors

  • Proposed solution

    • switch execution context to a scheduler capable of managing fibers

    • use this solution for RSpace and Casper

Tools

  • Plan to use Tagless Final (Monix Task?), which supports fiber management - finer grained thread management

  • Pair programming Dom, Lukasz, Sebastian, Pavel to prove out

Action items

@Łukasz Gołębiewski (Unlicensed) @Dominik Zajkowski @Pawel Szulc (Unlicensed) @Sebastian Bach pair programming to prove out the solution
@Rita Allen to follow up on pair programming outcome at a later standup

Decisions