Skip to content

Luit-IT/libvmod-redis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vmod-redis

A Varnish module that allows sending commands to redis from the VCL.

At this stage it is mostly a proof-of-concept; it has only received minimal testing and we have never used it in production. At the very minimum, it will slow down Varnish a fair amount (at least a few milliseconds per request, depending on how fast your network and your redis server are).

So far the module builds and runs on FreeBSD--on other platforms, you are on your own (pull requests welcome).

Functions and procedures

redis.send(command)

Sends the given command to redis; the response will be ignored.

redis.call(command)

Sends the given command to redis; any response will be returned as a string.

Dependencies

Building

  • ./autogen.sh
  • make
  • sudo make install

Configuration

See the examples folder.

About

A Varnish module that allows sending commands to redis from the VCL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 80.9%
  • Shell 19.1%