Skip to content

afeicool/redisson-distributed-executor-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of Redisson's Distributed executor service

Usage:

redis connection config(resources/redisson.yaml):

    ---
    singleServerConfig:
      idleConnectionTimeout: 10000
      connectTimeout: 10000
      timeout: 3000
      retryAttempts: 3
      retryInterval: 1500
      password: null
      subscriptionsPerConnection: 5
      clientName: null
      address: "redis://127.0.0.1:6379"
      subscriptionConnectionMinimumIdleSize: 1
      subscriptionConnectionPoolSize: 50
      connectionMinimumIdleSize: 24
      connectionPoolSize: 64
      database: 0
      dnsMonitoringInterval: 5000
    threads: 16
    nettyThreads: 32
    codec: !<org.redisson.codec.Kryo5Codec> {}
    transportMode: "NIO"

build:

    mvn clean package

run worker:

    java -jar target/redisson-distributed-executor-service-0.0.1-SNAPSHOT.jar worker

run producer:

    java -jar target/redisson-distributed-executor-service-0.0.1-SNAPSHOT.jar producer

About

Demo of Redisson's Distributed executor service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages