KubeCon2020/大型Kubernetes集群的资源编排优化horizontally more quickly and flexibly HPA-controller Supporting horizontal scaling of business is one of the essential functions on the cloud, but the HPA Controller of native K8S use only one goroutine to and personalization configuration is not supported. Worker HPA1 HPA2 … HPAn HPA1 HPAPlus-controller Worker HPA1 HPA2 … HPAn HPA1 1. HPA can be turned on/off separately 2. Support for separate0 码力 | 27 页 | 3.91 MB | 1 年前3
Secure your microservices with istio step by stepmetadata: name: bookinfo-gateway spec: selector: istio: ingressgateway # use istio default controller servers: - port: number: 443 name: https protocol: HTTPs tls: mode:0 码力 | 34 页 | 67.93 MB | 1 年前3
C++23: An Overview of Almost All New and Updated Featuresstd::flat_(multi)map / std::flat_(multi)set std::mdspan std::generator basic_string(_view)::contains() Construct string(_view) From nullptr basic_string::resize_and_overwrite() Monadic Operations for std::flat_(multi)map / std::flat_(multi)set std::mdspan std::generator basic_string(_view)::contains() Construct string(_view) From nullptr basic_string::resize_and_overwrite() Monadic Operations for std::flat_(multi)map / std::flat_(multi)set std::mdspan std::generator basic_string(_view)::contains() Construct string(_view) From nullptr basic_string::resize_and_overwrite() Monadic Operations for0 码力 | 105 页 | 759.96 KB | 6 月前3
C++高性能并行编程与优化 - 课件 - 15 C++ 系列课:字符与字符串容器初体验 & 迭代器入门 (BV1qF411T7sd) 2. 你所不知道的 set 容器 & 迭代器分类 (BV1m34y157wb) 3. string , string_view , const char * 的爱恨纠葛 ( 本期 ) 4. 万能的 map 容器全家桶及其妙用举例 5. 函子 functor 与 lambda 表达式知多少 6 void performance_geek(std::string const &name); // 有点追求性能的极客 • void performance_nerd(std::string_view name); // 超级追求性能的极客 c_str 和 data 的区别 • const char * 可以隐式转换为 string (为了方便) • string 不可以隐式转换为 operator“”_i32 了。 • 其实 cpp 这种自定义挺好的,把自由度给到用户。 • 例如标准库说 “ hello”s 是 std::string ,“ hello”s 是 std::string_view 。 • 我也可以定义一个 “ hello”ms 是 mylib::String ,而且还是受 namespace 限制的,用户可以 自己 using namespace ,不会存在强迫别人接受你的那一套后缀名规范。0 码力 | 162 页 | 40.20 MB | 1 年前3
C++20: An (Almost) Complete Overviewexecuted: nothing is done until you iterate over result Working with infinite sequences: auto result { view::ints(10) | views::filter([](const auto& value) { return value % 2 == 0; }) /* ... */ | views::take(10) Provides a “view” over some contiguous data Does not own the data Never allocates/deallocates Could be read/write Very cheap to copy, recommended to pass by value (similar to string_view) Does using Directive Example: enum class CardTypeSuit { Clubs, Diamonds, Hearts, Spades }; std::string_view GetString(const CardTypeSuit cardTypeSuit) { switch (cardTypeSuit) { case CardTypeSuit::Clubs:0 码力 | 85 页 | 512.18 KB | 6 月前3
NativeScript 101GridLayout GridLayout Label TextField StackLayout Platform-Specific Capabilities o Files: <view>.android or <view>.ios o Markup:or o Attributes: android: or capabilities when needed. Styling with CSS CSS Convention: app.css <-- Global styles [viewName].css <-- View styles [viewName]. [platform].css Supported Properties o color o background-color o background-image 0 码力 | 90 页 | 40.11 MB | 1 年前3
C++20 STL Features: 1 Year of Development on GitHub• Now you can use constexpr algorithms • Easy: static_assert with constexpr is_sorted • string_view is also constexpr; not limited to numeric data • More advanced: constexpr sort your lookup tables14 #include#include #include #include #include view> using namespace std; int main() { static constexpr array skipped_extensions{".dll"sv, ".exe"sv endl; // ordinary read, 1729 }21 span22 span Encapsulates Ptr-Len Pairs • span is a non-owning view of contiguous elements • span is like a pair of T* and size_t, but better • spans are implicitly 0 码力 | 45 页 | 702.09 KB | 6 月前3
C++高性能并行编程与优化 - 课件 - 14 C++ 标准库系列课 - 你所不知道的 set 容器课程安排 1. vector 容器初体验 & 迭代器入门 (BV1qF411T7sd) 2. 你所不知道的 set 容器 & 迭代器分类 ( 本期 ) 3. string , string_view , const char * 的爱恨纠葛 4. 万能的 map 容器全家桶及其妙用举例 5. 函子 functor 与 lambda 表达式知多少 6. 通过实战案例来学习 STL 算法库 7. 向容器中相同的此元素,同 时 bool 类型的值为 false 。 • pairinsert(int val); http://c.biancheng.net/view/7196.html glibc 中 pair 的定义 • pair 类似于 python 里的元组,不过固定只能有两个元素,自从 C++11 引 入了能支持任意多元素的 tuple 以来,就没 0 码力 | 83 页 | 10.23 MB | 1 年前3
nativescript-new-looper-vantoll.pptxdownloads) ? • 10) ? nativescript-paypal (3,852) • Marcel Kloubert • 9) ? nativescript-grid-view (4,006) • Peter Staev • 8) ⛅ nativescript-floatingactionbutton (4,916) • Brad Martin • 7)0 码力 | 36 页 | 10.78 MB | 1 年前3
Await-Tree Async Rust 可观测性的灵丹妙药 - 赵梓淇Await Tree 在 RisingWave 中的应用 • 云原生 SQL 流式数据库 • risingwave.com • GitHub 4.5k Stars • “Materialized View” • 计算:分布式流计算任务,实时增量维护 • 存储: S3 上的 Shared-storage 存储状态和数据 Await Tree 在 RisingWave 中的应用 • 技术挑战 •0 码力 | 37 页 | 8.60 MB | 1 年前3
共 17 条
- 1
- 2













