Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geocar/qlua
KDB bindings for lua
https://github.com/geocar/qlua
Last synced: about 1 month ago
JSON representation
KDB bindings for lua
- Host: GitHub
- URL: https://github.com/geocar/qlua
- Owner: geocar
- Created: 2015-04-11T09:26:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-12-03T13:09:55.000Z (about 5 years ago)
- Last Synced: 2024-08-03T17:12:35.144Z (5 months ago)
- Language: C
- Size: 6.84 KB
- Stars: 27
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-q - geocar/qlua
README
# KDB client for LUA
You can use this to link with nginx+lua/openresty/whatever to get a Q-powered
web service that can do more than a few thousand connections per second.# Pre-Flight
## Building on OSX
Linking with m64/c.o requires GCC
brew install gcc lua rlwrap
## Building on Linux
Default is to build lua using l64/c.o
apt-get install build-essential liblua5.1-dev
but kdb is 32-bit, so to get *it* working you'll need:
dpkg --add-architecture i386
apt-get update
apt-get install -yy --no-install-recommends ia32-libs gcc rlwrap# Testing
Start up kdb in a window:
rlwrap ~/q/?32/q
and load the server:
\l test.q
Run the lua-side tests in another window:
make test