Comments (10)
Confirmed working. Awesome! Thanks!
from onpremises.
https://structurizr.com/help/on-premises/faq doesn't provide any additional information.
from onpremises.
I imagine the problem is the round-robin load balancer. Short term, you'll either need to configure sticky sessions instead, or setup session replication/clustering in Apache Tomcat (assuming you're using that). Longer term, we could add a way to configure session state to be stored outside the web server (e.g. in Redis), but that's not available at the moment.
from onpremises.
Would it be possible to document this? My understanding of high-availability is that sessions won't be bound to single instance of the server, so I would at least state that caveat in any documentation of HA.
from onpremises.
I've added support for storing HTTP sessions in Redis, which is available in the latest version of the on-premises installation, and this should provide a way to share session information across pods when using a round-robin load balancer. See https://structurizr.com/share/18571/documentation#http-sessions for more details.
from onpremises.
Excellent work! Which release is this in?
It really says a lot about your group when you can accomplish this kind of improvement. Kudos, really!
from onpremises.
Thanks, you're welcome. 2860 onwards -> https://structurizr.com/help/changelog
from onpremises.
I integrated this change, but it appears that using a Redis password is mandatory. This makes local development more difficult as you have to then wire in a config into the container with a password (no easy env var). Is it possible to remove that restriction?
from onpremises.
Just leaving the password empty should work:
structurizr.redis.password=
from onpremises.
Ah I tried structurizr.redis.password=""
. I'll try again in a bit.
from onpremises.
Related Issues (20)
- Structurizr with Keycloak : Request method 'POST' not supported HOT 3
- Add an option to archive workspaces rather than delete them
- Add a way to manage workspace metadata via the admin API HOT 1
- Configuration and data directory issue HOT 1
- Share page returns 500 without any log HOT 4
- SAML-based SSO broken in newest docker image(s)
- API timeout when putting workspace HOT 7
- Who to contact for security issues HOT 1
- 405 Metod Not Allowed when redirected from authentication
- On-premises installation unnecessarily/erroneously filtering HTML when using DSL editor
- Empty diagrams HOT 13
- Incorrect html display HOT 1
- Documentation not working in docker image 3196
- Unable to use redis sessions with AWS Elasticache
- Change root context from / to /abcdefg
- Content Security Policy / SAML Keycloak HOT 9
- How to connect to AWS Redis from structurizr hosted on ec2 instance inside a docker container
- s3 http endpoint HOT 1
- Slow rendering of diagrams
- Problem using & in the Documentation URI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onpremises.