Making Libraries Consumable for Non-C++ Developers
Wrapper and Interface Generator (SWIG) – 1996 JVM – Java Native Interface (JNI) – 1997 .NET – Platform Invoke (P/Invoke), COM interop, C++/CLI – 2002, 2005 JVM – Java Native Access (JNA) – 2007 Go – cgo – (manual or automatic – see ARC) - Swift - COM – AddRef()/Release() - Non-Reference counted - .NET - JVM - JavaScript Manual memory management is rarely advocated for anymore.Memory model – Manual Memory Level of indirection. • Usually requires a “platform” API to use the memory. • .NET has GCHandle. • JVM, through JNI, exposes most memory as a handle – jobject, jstring, jintArray, etc. 2. Pinning – Tell0 码力 | 29 页 | 1.21 MB | 5 月前3蚂蚁金服双十一 Service Mesh 超大规模落地揭秘
方案落地-框架升级前 应用代码 SOFABoot SOFABoot/SOFARPC API JVM SOFABoot 研发框架App 容器 15 方案落地-框架升级后 应用代码 SOFABoot_Old SOFABoot/SOFARPC API SOFABoot_New JVM RPC 检测 pod 变量,注 入启动参数 判断开启了 MOSN 发布和订阅服务 直接调用,关闭寻0 码力 | 26 页 | 2.71 MB | 5 月前3陌陌Service Mesh架构实践
两次请求转发小于0.2ms Agent外部 • 提升服务器性能(缩减耗时绝对值) API层接口耗时增长小于6%21/24 数据平面资源占用 与业务容器共享CPU、内存资源配额 为Agent JVM分配256M内存资源 服务器消耗增加约10% 分配方式 内存资源 服务器资源 维持现有内存使用率与 服务器配置的最坏情况 实际需预留 600M内存22/24 数据平面兼容原有架构 对接原有系统0 码力 | 25 页 | 1.25 MB | 5 月前3探讨和实践基于Istio的微服务治理事件监控
transaction ID Request(Transaction ID)Java探针的基本原理 A.class 1 2 3 4 5 8 9 Request Response JVM 6 10 7 Class Loader Engine Agent A’.class JavaAgent 监控数据暂 存区 运行时数据区如何基于Istio的现有组件去实现 Kubernetes0 码力 | 29 页 | 8.37 MB | 5 月前3大规模微服务架构下的Service Mesh探索之路
技术输出 内部落地 如何让开源产品接受我们的改动? 如何让社区和客户认可我们的产品?开源方案选择之第一代Service Mesh Linkerd • 无控制平面 • Scala编写,基于JVM资源消耗大 • 可扩展性有限,dtab不易理解和使用 • 功能不能满足蚂蚁的需求,没法做到 类似envoy xds那样的扩展性 • 未来发展前景黯淡 Envoy • 安心做数据平面, 提供XDS0 码力 | 37 页 | 7.99 MB | 5 月前3Back to Basics: The Abstract Machine
capable of executing a program in the source language (or a family of languages, as in the case of the JVM).” (my emphasis) - Sergey Zubkow, www.quora.com (2015) CppCon 2020 - The Abstract Machine 4Copyright0 码力 | 91 页 | 538.90 KB | 5 月前3Oracle VM VirtualBox 4.1.40 Programming Guide and Reference
home property must be set to location where the VirtualBox binaries are. Please make sure that the JVM bitness matches bitness of VirtualBox you use as the XPCOM bridge relies on native libraries. Start0 码力 | 306 页 | 1.92 MB | 6 月前3Oracle VM VirtualBox 4.2.32 Programming Guide and Reference
home property must be set to location where the VirtualBox binaries are. Please make sure that the JVM bitness matches bitness of VirtualBox you use as the XPCOM bridge relies on native libraries. Start0 码力 | 339 页 | 2.07 MB | 6 月前3Oracle VM VirtualBox 4.3.36 Programming Guide and Reference
home property must be set to location where the VirtualBox binaries are. Please make sure that the JVM bitness matches bitness of VirtualBox you use as the XPCOM bridge relies on native libraries. Start0 码力 | 376 页 | 1.99 MB | 6 月前3Oracle VM VirtualBox 4.3.12 Programming Guide and Reference
home property must be set to location where the VirtualBox binaries are. Please make sure that the JVM bitness matches bitness of VirtualBox you use as the XPCOM bridge relies on native libraries. Start0 码力 | 376 页 | 2.24 MB | 6 月前3
共 22 条
- 1
- 2
- 3