Tagged articles
26 articles
Page 1 of 1
Architecture Digest
Architecture Digest
Mar 10, 2023 · Information Security

Microservice Permission Design with Shiro, Redis Session Sharing, and Dubbo

The article presents a detailed guide on designing and implementing fine-grained permission control for microservices using Apache Shiro, Spring Boot, Dubbo, and Redis to share session data across services, including code examples, configuration steps, and testing of role‑based access.

AuthorizationDubboMicroservices
0 likes · 21 min read
Microservice Permission Design with Shiro, Redis Session Sharing, and Dubbo
php Courses
php Courses
Dec 8, 2022 · Backend Development

Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie

To prevent repeated logins in distributed microservice systems, this article explains four session‑sharing solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis‑based session caching, and cookie‑based storage—detailing their principles, configuration examples, and advantages and disadvantages.

Distributed SystemsNginxTomcat
0 likes · 5 min read
Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie
Laravel Tech Community
Laravel Tech Community
Sep 22, 2021 · Backend Development

Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie

The article explains why session sharing is critical in micro‑service and distributed deployments and presents four backend solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis‑based centralized session storage, and cookie‑based sessions—detailing their implementations, advantages, and drawbacks.

BackendDistributed SystemsNginx
0 likes · 5 min read
Session Sharing Solutions in Distributed Environments: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie
Code Ape Tech Column
Code Ape Tech Column
Aug 10, 2021 · Backend Development

How to Share Sessions Across Distributed Servers: Nginx, Tomcat, Redis, and Cookie Solutions

This article explains why session sharing is critical in micro‑service architectures, compares common Nginx load‑balancing methods, and provides four practical solutions—ip_hash load balancing, Tomcat session replication, Redis‑based session caching, and cookie‑based sharing—complete with configuration examples and pros/cons.

BackendDistributed SystemsNginx
0 likes · 6 min read
How to Share Sessions Across Distributed Servers: Nginx, Tomcat, Redis, and Cookie Solutions
Java Interview Crash Guide
Java Interview Crash Guide
Jul 28, 2021 · Backend Development

How to Share Sessions Across Distributed Servers: Nginx, Tomcat, Redis & Cookie Solutions

This article explains why session sharing is needed in micro‑service architectures, outlines common Nginx reverse‑proxy strategies, and presents four practical solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis centralized cache, and cookie‑based sharing—detailing their implementations and trade‑offs.

Distributed SystemsTomcatredis
0 likes · 6 min read
How to Share Sessions Across Distributed Servers: Nginx, Tomcat, Redis & Cookie Solutions
Selected Java Interview Questions
Selected Java Interview Questions
Jul 20, 2021 · Backend Development

Session Sharing Solutions for Distributed Systems: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie Approaches

In distributed micro‑service environments, session sharing is essential to prevent repeated logins, and this article explains four practical solutions—Nginx ip_hash load balancing, Tomcat session replication, Redis‑based centralized sessions, and cookie‑based sharing—detailing their implementations, advantages, and drawbacks.

NginxTomcatredis
0 likes · 5 min read
Session Sharing Solutions for Distributed Systems: Nginx ip_hash, Tomcat Replication, Redis Cache, and Cookie Approaches
Liangxu Linux
Liangxu Linux
Feb 16, 2021 · Operations

Master GNU Screen: Session Sharing, Persistence, and Split Screens

This guide explains how to install GNU screen, create shared sessions across multiple hosts, keep tasks running after network interruptions or window closures, and use screen's vertical split feature to manage multiple terminals within a single session.

GNU ScreenLinuxsession sharing
0 likes · 7 min read
Master GNU Screen: Session Sharing, Persistence, and Split Screens
Selected Java Interview Questions
Selected Java Interview Questions
Nov 2, 2019 · Information Security

Understanding Single Sign-On (SSO) Mechanisms: Shared Session, OpenID, Cookie, and Cross‑Domain Solutions

This article explains the principles of single sign‑on and compares several practical implementations—including shared session via Redis, OpenID‑based authentication, cookie‑based OpenID storage, and cross‑domain JSONP techniques—while also discussing their limitations and security considerations.

AuthenticationOpenIDSSO
0 likes · 8 min read
Understanding Single Sign-On (SSO) Mechanisms: Shared Session, OpenID, Cookie, and Cross‑Domain Solutions
Java Captain
Java Captain
Oct 17, 2019 · Backend Development

Implementing Shared Session in Spring Boot with Shiro and Redis Using CrazyCake Plugin

This tutorial demonstrates how to enable shared HTTP sessions across multiple Spring Boot instances by integrating Apache Shiro with Redis via the CrazyCake plugin, configuring Maven dependencies, Redis and Shiro settings, building service and controller layers, and deploying the applications behind an Nginx load balancer for seamless session persistence.

JavaNginxShiro
0 likes · 12 min read
Implementing Shared Session in Spring Boot with Shiro and Redis Using CrazyCake Plugin
21CTO
21CTO
Oct 2, 2019 · Information Security

Mastering SSO: Session Sharing, OpenID, and Cross‑Domain Strategies

This article explores practical approaches to Single Sign‑On, comparing shared Session, OpenID‑based, and cookie‑based implementations, addressing scalability, cross‑domain challenges, and security considerations to help developers choose the right SSO solution for their architecture.

AuthenticationOpenIDSSO
0 likes · 8 min read
Mastering SSO: Session Sharing, OpenID, and Cross‑Domain Strategies
Ziru Technology
Ziru Technology
Jul 25, 2019 · Backend Development

Why Did Our CAS Login Fail? Uncovering Session Sharing Issues and Fixes

A July 3 CAS extension caused login failures due to inconsistent JSESSIONID handling across servers, leading to redirects and authentication errors, which were traced to missing memory‑cache configuration and resolved by removing the misconfigured node and restoring proper session sharing.

AuthenticationSessionjsessionid
0 likes · 9 min read
Why Did Our CAS Login Fail? Uncovering Session Sharing Issues and Fixes
vivo Internet Technology
vivo Internet Technology
Jul 24, 2019 · Backend Development

Spring Session Implementation Guide: Session Sharing with Redis in Distributed Systems

Spring Session enables distributed session sharing by storing HTTP session data in Redis, using a filter and listener configuration to replace Tomcat’s in‑memory storage, managing three Redis keys with coordinated expirations, and subscribing to keyspace events for reliable cleanup and cross‑instance access.

Backend DevelopmentDistributed SystemsJava
0 likes · 12 min read
Spring Session Implementation Guide: Session Sharing with Redis in Distributed Systems
Java Backend Technology
Java Backend Technology
Jun 15, 2019 · Backend Development

How to Share HTTP Sessions Across Spring Boot Instances with Redis and Nginx

This article explains why session sharing is required in distributed Java back‑ends, demonstrates how Spring Session automatically synchronizes HttpSession data to Redis, and shows step‑by‑step how to configure Spring Boot, Redis, and Nginx to achieve transparent session sharing across multiple service instances.

Backend DevelopmentNginxSpring Boot
0 likes · 8 min read
How to Share HTTP Sessions Across Spring Boot Instances with Redis and Nginx
Java Captain
Java Captain
Jun 14, 2019 · Backend Development

Implementing Session Sharing with Spring Session and Redis in a Spring Boot Cluster

This article explains how to use Spring Session together with Redis to achieve transparent HTTP session sharing across multiple Spring Boot instances in a clustered environment, including project setup, Redis configuration, sample controller code, Nginx load‑balancing, and deployment steps.

Backend DevelopmentNginxSpring Boot
0 likes · 9 min read
Implementing Session Sharing with Spring Session and Redis in a Spring Boot Cluster
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 17, 2016 · Information Security

How to Implement Robust Single Sign-On Across Multiple Domains

This article explores various single sign-on strategies—including shared Redis sessions, OpenID-based authentication, cookie-driven OpenID storage, and JSONP cross-domain solutions—detailing their architectures, limitations, and security considerations, and offers practical guidance for building scalable, secure SSO in multi-domain environments.

AuthenticationOpenIDSSO
0 likes · 9 min read
How to Implement Robust Single Sign-On Across Multiple Domains
21CTO
21CTO
Mar 25, 2016 · Backend Development

How to Share Tomcat Sessions via Redis: Step-by-Step Setup Guide

This tutorial walks through configuring Redis for Tomcat session sharing on Windows, covering environment setup, Gradle compilation of the tomcat-redis-session-manager plugin, jar deployment, context.xml configuration, and verification of shared session IDs across multiple Tomcat instances.

GradleJavaTomcat
0 likes · 8 min read
How to Share Tomcat Sessions via Redis: Step-by-Step Setup Guide
Java High-Performance Architecture
Java High-Performance Architecture
Jul 20, 2015 · Backend Development

When to Use Session Sharing vs. Session Persistence in Load‑Balanced Backends

The article explains why session sharing across servers solves independent session issues but is unsuitable for tightly coupled multi‑step interactions or frameworks with special session handling, and introduces session persistence (sticky sessions) such as Nginx's ip_hash to keep a user bound to a single backend server.

Backend Architectureload balancingsession persistence
0 likes · 3 min read
When to Use Session Sharing vs. Session Persistence in Load‑Balanced Backends
Java High-Performance Architecture
Java High-Performance Architecture
Jul 19, 2015 · Backend Development

How to Share Sessions Across Multiple Servers: 3 Proven Methods

With growing traffic, single-server sites struggle, so developers must share user sessions across multiple servers; this article explains three popular approaches—cookie-based, database-based, and Memcache-based session sharing—detailing their principles, advantages, and drawbacks to help choose the right solution.

BackendPHPload balancing
0 likes · 4 min read
How to Share Sessions Across Multiple Servers: 3 Proven Methods
MaGe Linux Operations
MaGe Linux Operations
Jul 3, 2015 · Backend Development

How to Share Tomcat Sessions Across a Cluster Using MSM and Memcached

This guide explains how to achieve high‑availability Tomcat session sharing in a clustered environment by installing and configuring MSM (Memcached Session Manager) with Memcached, setting up Nginx as a load balancer, and demonstrating failover handling for both Tomcat and Memcached nodes.

Backend DevelopmentMSMMemcached
0 likes · 18 min read
How to Share Tomcat Sessions Across a Cluster Using MSM and Memcached