Extension Thread(s)

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
willf
Posts: 14
Joined: 01 May 2010, 18:44

Extension Thread(s)

Post by willf »

In the config.xml there's a value for # of extension threads.

I currently have it set to 1 as in the docs thats the recommended default value.

But if i have some database calls (not using the databaseManager, i'm using hibernate) will that potentially block that one thread ?

for example
When a user logs in I query a database for the user's info, I don't spawn a new thread or anything for this currently, will that potentially block other requests dispatched to the same extension?

Thanks
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Good questions.
Most of the answers are found here:
http://www.smartfoxserver.com/docs/docP ... Safety.htm

If anything is unclear let me know
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply