Guids Are Faster than IDs

Freebase ids and guids are both unambiguous ways of referencing topics in Freebase.

If you're running queries which return a large number of values and you'd like to get a key to reference them by, asking for guid rather than the id can be significantly faster.  In one application, I recieved more than a 2x speedup just by changing from ids to guids.

Search Help Center

Discussions

Do web apps see any performance gain?

"It would be interesting to see some examples of speedups. I imagine most web apps calling mqlread..."

1 post

But you shouldn't always replace an ID with a GUID

"guids and ids serve slightly different purposes: This should guide your usage more than performance. ..."

1 post
Join the Discussion »