Busy nearly half a month, finally the Ts-lua of the asynchronous operation of the framework of a thorough rectification, to ensure that many asynchronous operations can be in Trafficserver hook, transform, intercept phase of normal work, The asynchronous operations that have been implemented now include: Ts.sleep, Ts.fetch, Ts.fetch_multi. Ts.fetch is a feature that the community has been expecting, which is implemented using the FETCHSM in Trafficserver, and the next few days to discuss how to integrate this change into the code of the Trafficserver community.
On the basis of the new framework, the subsequent addition of additional asynchronous operations including Ts.cache_read, Ts.cache_write, protocol support, etc., and the introduction of support for Redis and memcached will also be considered.
Project home: Https://github.com/portl4t/ts-lua
You are welcome to use
Ts-lua v0.1.6 released today