Didn't anyone try to bring proper multithreading support for Eluna ? Cause now on high load servers Eluna by now is rather unusable.
Doing it should be fairly easy:
- implement proper threadpool with fixed threads spawned on core start that will handle map / world update requests
- for each thread create own lua state
- push data on lua stack created for thread that request came from
I will probably do it for own core i near future and share code.
What I am asking, are your thoughts on such approach ? Since my experience with Lua is rather low :]