This topic contains 2 replies, has 3 voices, and was last updated by  Casey Trauer 4 years, 10 months ago.

redis integration?

  • Has anyone connected iguana to redis?

    We are using redis internally, allowing for loose coupling of our internal components. We would like to use Iguana to subscribe to redis data streams and manage the insertion of records into various iguana-aware channels.

    I could try using a native lua client (https://github.com/nrk/redis-lua) but I thought I’d make sure there wasn’t a cleaner way to do it already.

    This would be incredibly useful, bumping this post.

    Hi,

    There are several strategies for connecting to Redis.

    1) Set up a web service front end like a Webdis. Use Iguana’s HTTP APIs to interact through that service.

    2) Import and adapt the Redis Lua client, which relies on LuaSocket. This will require you to compile an extension for LuaSocket. The caveat here is that external Lua libraries may not be optimized to work in Iguana. We have had customers getting this strategy to work, but I have no clear insight to offer over performance.

    Integration with in-memory databases is on our radar. I hope that we can provide more guidance in the future for how to use them with Iguana, particularly Redis.

    Regards,

    Casey Trauer,
    Director, Client Education
    iNTERFACEWARE

You must be logged in to reply to this topic.