Aller au contenu
Français

Compatibility matrix

Ce contenu n’est pas encore disponible dans votre langue.

The framework’s features have different support levels across runtimes. This page is the definitive reference.

For each row:

  • ✓ = supported, tested in CI.
  • ⚠ = works, but not actively CI’d.
  • ✗ = not supported.
  • N/A = doesn’t apply.
FeatureBunNode 24+Deno
Actor base class✓✓✓
ActorSystem✓✓✓
ActorOptions + withDispatcher etc.✓✓✓
HybridDispatcher / MicrotaskDispatcher / ImmediateDispatcher / ThroughputDispatcher✓✓✓
BoundedMailbox / PriorityMailbox / ControlAwareMailbox✓✓✓
Supervision strategies✓✓✓
context.timers + system.scheduler✓✓✓
Death watch✓✓✓
become / stash / unstashAll✓✓✓
Pattern matching (ts-pattern)✓✓✓
FeatureBunNode 24+Deno
Behaviors.* combinators✓✓✓
TypedActor✓✓✓
system.spawnTyped / context.spawnTyped / typedActor✓✓✓
FeatureBunNode 24+Deno
Router.*✓✓✓
CircuitBreaker✓✓✓
BackoffSupervisor✓✓✓
retry, pipeTo, after✓✓✓
FeatureBunNode 24+Deno
Cluster join / membership✓✓⚠
Gossip + failure detector✓✓⚠
TcpTransport✓✓⚠
TLS on cluster transport✓✓⚠
InMemoryTransport (tests)✓✓✓
MessageChannelTransport / WorkerCluster / WorkerMesh (worker threads)✓✓✓
ClusterSingleton✓✓⚠
ClusterSharding✓✓⚠
DistributedPubSub✓✓⚠
DistributedData✓✓⚠
Cluster router✓✓⚠
Receptionist✓✓⚠
KubernetesLease✓✓⚠
InMemoryLease✓✓✓
FeatureBunNode 24+Deno
InMemoryJournal✓✓✓
InMemorySnapshotStore✓✓✓
SqliteJournal✓ (bun:sqlite)✓ (better-sqlite3 peer dep)✗
SqliteSnapshotStore✓✓✗
CassandraJournal⚠✓ (cassandra-driver)⚠
CachedSnapshotStore✓✓✓
PersistentActor✓✓✓
DurableStateActor✓✓✓
ProjectionActor✓✓✓
Object-storage snapshot store (filesystem)✓✓✓
Object-storage snapshot store (S3)⚠✓⚠
Schema-migration adapters✓✓✓
Replicated event sourcing⚠✓✗
FeatureBunNode 24+Deno
KafkaActor (kafkajs)✓✓⚠
MqttActor (mqtt)✓✓⚠
AmqpActor (amqplib)⚠✓⚠
NatsActor (@nats-io/transport-node)✓✓⚠
JetStreamActor (@nats-io/jetstream)✓✓⚠
RedisStreamsActor (ioredis)✓✓⚠
GrpcServerActor / GrpcClientActor✓✓⚠
WebsocketClientActor✓✓✓
websocket() route (WebsocketServerActor)✓ (Bun.serve)✓ (@fastify/websocket / ws)⚠
SseActor✓✓✓
TcpSocketActor✓✓✓
TcpServerActor✓✓✓ (mTLS listener: ✗)
UdpSocketActor✓✓✓

The NATS rows are ⚠ on Deno for a reason worth stating, because nats.js v3 made it concrete: the transport is a separate package now, and the one this project declares is @nats-io/transport-node. There is a Deno transport, published on JSR rather than npm, and nothing here wires it up — so the actors reach Deno through its npm compatibility layer, which is untested here rather than known broken.

FeatureBunNode 24+Deno
Route DSL✓✓✓
Marshalling (entity<T>)✓✓✓
FastifyBackend✓✓✓
ExpressBackend✓✓⚠
HonoBackend✓✓✓
Middleware (response-cache, rate-limit, idempotency-key)✓✓✓
HttpClient (uses fetch)✓✓✓
managementRoutes✓✓✓
FeatureBunNode 24+Deno
In-memory cache✓✓✓
Memcached cache⚠✓⚠
Redis cache✓✓⚠
FeatureBunNode 24+Deno
JSON✓✓✓
CBOR✓✓✓
Custom serializers✓✓✓
FeatureBunNode 24+Deno
Core metrics✓✓✓
Prometheus exporter✓✓✓
prom-client adapter✓✓⚠
OTel metrics adapter✓✓⚠
RecordingTracer✓✓✓
OTel tracing adapter✓✓⚠
Stock metrics✓✓✓
Health checks✓✓✓
FeatureBunNode 24+Deno
TestKit.create✓✓✓
TestProbe✓✓✓
ManualScheduler✓✓✓
MultiNodeSpec✓✓⚠
ParallelMultiNodeSpec✓✓⚠
For new projects: Bun
For Node-shop environments: Node 24+
For Lambda / serverless: Node 24+
For Deno-first organizations: Deno (with caveats)
For mixed: Pick one per cluster