原创 mac上vscode java開發

文章目錄java& mavenpom.xmlvscode啓動配置傳啓動參數打包 java& maven 安裝jdk8, maven 我把maven裝在~/Library/下 環境變量. 在~/.brashrc 中 # f

原创 服務過載和策略

k8s: Overloaded API servers (sending 429) never cause clients to rebalance #48610

原创 c++ invoke python

pybind11 While pybind11 is mainly focused on extending Python using C++, it’s also possible to do the reverse: emb

原创 壓縮工具/算法

gzip, bzip2, xz 工具比較 原文:https://www.rootusers.com/gzip-vs-bzip2-vs-xz-performance-comparison Conclusion If you a

原创 端上的模型部署

ref Tensorflow Lite介紹

原创 c++與python的數據交互

c++和python 都可以用pickle對數據進行序列化、反序列化,進而通過tcp/dup,pipe, shared memory 等方法進行通信 PicklingTools: Cross Language Tools for

原创 Bazel 使用

TODO ref: https://www.cnblogs.com/Jack47/p/bazel-faq.html Hehe 爲什麼bazel 流行不起來: https://www.cnblogs.com/Jack47/p/w

原创 k8s調度器

K8S調度器 K8S集羣調度原理及調度策略 Taints、Tolerations Taints(污點): 針對node Tolerations(容忍) : 針對pod ref: https://blog.frognew

原创 微服務框架比較

分類 單機版 只算是整個微服務實例的可執行程序,RPC框架。 如grpc, brpc, dii, 有些支持多語言開發 帶服務治理,單一語言 如 Java的Spring Cloud, dubbo Service Mesh 通sid

原创 python asyncio

解決python 異步併發 ref https://www.cnblogs.com/shenh/p/9090586.html https://www.cnblogs.com/zhaof/p/8490045.html

原创 python 依賴

TODO 可以用autoflake,autoremove 去除沒有使用的依賴

原创 c++ 加載pytorch 模型

ref 利用Pytorch的C++前端(libtorch)讀取預訓練權重並進行預測 LOADING A TORCHSCRIPT MODEL IN C++

原创 unittest for django models

import unittest from django.conf import settings DATABASES = { 'default': { 'ENGINE': 'django.db.back

原创 k8s operator

what is it An Operator is software that encodes this domain knowledge and extends the Kubernetes API through the th

原创 source to url

ref Orchestrate a source-to-url deployment on a private cloud instance