Threading the lua execution

Registered by Jan Kneschke

The LUA state is currently shared across all the connections in the MySQL Proxy to maintain a global state like

* internal counters
* the script cache
* proxy.global.*

For consistency the lua_state is protected by a mutex.

The shared lua_state should be turned into one independent lua_state per connection.

* use lua-lanes for maintaining the global scope
* reset lua_states if the connection doesn't need it anymore (cache it for reuse) to not loose the benifits of the script-cache

Blueprint information

Status:
Not started
Approver:
None
Priority:
Essential
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.