[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LMDB usage with long or variable length keys



Michael Ströder wrote:
Howard Chu wrote:
and the pathname component of an HTTP URL is also.

Maybe in some of your deployments but not in general. For example some
web apps have the random document or even session IDs as part of path
name without having a hierachical structure.

The fact is if it's in the URL pathname then it's delimited by slashes and you can break it apart at those delimiters. Whether they actually reflect any hierarchical mapping or not is irrelevant, the point is you don't need to store the entire URL+parameters as a single key.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/