Skip to main content

Frequently Asked Questions

Answers to some common and frequently asked questions

What is Cosmonic?

Cosmonic is a platform designed for developers, by developers. With Cosmonic, you can design your application without fear or risk of tightly coupling to databases, services, resources, or even to any one scaling strategy. With Cosmonic, taking your application from concept to production is a delightful experience.

What kinds of apps can I deploy on Cosmonic?

Whether you want to deploy a single monolith or spread tiny components across multiple infrastructures, clouds, and even edges--you can build it on Cosmonic. You can build, deploy, and manage data-driven apps, machine learning components, RESTful APIs, backends for games or complex, real-time systems, and virtually anything else you can dream up.

What does "Developer Preview" mean?

Cosmonic is currently available as a Developer Preview. This means we are doing our best to keep everything stable so you can have a great experience. However, you should not run production workloads on the platform at this time. Your constellation state (including hosts, actors, and providers) may be reset without notice as we perform upgrades. Please feel free to reach out on Discord or via support@cosmonic.com if you run into any problems!

What are my resource limits?

The Cosmonic Developer Preview includes a few limits that constrain the number of resources that can be launched on Cosmonic managed infrastructure. The current limits are:

  • 1 Cosmonic managed host
  • 5 Total Super Constellation NATS leaf nodes
  • 5 Providers per Cosmonic managed host
  • 25 Actors per Cosmonic managed host

Exceeding these limits will result in an error message but won't incur any other penalty.

Why does my wormhole show a 502 page?

Wormholes often show 502 errors when the actor is no longer running behind that wormhole. Ensure that your actor and your HTTPServer Wormhole provider are still running.

Why does my wormhole show a 404 page?

Wormholes can show a 404 page when the wormhole does not exist, the wormhole is in the closed state, or if the wormhole is configured to require authentication and no bearer token is provided. If your wormhole is configured with authentication you will not be able to access the endpoint in the browser, you'll need to make an HTTP request with a client that supports headers and provide the Authorization header. For example, with cURL:

# Template
curl -H 'Authorization: Bearer <TOKEN>' <WORMHOLE_URL>`
# Example
curl -H 'Authorization: Bearer d9ac516b-7a2e-4cfa-b377-442bccc66d8d' https://damp-paper-5166.cosmonic.app/`

Can actors call each other without a provider?

Yes! This is one of the most powerful aspects of Cosmonic. You can specify a call alias for any actor, and invoke it by its alias. This invocation will happen in local-optimized fashion and will work no matter where either of the actors are. You don't need to worry about discovery or client proxies or any of that mess. For more details, check out the wasmCloud documentation for actor-to-actor calls.

What technology does Cosmonic run on?

Cosmonic is powered by wasmCloud and constellations are sewn together using NATS. Portable, tiny, secure distributed compute is powered by WebAssembly and our open source engine is built with a combination of Elixir and Rust.

For more information about our technology journey, stay up to date with our blog.