• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

1 About the SWI-Prolog Redis client
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • Redis -- a SWI-Prolog client for redis
        • About the SWI-Prolog Redis client
          • Redis and threads
          • Redis TLS support
          • Using Redis sentinels
          • About versions
          • Redis as a message brokering system
          • History

1.6 History

This module is based on the gpredis.pl by Sean Charles for GNU-Prolog. This file greatly helped me understanding what had to be done, although, eventually, not much of the original interface is left. The main difference to the original client are:

  • Replies are not wrapped by type in a compound term.
  • String replies use the SWI-Prolog string type.
  • Values can be specified as Value as prolog, after which they are returns as a (copy of) Value. This prefixes the value using "\u0000T\u0000".
  • Strings are in UTF-8 encoding to support full Unicode.
  • Using redis_server/3, actual connections are established lazily and when a connection is lost it is automatically restarted.
  • This library allows for using the Redis publish/subscribe interface. Messages are propagated using broadcast/1.

ClioPatria (version V3.1.1-51-ga0b30a5)