Axon Server Buffer is full Error

We are using shared Axon Server with free version in our non-prod environment. We had encountered the following error on 18th Jan;

org.axonframework.axonserver.connector.AxonServerException: Buffer is full, slow down.
	at org.axonframework.axonserver.connector.ErrorCode.lambda$static$26(ErrorCode.java:164) ~[axon-server-connector-4.6.1.jar:4.6.1]

Could you please help me to understand what’s this Error is about, throughput limit etc for free version?

Indeed, its throughput limit for the free version (Axon Cloud), all contexts on shared SaaS have this limitation. Limit allows you to hold 1000 commands and 1000 queries in the internal cache, meaning, you can have 1000 commands and 1000 queries running at the same time. Unless you are having really really high throughput, problem might be that your message handlers are too slow, and they don’t get executed in time, which fills in this buffer.

(My previous response due to misinformation that you are using Axon Server EE , that’s why its deleted.)

Thank you Stefan. What are the limits of Axon Server EE for no of commands and queries?

For Axon Server EE this is configurable, but by default, there is no hard limit set and it all depends on how much resources you assign to the instance (memory)

1 Like