Go Practical Guide: Execute Lua Scripts with go-redis Redis command Eval Redis package redis.NewScript, script.Run
Lua
Recent posts
OpenResty + Redis: Block High-Frequency IPs init_by_lua_block { redis = require "redis" client = redis.connect('127.0.0.1', 6379) } server { listen 8080; location / { access_by_lua_file …
Nginx access logs can record millisecond timestamps, but they are milliseconds since EPOCH, for example 1503544071.865. Another variable, $time_local, records a second-level time format, for example …
All posts
3 posts| Date | Reading time | Title | Tags |
|---|---|---|---|
| 1 minute | Go Practical Guide: Execute Lua Scripts with go-redis
1 minute | ||
| 2 minutes | OpenResty + Redis: Block High-Frequency IPs
2 minutes | ||
| 1 minute | Record Millisecond Precision in Nginx Access Logs
1 minute |