Yes, itβs correct to use domain name as VID when we could know most query pattern started from domain name.
wey
10/12/2022, 3:08 AM
For performance perspective, I think gernerally a shortter vid length will do help, thus int64 v.s. your fixed-length of string VID for domain-name would help on this trade-off.
π 1
g
Goran Cvijanovic
10/12/2022, 9:51 AM
In general yes, it is better to use int64, but difference in performance is not big.
The issue with using int64 is that you have to maintain mappings for domain names to int64 externally or create nodes with those mapping.