You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/01/15 10:51:48 UTC

[GitHub] [servicecomb-java-chassis] NoComments opened a new issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题

NoComments opened a new issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题
URL: https://github.com/apache/servicecomb-java-chassis/issues/1539
 
 
   在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题。
   
   现在想在edge中通过访问redis来判断http header的token的合法性,请问应该放到request中去做,
   
   还是放到handler里去实现。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] NoComments commented on issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题

Posted by GitBox <gi...@apache.org>.
NoComments commented on issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题
URL: https://github.com/apache/servicecomb-java-chassis/issues/1539#issuecomment-575866107
 
 
   多谢。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题
URL: https://github.com/apache/servicecomb-java-chassis/issues/1539#issuecomment-574929315
 
 
   都是可以的。 但是需要注意edge里面是处理默认是reactive的,因此写的代码不能阻塞。 认证鉴权可以参考[servicecomb-fence](https://github.com/apache/servicecomb-fence),很多相关的开发技巧这里面都会用到。 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] NoComments closed issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题

Posted by GitBox <gi...@apache.org>.
NoComments closed issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题
URL: https://github.com/apache/servicecomb-java-chassis/issues/1539
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题

Posted by GitBox <gi...@apache.org>.
liubao68 edited a comment on issue #1539: 在edge的Dispatcher的onRequest方法中去调用redis会不会用线程上的问题
URL: https://github.com/apache/servicecomb-java-chassis/issues/1539#issuecomment-574929315
 
 
   都是可以的,建议在Handler。 但是需要注意edge里面是处理默认是reactive的,因此写的代码不能阻塞。 认证鉴权可以参考[servicecomb-fence](https://github.com/apache/servicecomb-fence),很多相关的开发技巧这里面都会用到。 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services