Frequently asked questions
Choose a product, check which package to install, or find a small example to try before integrating.
Which CoAkka product do I need? Do I need all three?
- CoAkka Runtime calls a named piece of work in the same application or in another process.
- CoAkka HTTP Runtime receives and sends HTTP requests, for example when building an API.
- CoAkka Logger keeps the log queue within limits and reports when it rejects a record.
Each product can be used independently. Choose a product for the job.
Can I try CoAkka Runtime in a single-language application?
Yes. Start with Embedded mode in one process. Name a piece of work, write a handler in the language you already use, then call it and read the result in the same application.
When should I move part of an application into a separate process?
Split when a specific need arises, such as a library in another language, a separate resource budget, or independent deployments. The caller keeps the work name and the way it reads results. Operations now include configuring, monitoring, and troubleshooting connections between processes.
Does CoAkka Runtime require Kubernetes?
Embedded mode runs inside the application. Once split, CoAkka Runtime processes can connect directly on the same machine or over the network. Kubernetes is one way to place and operate those processes.
Can I keep my existing API and framework?
Yes. A Spring Boot or Quarkus app can keep serving its API through the framework and hand one internal task to CoAkka Runtime. For a new service using CoAkka HTTP Runtime, the application declares its listening address, route matching, and handlers.
Run the Spring Boot or Quarkus example · See the two product roles.
Do separate read and write targets make CQRS?
Two targets deliver calls to the corresponding handlers. With CQRS, the application also separates the model for recording changes from the model for serving reads.
Who stores and replays events in Event Sourcing?
The application manages the event store, event order, and replay. When the application sends committed events, CoAkka Runtime delivers them to the handler registered for the target.
How is a named target different from an actor?
A named target identifies work, such as billing.quote. CoAkka Runtime uses that name to route a request to a handler. In Akka, an ActorRef refers to an actor with its own mailbox and lifecycle.
Does the application still need to check permissions with mTLS?
Yes. mTLS certificates authenticate the services on the connection. The application still checks whether the user may perform the requested action on the data.
I use NATS. Where should I try CoAkka Runtime?
Choose one internal call with an easy-to-check result, such as pricing a basket. Keep any JetStream workflows that retain and replay events while you run the trial.
We use Kafka. Where should we try CoAkka Runtime?
Pick a topic that hands off one internal job with a result you can check, such as pricing a basket. Keep Kafka for workflows that need to resume reading after downtime or replay records.
We use RabbitMQ. Where should we try CoAkka Runtime?
Try one internal call that needs a current result, such as basket pricing. Keep RabbitMQ for work that must wait for an offline worker or relies on exchanges and dead-letter queues.
I use ZeroMQ. Where should I try CoAkka Runtime?
Choose a call with a reply, such as pricing a basket. Check which behaviors your socket pair provides, then try calling the work by name.
I use Istio. Where should I try CoAkka Runtime?
Choose one internal call between two applications. Try it in staging with the same security requirements and keep the current path as a control.
We use gRPC. Where should we try CoAkka Runtime?
Keep the gRPC API when callers rely on its service contract or streaming behavior. Try CoAkka Runtime for one internal call behind the endpoint, such as basket pricing.
We use Dapr. Where should we try CoAkka Runtime?
Try one internal call such as basket pricing. Keep Dapr where the app relies on state stores, pub/sub, workflows, or the sidecar’s service invocation policies.
Do we still need a Saga with CoAkka Runtime?
When the steps can commit together, you can often keep the workflow within one application. When participants commit independently, CoAkka Runtime carries requests and replies while the application or orchestrator tracks progress and handles compensation.
Where does CoAkka Runtime fit in an existing Temporal workflow?
Keep Temporal for workflow history, deadlines, and approval waits. An Activity can use CoAkka Runtime to call a capability such as basket pricing.
What if the order was saved before its Worker sent a confirmation?
Save the order and its confirmation job in the same transaction. The next Worker picks up the pending job and reuses the stored work ID so the receiver can recognize a repeat.
How do I choose a package for my language and operating system?
Look up the product's connector for the language, operating system, and CPU architecture. Each catalog lists package names, versions, installation sources, and the scope of testing. Preview and evaluation packages carry their own status.
Find a package before upgrading.
CoAkka Runtime packages · CoAkka HTTP Runtime packages · CoAkka Logger packages.
What do the benchmarks measure, and where can I run them?
The CoAkka Runtime benchmark measures request and reply round trips. The CoAkka HTTP Runtime benchmark measures HTTP exchanges. Read the workload, hardware setup, throughput, and p99 together. The Benchmark page links to results, methodology, and steps to run the tests on a Raspberry Pi 5.
What should I include in a support request?
For a technical question, include the product, package version, operating system and CPU architecture, steps to reproduce, expected result, and actual error. Remove sensitive information from logs. For commercial support, describe the need and the intended deployment.