GithubHelp home page GithubHelp logo

how to cluster deploy? about scipio-erp HOT 7 CLOSED

ilscipio avatar ilscipio commented on July 23, 2024
how to cluster deploy?

from scipio-erp.

Comments (7)

madppiper avatar madppiper commented on July 23, 2024

Hi hanyou,

I will write a small article for our documentation and leave the link here in a few minutes.

Cheers,
Paul

from scipio-erp.

madppiper avatar madppiper commented on July 23, 2024

I added the following article to our developer documentation:

http://www.scipioerp.com/community/developer/installation-configuration/clustering/

Let me know if this works for you.

from scipio-erp.

hanyou avatar hanyou commented on July 23, 2024

if need share session, how to do? can we put session in redis?
in your deploy diagram, what't mean webserver?

from scipio-erp.

madppiper avatar madppiper commented on July 23, 2024

I am not sure what you mean by "redis", but generally speaking we do not recommend to use the tomcat based session sharing. We do not know if it works and despite, it adds no benefit to your setup. Using "sticky sessions" will force a user to stay on the same server once he opens a request for the entirety of the session. If his sessions ends, or if another user accesses your cluster, it is possible that he will access a different machine for their respective session. So if you want to run in a cluster and do not want to worry about whether or not a user session is always in the right condition, then sticky sessions are the way to go.

A Webserver is a piece of software that handles incoming requests from the internet. "Apache" or "nginx" are good examples for this. There are many reasons as to why you should consider adding a webserver infront of a clustered application setup. In the context here, it is to handle sticky sessions (and other things, like ssl, reverse-proxy of urls and so on).

So the way the article describes a cluster setup is really our recommendation. If despite my absolute warning against shared sessioning you still want to use it, then you can enable it by uncommenting lines 48-65 in \framework\catalina\ofbiz-component.xml. Like I said though, you will be on your own then ;)

from scipio-erp.

martinbehrens avatar martinbehrens commented on July 23, 2024

@hanyou We haven't had Scipio ERP in production with Redis, yet.

from scipio-erp.

hanyou avatar hanyou commented on July 23, 2024

Thank @madppiper , i use Nginx in front of SCIPIO.
Can i change ActiveMQ to RabbitMQ?

from scipio-erp.

madppiper avatar madppiper commented on July 23, 2024

That should work, yes. The implementation is not AMQ specific.

from scipio-erp.

Related Issues (16)

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.