Giter VIP home page Giter VIP logo

Comments (10)

haoxianrui avatar haoxianrui commented on August 16, 2024

每个微服务都加入资源服务器的配置太冗余了,可以限制用户直接访问到微服务,必须通过网关访问。https://blog.csdn.net/Hpsyche/article/details/102926010

from youlai-mall.

shanzhaozhen avatar shanzhaozhen commented on August 16, 2024

也是,但是这样子就做不到服务之间的权限限制了,我是在想这个问题。虽然安全方面上可以在服务器上限制仅哪些ip可以访问

from youlai-mall.

haoxianrui avatar haoxianrui commented on August 16, 2024

应该没必要担心微服务之间的相互调用权限的问题,毕竟请求到微服务都会走过一趟网关了,经过鉴权后的微服务在再调用另一个微服务说的过去

from youlai-mall.

shanzhaozhen avatar shanzhaozhen commented on August 16, 2024

应该没必要担心微服务之间的相互调用权限的问题,毕竟请求到微服务都会走过一趟网关了,经过鉴权后的微服务在再调用另一个微服务说的过去
还有一个小问题,资源权限角色缓存在redis里面的信息是不是还没做动态更新,假如修改了资源角色关系的话,是不是应该更新一下缓存呢

from youlai-mall.

haoxianrui avatar haoxianrui commented on August 16, 2024

是的,应该要更新redis的缓存,这边因为目前着手几个端开发就自己一个人,时间有限,所以暂目前没做

from youlai-mall.

shanzhaozhen avatar shanzhaozhen commented on August 16, 2024

是的,应该要更新redis的缓存,这边因为目前着手几个端开发就自己一个人,时间有限,所以暂目前没做

那我觉得没必要做成启动加载,做成接口缓存更好吧

from youlai-mall.

haoxianrui avatar haoxianrui commented on August 16, 2024

这个没必要暴露出来手动刷新吧

from youlai-mall.

gzymomo avatar gzymomo commented on August 16, 2024

每个微服务都加入资源服务器的配置太冗余了,可以限制用户直接访问到微服务,必须通过网关访问。https://blog.csdn.net/Hpsyche/article/details/102926010

随着项目的发展 网关会成为瓶颈

from youlai-mall.

abcdelf avatar abcdelf commented on August 16, 2024

每个微服务都加入资源服务器的配置太冗余了,可以限制用户直接访问到微服务,必须通过网关访问。https://blog.csdn.net/Hpsyche/article/details/102926010

随着项目的发展 网关会成为瓶颈

网关做一下集群不久可以了吗,

from youlai-mall.

lm-lan avatar lm-lan commented on August 16, 2024

为啥,又变成每个资源服务器单独认证了

from youlai-mall.

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.