Hi,

I was wondering, I wrote a function in Studio that does a couple of queries 
and then returns a response.

For example:

var db = orient.getDatabase();var roles = db.query("select from ORole where 
name = ?", roleName);if( roles == null || roles.length == 0 ){
  response.send(404, "Role name not found", "text/plain", "Error: role name not 
found" );
}

It looks to me like the query is executed Synchronously on my orientDB 
thread and thus blocks all other requests till it's done. Is this correct? 
And if so, isn't this hurting performance since orientdb has a single 
thread architecture?

Kr,
Joris





-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to