Skip to content

Releases: devsisters/shardcake

v2.1.2

29 Nov 04:55
390605f
Compare
Choose a tag to compare

This release contains a few usability improvements.

  • Add a new method terminateLocalEntity to terminate an entity after processing all its messages. It will enqueue the termination message and prevent new messages being enqueued #103 by @ghostdogpr
  • Wait until the pod receives initial assignments during Sharding layer construction. This prevents a race condition when registering singletons that could prevent the singleton from being started #100 by @ghostdogpr
  • Catch fiber errors in replyStream. This will prevent spurious zio logs about a fiber ending with an error #105 by @ghostdogpr
  • Add a dedicated error for when the reply stream cancelled (instead of using PodUnavailable) #104 by @ghostdogpr

v2.1.1

06 Nov 00:55
9094a08
Compare
Choose a tag to compare

This release mostly contains performance improvements, in particular with streaming replies (taking advantage of chunking) but also regular messages, in particular when a lot of messages are sent to the same entity.

v2.1.0

11 Aug 04:57
a7c033d
Compare
Choose a tag to compare

The main change in this release is the support for streaming replies. There is now a sendStream method on Messenger that allow you receiving a stream of responses from a remote entity.

  • Added support for streaming replies #53 by @ghostdogpr @mleclercq
  • Upgraded zio-grpc to 0.6.0 (no more using a snapshot!) #89 by @ghostdogpr
  • Changed behaviour signature from Dequeue to Queue #61 by @frekw
  • Improved logs for k8s pod health #66 by @jgulotta
  • Switched Kryo serialization library (Chill being unmaintained) #82 by @ghostdogpr
  • Fix logic to wait on previously terminating entities when terminating all entities #86 by @ghostdogpr
  • Added catch and log errors in Sharding.unregister #74 by @mleclercq

v1.1.0

11 Aug 04:51
56eab69
Compare
Choose a tag to compare
  • Changed behaviour signature from Dequeue to Queue #62 by @frekw
  • Improved logs for k8s pod health #67 by @jgulotta
  • Switched Kryo serialization library (Chill being unmaintained) #76 by @ghostdogpr
  • Fix logic to wait on previously terminating entities when terminating all entities #87 by @ghostdogpr

v2.0.6 (zio 2.x)

22 Feb 00:22
d685799
Compare
Choose a tag to compare
  • Allowed sendDiscard to fail if communication fails #50 by @ghostdogpr
  • Allowed overriding maxSessionIdleTime per entity #48 by @csar
  • Added more sharding events + a way to check all pods health #59 by @ghostdogpr

v1.0.6 (zio 1.x)

21 Feb 07:58
12e1eb4
Compare
Choose a tag to compare
  • Allowed sendDiscard to fail if communication fails #51 by @ghostdogpr
  • Allowed overriding maxSessionIdleTime per entity #49 by @csar
  • Added more sharding events + a way to check all pods health #59 by @ghostdogpr

v2.0.5 (zio 2.x)

21 Nov 01:09
e6c5731
Compare
Choose a tag to compare
  • Added getShardingRegistrationEvents to Sharding by @gregor-rayman
  • Added the ability to customize the formula from entity ID to shard ID by @gregor-rayman
  • Added the ability to override the global send timeout by @ghostdogpr

v1.0.5 (zio 1.x)

21 Nov 01:03
1ed8411
Compare
Choose a tag to compare
  • Added getShardingRegistrationEvents to Sharding by @gregor-rayman
  • Added the ability to customize the formula from entity ID to shard ID by @gregor-rayman
  • Added the ability to override the global send timeout by @ghostdogpr

v2.0.4 (zio 2.x)

19 Oct 05:04
d811f59
Compare
Choose a tag to compare
  • Added the ability to broadcast messages to all pods (see Sharding.registerTopic and Sharding.broadcaster)
  • Modified send to fail when you send a message to an entity type that wasn't registered
  • Replier was moved from com.devsisters.shardcake.Messenger.Replier to simply com.devsisters.shardcake.Replier

v1.0.4 (zio 1.x)

19 Oct 05:01
Compare
Choose a tag to compare
  • Added the ability to broadcast messages to all pods (see Sharding.registerTopic and Sharding.broadcaster)
  • Modified send to fail when you send a message to an entity type that wasn't registered
  • Replier was moved from com.devsisters.shardcake.Messenger.Replier to simply com.devsisters.shardcake.Replier