uuid or universally unique identifier , timeuuid long 128-bit value.
in cassandra database , because of concepts used uuid , timeuuid our entities identifier , want compress uuid , timeuuid or reduce size when client (user) can see id in url bar.
for example twitter used cassandra when open tweet, tweet's id 10153967535312713
simple uuid 10646334-2c02-11e6-bb4a-7720eb141b83
more characters , not user friendly (of course both ids not user friendly :d)
in different programming languages there compression functions, such gzcompress in php , gzipoutputstream in java these functions (classes) compress data , return in gzip format not allowed use in url!
now way there way or function/algorithm smaller or compressed version of uuid or timeuuid?
twitter developed snowflake long time ago , believe id twitter still using. there many flake id implementations available can generate uuid number instead of true uuid. have used flake java in project of mine.