摘要:
什么是 /proc ? 官方文档是这么解释的: The proc filesystem is a pseudo-filesystem which provides an interface to kernel data structures. It is commonly mounted at /p 阅读全文
摘要:
为什么需要Service? 在 K8s 集群里面会通过 pod 去部署应用,与传统的应用部署不同,传统应用在给定的机器上面去部署,我们知道怎么去调用别的机器的 IP 地址。但是在 K8s 集群里面应用是通过 pod 去部署的, 而 pod 生命周期是短暂的。在 pod 的生命周期过程中,比如它创建或 阅读全文
摘要:
本文对LeetCode中的买卖股票问题做了一个汇总。 121. Best Time to Buy and Sell Stock 给定一个数组,它的第 i 个元素是一支给定股票第 i 天的价格。 如果你最多只允许完成一笔交易(即买入和卖出一支股票一次),设计一个算法来计算你所能获取的最大利润。 注意: 阅读全文
摘要:
1. POST 与 PUT 的区别 什么是幂等性(Idempotence)?根据维基百科中的幂等性定义: Idempotence is the property of certain operations in mathematics and computer science, that can b 阅读全文