Testing with Mock Duration?
Hello, I am building a library/DSL on top of Akka Streams to easily turn an HTTP resource into a stream in given certain timing. One of the tests is that given a periodic cadence (e.g., every 3...
View ArticleThread starvation
Hi I use akka with persistence (akka-persistence-jdbc version 5.0.0) and cluster version 2.6.10, scala version 2.13 After two days of running a 2 node cluster setup with raspberry pi compute module’s,...
View ArticleHow many shards do I need?
Hi folks, I’m having the following scenario, one aggregate root, persistent and sharded, across a cluster of three nodes and following Akka recommendation, 30 shards (10 per node) At the moment, the...
View ArticleEnding a stream that materializes an actor via ActorSource.actorRef?
I have a Source[T, ActorRef[T]] that was created via calling ActorSource.actorRef[T] as per ActorSource.actorRef • Akka Documentation. When I send the type matched by the completion matcher, the...
View ArticleSerialize SpawnProtocol
Hi everyone, I’m currently playing around with the idea of spawning an actor on a remote node. I’m trying to achieve this by using the SpawnProtocol (as documented here: Actor lifecycle • Akka...
View Articlesun.security.provider.certpath.SunCertPathBuilderException when update Akka...
I’m updating Akka HTTP from 10.1.14 to 10.2.4. Unfortunately, I’m having an exception that before was not present. PKIX path building failed:...
View ArticleWhy "manual" batching is faster than using inputBuffer
Hi, I am doing experiments with async + inputBuffers and I can not understand why “manual” batching is faster than using inputBuffer attribute (in my laptop in five times faster). Can someone explain...
View ArticleAkka Management 1.1.0 released
Dear hakkers, We’re happy to announce the release of Akka Management 1.1.0. With this minor release, Akka Management now requires Akka 2.6 and Akka HTTP 10.2. Changes since 1.0.10 Fix missing lease...
View ArticleConcat Stream operator
We are trying to achieve some batch sink after which we could use other operators in a stream using the next code. The buffer would accept some number of inputs, then when a buffer is full it would do...
View ArticleKnown issues using AKKA 2.25.x Fork-Join Dispatcher on JRE 11
Hi guys, I am considering the risk of running the SUBJ - cannot migrate to 2.26 right now, but need to run on JRE 11 because of the infra upgrade. Seeing numerous tickets and discussions about the...
View ArticleAkka Projections 1.2.1 released
Changes Clarify actor lifecycle #551 by @patriknw add CiReleasePlugin to requires in Common #552 by @patriknw Use Java functional interface in Java DSL of JdbcHandler #554 by @ihostage Fix Java...
View ArticleDropping buffered messages to shard during hand off to avoid re-ordering
Hi folks, I’m having the following issue during deployments. It seems that when rebalancing shards, some of the messages for that particular shard are been dropped and because of that, never answered....
View ArticleAkka grpc performance in benchmarks
Hi. I saw this grpc bencmark (GitHub - LesnyRumcajs/grpc_bench: Various gRPC benchmarks) on twitter recently and the results of akka-grpc are very weak compared with java. Do you guys have any...
View ArticleThe Alpakkas 3.0 and the Alpakka Kafka 2.1 are loose!
Dear Alpakka-lovers, In the name of all Alpakka contributors and the Akka team, we’re glad to announce the latest Alpakkas are now available! Details in the announcements: akka.io Alpakka Kafka 2.1.0...
View ArticleHTTP handling code running on the internal-dispatcher
Hi, We are seeing HTTP endpoint code, and other bits of our own code running on internal-dispatcher threads. As far as I can tell, we never run code on that dispatcher manually. Is it intentional that...
View ArticleAbout Akka gRPC latency performance
Hi, I am trying Akka gRPC, I have a application based on native gRPC, I have server and client, client uses sync call to gRPC, average latency is 10ms I use Akka gRPC server and use my custom client...
View ArticleAkka gRPC 2.0.0 released
Dear hakkers, We’re happy to announce version 2.0.0 of Akka gRPC! gRPC is a transport mechanism for request/response and (non-persistent) streaming use cases. See Why gRPC? for more information about...
View ArticlePersistence failure when replaying events and Failed to persist event with jdbc
Hi On a raspberry pi compute module 3, we run akka classic with persistence (please find versions below). Persistence is very unreliable and we don’t know why. The errors we get are of the following...
View ArticleWebsocket connection does not terminate even when client tries to close it
We have a simple use case of sending an infinite stream in response whenever the websocket route receives any message. For the same, I wrote the below server code and simple client (executed in Chrome...
View ArticleAkka gRPC proto3 optional fields
Hi, based on release notes Akka gRPC 2.0.0 using scalapb 0.11.x which should support optional fields for proto3 (ScalaPB/CHANGELOG.md at master · scalapb/ScalaPB · GitHub) message LoggerConfiguration...
View Article