Wondering what’s next for npm?Check out our public roadmap! »

    faye-multi-redis

    0.0.3 • Public • Published

    Faye Redis Engine

    An implementation of Faye Engine for using with multiple redis server

    Example

    var bayeux = new Faye.NodeAdapter({
      mount: '/faye'
      , timeout: 120
      , ping: 30
      , engine : {
        type:   require('faye-multi-redis-node'),
        cluster: [
          {
            "host": "127.0.0.1",
            "port": 6379,
            "password": "secret"
          },
          {
            "host": "127.0.0.1",
            "port": 6380,
            "password": "secret"
          },
          {
            "host": "127.0.0.1",
            "port": 6381,
            "password": "secret"
          }
        ]
      }
    });
    

    Features

    • Use multiple redis servers for storing faye clients/channels information
    • Use multiple redis servers for pub/sub
    • Automatically remove offline redis servers and add them back when they are online again (rely on redis-spawn)

    TODOs

    • Implement various custom filters for complete control over the flow of the engine
    • Support redis socket

    License

    MIT

    Keywords

    Install

    npm i faye-multi-redis

    DownloadsWeekly Downloads

    0

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • avatar