/guid/9202a8c04000641f8000000005b7ad32 rename

author:

contributor:

published:

updated:

source uri:

Summary

This example app demonstrates a number of concepts: Notes If you start to develop Freebase...

Content

This example app demonstrates a number of concepts: Notes If you start to develop Freebase applications you then at some point you will inevitably see the error message “Query timeout” For example, if you wanted to get a list of Musical Artists in Freebase you might try this query {   “query”:[{     “id”:null,     “limit”:0,     “name”:null,     “type”:”/music/artist”   }] } But as there are almost 1/3 million artists in the database this query will timeout. That’s just as well, otherwise you would be loading a 30MB JavaScript file! That was an extreme example, but as more users register with Freebase, my Map of Freebase Users occasionally timeouts. (It’s actually the MJT library which imposes the deadline here, not necessary the database which timeouts). Even if your application isn’t timing out, you find that your browser becomes unresponsive as it loads large JavaScript files from the database. The solution is to use MQL cursors Run the demo and then look at the source code for details.

Created by: willmoffat Aug 20, 2007
Last edited by: willmoffat Aug 20, 2007

Recent Discussions about None

There is no discussion about this document.

Start the Discussion »
Explore the Data
View all the data we have for /guid/9202a8c04000641f8000000005b7ad32
Flag this Document
Why do you want to flag this document?