Hidden Overhead of a Function APIperformance, we typically think about the function logic. We’ll see that a well designed function API can have an even larger impact.How will we compare performance? ● Benchmarks at this low level are advance(RandIter& iter, Diff n, random_access_iterator_tag) { iter += n; } ● Access token to make some API available only inside the library (like the default “package private” access modifier in Java) Empty0 码力 | 158 页 | 2.46 MB | 6 月前3
Apache APISIX How to implement plugin orchestration in API GatewayApache APISIX: How to implement plugin orchestration in API Gateway wenming@apache.org Apache APISIX VP Ming Wen 温铭 • Co-founder @ api7.ai • VP and PMC member, Apache APISIX • committer, Apache Apache APISIX • Custom plugin development in API Gateway • Generate APISIX plugins automatically • The future of API Gateway Apache APISIX • Cloud Native API Gateway (https://github.com/apache/apisix) Zero-Trust gateway Technology Architecture Custom plugin development in API Gateway Difficulties of gateway implementation • API Gateway is not an out-of-the-box infra project, which is different from0 码力 | 28 页 | 1.19 MB | 6 月前3
GraphBLAS: Building a C++ Matrix API for Graph Algorithmsthe important data structures and concepts? Prior work in the GraphBLAS community, C API Overview of our draft C++ API How might this interoperate with standard C++, graph library proposal? 4[DISTRIBUTION the important data structures and concepts? Prior work in the GraphBLAS community, C API Overview of our draft C++ API How might this interoperate with standard C++, graph library proposal? 5[DISTRIBUTION the important data structures and concepts? Prior work in the GraphBLAS community, C API Overview of our draft C++ API How might this interoperate with standard C++, graph library proposal? 6[DISTRIBUTION0 码力 | 172 页 | 7.40 MB | 6 月前3
蚂蚁金服 API Gateway Mesh 思考与实践蚂蚁金服 API Gateway Mesh 思考与实践 靳文祥(花名:贾岛) 蚂蚁金服 高级技术专家1/21 /01 /02 /03 API Gateway Mesh 的定义 蚂蚁金服 API Gateway Mesh 实践 云原生 API Gateway 的思考2/21 API Gateway Mesh 的定义 /013/21 LB\Ingress API Gateway POD Sidecar App POD Traffic Control Plane K8S Cluster API Gateway in Service Mesh4/21 API Gateway Service Mesh vs 南北流量(内外) API Gateway vs Service Mesh A infrastructure to decouple the application Service Mesh is Patterns SofaRPC API Gateway MQ Client Service Code6/21 LB\Ingress API Gateway Sidecar App POD Sidecar App POD Traffic Control Plane Cluster API Gateway Mesh An infrastructure0 码力 | 22 页 | 1.72 MB | 6 月前3
03-基于Apache APISIX的全流量API网关-温铭APACHE APISIX的全流量API网关 温铭, 来自一家在远程工作方式下商业化开源项目的创业公司(支流科技), 担任CEO&联合创始人, Apache 顶级项目APISIX的PMC主席, Skywalking开源项目的贡献者(commiter)。在创业之前, 在360做企业安全, 360开源委员会的发起人, 腾讯的TVP, TARS基金会的TOC成员, 在安全领域有四十多个专利, 最近三年全 加速了技术落地。新的时代中每个公司的技术都是非常重要的组成部分, 在一个商业竞争激烈的 时代, 公司愈早的占据技术顶峰愈是能够占据商业顶峰。网关作为云原生入口, 是掌握云原生的一个必经 之地, 是开启"财富"的密钥。 微服务和 API 网关的演进 从2014-2015年, 谷歌搜索引擎上"微服务"关键字的搜索趋势直线上 升 在单体架构上, 任一请求都会负载到整个的单体服务集群上 在微服务架构上, 对应请求会负载到对应的微服务子服务集群上 间隔离、降低故障率 但是同样的带来的一些问题: 接口之间通用的功能重复开发、膨胀的 服务数量、难以管理 使用API网关模式 使用API网关进行API聚合 使用API网关实现灰度发布 使用API网关实现服务熔断 与传统API网关的功能 • 让 API 请求更安全、更高效的得到处理 • 覆盖 Nginx 的所有功能:反向代理、负载均衡 • 动态上游、动态 SSL 证书、动态限流限速0 码力 | 11 页 | 6.56 MB | 6 月前3
廖雪峰JavaScript教程插入DOM - 2 - 本文档使用 书栈(BookStack.CN) 构建 6.2.3 删除DOM 6.3 操作表单 6.4 操作文件 6.5 AJAX 6.6 Promise 6.7 Canvas 7 jQuery 7.1 选择器 7.1.1 层级选择器 7.1.2 查找和过滤 7.2 操作DOM 7.2.1 修改DOM结构 7.3 事件 7.4 动画 7.5 扩展 8 在JavaScript中使用JSON,就是这么简单! 反序列化 练习 4.3 JSON - 110 - 本文档使用 书栈(BookStack.CN) 构建 用浏览器访问Yahoo的天气API,查看返回的JSON数据。 原文: https://wizardforcel.gitbooks.io/liaoxuefeng/content/js/27.html 4.3 JSON - 111 另外还要注意识别各种国产浏览器,如某某安全浏览器,某某旋风浏览器,它们只是做了一个壳,其核 心调用的是IE,也有号称同时支持IE和Webkit的“双核”浏览器。 不同的浏览器对JavaScript支持的差异主要是,有些API的接口不一样,比如AJAX,File接口。对 于ES6标准,不同的浏览器对各个特性支持也不一样。 在编写JavaScript的时候,就要充分考虑到浏览器的差异,尽量让同一份JavaScript代码能运行在0 码力 | 264 页 | 2.81 MB | 10 月前3
A Case-study in Rewriting a Legacy GUI Library for Real-time Audio Software in Modern C++real-time audio plug-ins Confidential property of iZotope Inc.Canvas (ca. 2002)JUCE (ca. 2004) Canvas (ca. 2002)JUCE (ca. 2004) Canvas (ca. 2002) Qt (ca. 2014)iZotope Inc.iZotope Inc.Let's do a InsightWhat is wrong with Canvas properties? iZotope Inc.// View.h namespace Canvas { class View : public PropertyHolder, public Trackable { … } } // Button.h class Button : public Canvas::View { public: static // ... }; iZotope Inc.// View.h namespace Canvas { class View : public PropertyHolder, public Trackable { … } } // Button.h class Button : public Canvas::View { public: static const char* const kText;0 码力 | 138 页 | 2.75 MB | 6 月前3
AR Game Development for Beginnersthere are two main AR SDK's available. ARCore for Android and ARKit for iOS. AR Foundation is an API which allows the developer to create AR apps for both platforms seamlessly. Developers don't need the app will be called on your device • In the Other Settings tab... • Enable Auto Graphics API • Disable Multithread Rendering Scroll down a bit and create a Package Name. This is a unique really be whatever you want, just follow the structure. Also set the Minimum API Level to Android 7.0 "Nougat" (API level 24). This book is brought to you by Zenva - Enroll in our Augmented Reality0 码力 | 78 页 | 3.31 MB | 10 月前3
Game Development for Human Beingsset the size of the entire windows. Phaser.AUTO means that whether the game will be rendered on a CANVAS element or using WebGL will depend on the browser. If WebGL is available it will be used as the this.highestScore = Math.max(score, this.highestScore); 6 }, **Note: using the localStorage API you could save this high score, if you want to learn how to use localStorage you can check this tutorial texture of this sprite will be a Phaser bitmap, which is a Phaser object with an HTML Canvas, so you can use it like a canvas (for more information, check the documentation). Our bitmap will be from the size0 码力 | 472 页 | 8.46 MB | 10 月前3
How to Create a Game with Phaser 3terms consists in “using your graphic card to render page content for better performance”. The Canvas API is present in more browsers. By setting This book is brought to you by Zenva - Enroll in our the rendering option to “AUTO”, we are telling Phaser to use WebGL if available, and if not, use Canvas. ● Lastly, we create our actual game object. If you run this on the browser and open the console gameOver method (this is our own method, you can call it however you want – it’s not part of the API!). What we do in this method is restart the scene, so you can play again: A group of dragons0 码力 | 21 页 | 968.45 KB | 10 月前3
共 322 条
- 1
- 2
- 3
- 4
- 5
- 6
- 33













