CoAkka Guides
Choose a next step for building a product, trying an integration in a running application or evaluating it before deployment.
Startups: build in one process
For a new product, choose one job customers need to complete from start to finish. For example, let them enter a quantity, get a quote and decide whether to order. Try that flow with customers to see whether they get a quote they can use and where they get stuck. A single deployment of the application is enough to repeat this experiment.
- Organize the application around business tasks.
The pricing module calculates the quote, and ordering handles the
customer's choices and confirmation. If the call needs a
name in CoAkka Runtime, use
samples.order.quotein Embedded mode. The application can run and deploy in one process. - Try a second process on the same machine when needed.
If pricing needs a Python library, keep the
samples.order.quotename and agreed request and reply formats. Run pricing in a Python process and check the call over loopback. Compare the quotes, then try stopping the pricing process or reaching the caller's timeout. - Decide how to deploy from what you observe. Keep one process while it meets the workload and response time you need. Deploy pricing separately when it needs independent capacity or fault isolation. Plan connection configuration, access control, monitoring, shutdown and rollback when you make that split.
Try it in an existing app
Choose an internal call with a result you can compare. The existing API still receives requests, checks permissions and returns results. Try one CoAkka Runtime call in the same process and compare its result and failure handling with the current path.
Measure before deploying
Set criteria for the workflow you plan to run. Record the expected result and time budget, then test the load and one failure in a test environment. When reading a reference benchmark, choose the matching product and check the measurements together with their test conditions. Use your own workload to set deployment limits.