Giter VIP home page Giter VIP logo

Comments (1)

azee avatar azee commented on September 6, 2024

Hi Bob,

With the schema above your current configuration will change insignificantly.

  1. First, you'll have to point your config to a Mongo replica set. It could be either a list of hosts (in that case Driver will auto-detect the master node) or a connection URI (e.g., if you set up Mongo using mongo cloud https://www.mongodb.com/cloud/)

so either
mongo.replicaSet=MONGO_HOST_IP1:27017,MONGO_HOST_IP2:27017,MONGO_HOST_IP3:27017
or
mongo.uri=mongodb+srv://some_uri_given_you_by_mongo_provider_or_your_local_dba

  1. Second, you'll have to set up Hazelcast Session Provider. It will allow all your quack instanced share authenticated users sessions

whoru.session.provider=ru.greatbit.whoru.auth.providers.HazelcastSessionProvider

These are optional - use default values as stated below:
hazelcast.group.name=dev
hazelcast.group.password=dev-pass
hazelcast.ttl.sec=1209600
hazelcast.port=5903
hazelcast.port.rest=5904
hazelcast.port.auto.increment=true
hazelcast.backup.count=1
hazelcast.prefer.ipv4.stack=true

If you know IP addresses of all QuAck instances your are running - just list them comma separated here:
hazelcast.members=IP_ADDRESS_1,IPADDRESS_2,IPADDRESS_3
hazelcast.interface=127.0.0.1

If you have a dynamic IP addresses range (e.g. - private VPC) - you can configure an auto-discovery like (in this example VPC has range 10.0.0.0. 10.0.255.255)
hazelcast.members=127.0.0.1
hazelcast.interface=10.0...

from quack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.