Vernemq cache misses

21 views
Skip to first unread message

Kedar Undale

unread,
Jul 10, 2021, 1:48:07 PM7/10/21
to vernemq-users
1. Does vernemq use node's in memory to store auth_on_register, auth_on_publish, auth_on_subscribe hook call data ?

2. I am able to see entries in verne cache but I see equivalent number of misses too.
FYI the peer port keeps changing on every auth_on_register. Is this the reason for the cache misses?

André Fatton

unread,
Jul 12, 2021, 2:50:30 AM7/12/21
to vernemq-users
Hi Kedar,

1. Does vernemq use node's in memory to store auth_on_register, auth_on_publish, auth_on_subscribe hook call data ?
Yes, that is for the ACLs cached.

2. I am able to see entries in verne cache but I see equivalent number of misses too.
How do you see that?
FYI the peer port keeps changing on every auth_on_register. Is this the reason for the cache misses?
The peer port changes because it's a different TCP connection. This is not the reason for cache misses.

Note that you don't give much context, so it's hard to reason about what you want to achieve.
Cheers,
André
Reply all
Reply to author
Forward
0 new messages