AltraMayor / AltraMayor/gatekeeper

Allocate Lua states on NUMA nodes that GT instances reside

Open
#143 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
1.6k
Forks
252
PR merge metrics
No merged PRs in 30d

Description

In GT block, each GT instance needs to keep one Lua state to maintain the most recent Lua policies. Currently, the Lua states are allocated by calling ``luaL_newstate()``. However, this function doesn't allow us to create Lua states on a specific NUMA node, so it's possible that a GT instance and its corresponding Lua state are in different NUMA nodes, which may degrade the performance of Grantor servers. To improve the Grantor performance, we need to find ways to allocate Lua states on a specific NUMA node.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.