Orleans v3.2.0-rc1 Release Notes

Release Date: 2020-05-08 // almost 4 years ago
  • 3.2.0 includes two major changes

    • ๐Ÿ”Œ Pluggable grain directory

    ๐Ÿ”ง This feature allows to use external storage as an option for keeping grain directory information. Directory plugins can be configured for different grain classes independently, so that different consistency/availability tradeoffs can be made for different grain classes.
    ๐Ÿšš As part of this change, we had to remove support for multi-cluster functionality. We intend to bring it back as a grain directory plugin at a later time. Removal of multi-clustering is the only breaking change, and only if you used the feature previously.

    • โฑ Switch to using .NET thread pool for scheduling

    Since first version, Orleans has been using its own custom thread pool implementation to make up for the deficiencies in the .NET thread pool. Since then, the .NET thread pool has improved significantly, and there is no need any more for a separate solution within Orleans.

    ๐ŸŽ We measured a performance increase of 3.2.0-rc1 compared to 3.1.6 of 12% to 20% depending on the test scenario.

    ๐Ÿ›  Other improvements and bug fixes since 3.1.6.

    ๐Ÿ’ฅ Breaking changes

    - Remove current multicluster implementation (#6498)

    Non-breaking improvements

    • Support for pluggable grain directory (#6340, #6354, #6366, #6385, #6473, #6485, #6502, #6524)
    • Expose timeouts for Azure Table Storage (#6462, #6501, #6509)
    • Schedule Tasks and WorkItems on .NET ThreadPool (#6261)
    • Schedule received messages onto thread pool in Connection.ProcessIncoming (#6263)
    • Remove AsyncAgent, Executor and related (#6264)
    • Reorient RuntimeContext around IGrainContext (#6365)
    • Remove Message.DebugContext and related code (#6323)
    • Remove obviated GrainId constructor and associated code (#6322)
    • Set isolation level to READ COMMITED to avoid Gap Lock issues (#6331)
    • AdoNet: Rename Storage table to OrleansStorage for consistency with other tables. (#6336)
    • Avoid using GrainTimer in non-grain contexts (#6342)
    • Remove unnecessary provider runtime members (#6362)
    • Remove ClientInvokeCallback (#6364)
    • Remove ProcessExitHandlingOptions (#6369)
    • Simplify OrleansTaskScheduler (#6370)
    • Remove IServiceProvider from IGrainContext (#6372)
    • Streamline MemoryStorage and InMemoryReminderTable (#6315)
    • Fix test glitch in PersistenceProvider_Memory_FixedLatency_WriteRead (#6378)
    • Fix errors reported by GitHub Semmle code analysis tools. (#6374)
    • Remove Microsoft prefix from logging categories (#6431)
    • Streamline Dictionary use and remove some dead code (#6439)
    • Make methods on AITelemetryConsumer virtual; clean-up (#6469)
    • Remove IHostedClient abstraction (#6475)

    - Only allocate an array for lengths when array rank is greater than 3 (#6493)

    ๐Ÿ›  Non-breaking bug fixes

    • Fix log message (#6408)