Can you share more details about namespace delimiters?

122 views
Skip to first unread message

Gray Xu

unread,
Mar 31, 2021, 1:19:25 AM3/31/21
to cache-trace

Hi!

I've already found several different special characters, and I have no idea whether they are the delimiters or not.

Can you share more details about namespace delimiters? like some regex?
It will help me a lot!

Thanks so much!

Juncheng Yang

unread,
Mar 31, 2021, 10:30:23 AM3/31/21
to Gray Xu, cache-trace
Hi Gary, 
     Thank you for your questions! We do not know the delimiters that applications use. We observe that different applications use different delimiters and different numbers of delimiters. But there is no easy way to tell whether something is a namespace or delimiter. We think there is some work can be done in this area to robustly detect the namespace (and thus reduce the key size). 


--
You received this message because you are subscribed to the Google Groups "cache-trace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cache-trace...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cache-trace/8654a964-6cc7-4ded-a17f-5d115699d6e2n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gray Xu

unread,
Apr 7, 2021, 4:22:11 AM4/7/21
to cache-trace
Thanks for your reply!  
But I'm a little confused that if you don't know the pattern of delimiters, how to preserve them?

peter.waynechina

unread,
Apr 7, 2021, 10:25:53 AM4/7/21
to cache-trace
What do you men by "preserve them"? In cache, the namespace is not treated separately in current systems.

Gray Xu

unread,
Apr 8, 2021, 2:06:42 AM4/8/21
to cache-trace
check readme.md in Github repo, https://github.com/twitter/cache-trace/blob/master/README.md#trace-format
quote "Note that during key anonymization, we preserve the namespaces, ..."

Juncheng Yang

unread,
Apr 8, 2021, 10:45:08 AM4/8/21
to Gray Xu, cache-trace
We assume the namespace is always delimited by special characters (not digit/letter), so we preserve these characters and anonymize the other parts of the keys. 


Best, 
Jason 


Gray Xu

unread,
Apr 8, 2021, 11:00:45 AM4/8/21
to cache-trace
Oh I see! A straightforward method
And I still have a question. The anonymous process itself does not produce special characters, right? 
thanks for your help!

Juncheng Yang

unread,
Apr 8, 2021, 11:30:24 AM4/8/21
to Gray Xu, cache-trace
No, it does not produce those potential delimiters. 


Gray Xu

unread,
Apr 9, 2021, 3:05:50 AM4/9/21
to cache-trace
thank you so much!
it really helps a lot!
Reply all
Reply to author
Forward
0 new messages