Is it required to have a LockStore when the Rasa HTTP server is utilized only for NLU purposes?

Is it required to have a LockStore when the Rasa HTTP server is utilized only for NLU purposes? We want to utilize multiple Sanic workers via setting the environment variable SANIC_WORKERS. But the value in this environment variable is only used when RedisLockStore is configured, which is not needed in our case, since we don’t deal with conversations.

I was not sure about creating a github issue, so decided to ask here first.

Hi @ufukhurriyetoglu,

welcome to the community and thanks a lot for posting here first :+1: :rocket: The LockStore is only required if multiple Rasa Open Source instances might potentially access the same conversation history at the same time.

Since you’re only using NLU (the conversation history is not relevant in this case), you can safely omit the LockStore :+1:

1 Like