Releases: devsisters/shardcake
Releases · devsisters/shardcake
v2.1.2
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
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
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
toQueue
#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
- Changed behaviour signature from
Dequeue
toQueue
#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)
- 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)
- 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)
- Added
getShardingRegistrationEvents
toSharding
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)
- Added
getShardingRegistrationEvents
toSharding
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)
- Added the ability to broadcast messages to all pods (see
Sharding.registerTopic
andSharding.broadcaster
) - Modified
send
to fail when you send a message to an entity type that wasn't registered Replier
was moved fromcom.devsisters.shardcake.Messenger.Replier
to simplycom.devsisters.shardcake.Replier
v1.0.4 (zio 1.x)
- Added the ability to broadcast messages to all pods (see
Sharding.registerTopic
andSharding.broadcaster
) - Modified
send
to fail when you send a message to an entity type that wasn't registered Replier
was moved fromcom.devsisters.shardcake.Messenger.Replier
to simplycom.devsisters.shardcake.Replier