Secure your microservices with istio step by stepconfiguration result ● Result: cert generated automatically with Istio identity 1) Apply peer-authentication to enable server side mTLS mTLS in Istio - PeerAuthenticati on Using ingress port and ingress reviews-v3 can reach v2 as peer-authentication only defines behavior of server side and auto-mTLS is on by default Access productpage 1) Apply peer-authentication to enable server side mTLS mTLS mTLS Send request via curl command : 1) Invalid token can not pass the gateway, only valid token does 2) Delete JWT authentication request, invalid token can pass the gateway Access productpage #IstioCon0 码力 | 34 页 | 67.93 MB | 1 年前3
 Working with Asynchrony Generically: A Tour of C++ ExecutorsBuilt on top of C++20’s std::stop_token support Calling code… … declares a std::stop_source and calls get_token() on it to get a stop token, … passes the token to an async operation when launching stop source when it wants the async operation to stop early. Async code can either… … poll the token periodically to see if stop has been requested, or… … register a callback to be executed when the operation! I don’t need your result anymore. Mind stopping early, please?” stop source stop token75 CANCELLATION IS A THREE-WAY HANDSHAKE OpState Caller Receiver “Please stop.” “I’ve stopped.”760 码力 | 121 页 | 7.73 MB | 6 月前3
 C++20: An (Almost) Complete Overviewthread to cancel  Calls join()38 Joining & Cancellable Threads  Cancelling threads  std::stop_token  Supports actively checking for a stop request  Can be used with condition_variable_any  std::stop_source Callback is called when stop is requested on associated stop_token  std::stop_callback myCallback { myStopToken, []{ /* … */ } }; token>39 Joining & Cancellable Threads  Example automatically [](std::stop_token token) { while (!token.stop_requested()) { //... } } }; //... job.request_stop(); // auto source { job.get_stop_source() }; // source.request_stop() // auto token { job.get_stop_token() 0 码力 | 85 页 | 512.18 KB | 6 月前3
 唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023Data Resiliency High High Data Openness Open Open Trustlessness Yes Yes ➔Web3 DApp focuses on TOKEN and tokenizing other things ➔ODA focuses on DATA and the OPENNESS of the data Core Difference Between and persistent nodes for this platform? Two Major Problems ➔ End user drives, no security (or token fund) drives. ➔ Network is like a living creature, it will evolve – grow or die. The needs of the0 码力 | 30 页 | 2.53 MB | 1 年前3
 基于 Rust Arrow Flight 的物联网和时序数据传输及转换工具 霍琳贺io/crates/sqlx • RPC: https://crates.io/crates/arrow-flight https://crates.io/crates/tonic • Authentication: https://crates.io/crates/jsonwebtoken • Data structure: • Arrow: https://crates.io/crates/arrow0 码力 | 29 页 | 2.26 MB | 1 年前3
共 5 条
- 1
 













