摘要:
标准化思想及组装式架构在后端BFF中的实践 - 美团技术团队 https://tech.meituan.com/2022/04/28/composable-architecture-in-bff-2022.html 1. 前言 在本地生活服务领域,面向C端的信息展示类功能存在着类生物系统的复杂性,具
阅读全文
posted @ 2022-05-12 09:13
papering
阅读(120)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/HdP5NcQIdzfznGwcHLTvMw 无锁队列的几种实现及其性能对比 原创 腾讯程序员 腾讯技术工程 2022-05-11 18:00 发表于广东 作者:juliatliu,腾讯 PCG 运营开发工程师 一、无锁队列用在什么样的场景? 当
阅读全文
posted @ 2022-05-11 20:17
papering
阅读(332)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/XvmQQ1_EtXKTm8J0k3K63Q
阅读全文
posted @ 2022-05-11 20:17
papering
阅读(68)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/ddpi0r3Q5uonLljX1dtq2g
阅读全文
posted @ 2022-05-11 20:16
papering
阅读(52)
推荐(0)
摘要:
https://leetcode.cn/problems/w3tCBm/solution/qian-n-ge-shu-zi-er-jin-zhi-zhong-1-de-g-fkjq/
阅读全文
posted @ 2022-05-11 20:15
papering
阅读(49)
推荐(0)
摘要:
https://leetcode.cn/problems/xoh6Oh/solution/zheng-shu-chu-fa-by-leetcode-solution-3572/
阅读全文
posted @ 2022-05-11 20:11
papering
阅读(31)
推荐(0)
摘要:
https://leetcode.cn/problems/majority-element/
阅读全文
posted @ 2022-05-11 19:54
papering
阅读(28)
推荐(0)
摘要:
Go 高性能编程技法 - 知乎 https://zhuanlan.zhihu.com/p/482547957 1.1 优先使用 strconv 而不是 fmt 基本数据类型与字符串之间的转换,优先使用 strconv 而不是 fmt,因为前者性能更佳。 // Bad for i := 0; i <
阅读全文
posted @ 2022-05-11 11:19
papering
阅读(98)
推荐(0)
摘要:
Linux系统目录数和文件数限制 - 走看看 http://t.zoukankan.com/zt007-p-6639322.html Linux系统目录数和文件数限制 对于系统管理员来说,了解系统的一些限制是非常有必要的,这样可以根据需要进行必要的参数配置和调整,进而实现更优的性能,对于系统设计人员
阅读全文
posted @ 2022-05-11 10:22
papering
阅读(1644)
推荐(0)
摘要:
最全HTTP安全响应头设置指南_语言 & 开发_Charlie Belmer_InfoQ精选文章 https://www.infoq.cn/article/SHlQeOJDEfSx*P5Cjg1s
阅读全文
posted @ 2022-05-10 13:32
papering
阅读(135)
推荐(0)
摘要:
实践: 1、 w.Header().Set("Content-Type", "application/json;charset=UTF-8") // X-Content-Type-Options: nosniff 防嗅探 w.Header().Set("X-Content-Type-Options"
阅读全文
posted @ 2022-05-10 13:26
papering
阅读(615)
推荐(0)
摘要:
Language Guide (proto3) | Protocol Buffers | Google Developers https://developers.google.cn/protocol-buffers/docs/proto3?hl=zh-cn#simple Scalar Value
阅读全文
posted @ 2022-05-10 09:32
papering
阅读(51)
推荐(0)
摘要:
广告素材优选算法在内容营销中的应用实践 https://mp.weixin.qq.com/s?__biz=MzI1MzYzMjE0MQ==&mid=2247493271&idx=1&sn=6f87fd1f2f308c6296c8d58f8a072961&chksm=e9d32d75dea4a463f
阅读全文
posted @ 2022-05-10 09:30
papering
阅读(100)
推荐(0)
摘要:
// Keep the fibbers in dedicated operating system // threads, so that this program tests coordination // between pthreads and not just goroutines. run
阅读全文
posted @ 2022-05-10 09:30
papering
阅读(168)
推荐(0)
摘要:
漫画:什么是IaaS、PaaS、SaaS? https://mp.weixin.qq.com/s/CrOUswsC3j5xGBTh5zYfZg 小结: SaaS allows users to connect to and use cloud-based apps over the Internet
阅读全文
posted @ 2022-05-10 09:29
papering
阅读(111)
推荐(0)
摘要:
https://mp.weixin.qq.com/s?__biz=Mzg5MDU5NTM1NQ==&mid=2247509474&idx=1&sn=0f9b0a52ae41c82312c80129693ea131&source=41#wechat_redirect https://mp.weixin
阅读全文
posted @ 2022-05-10 09:29
papering
阅读(77)
推荐(0)
摘要:
严选采销协同的算法优化实践 https://mp.weixin.qq.com/s/lebjiGPtjTPMEY5ATYmnJA
阅读全文
posted @ 2022-05-10 09:29
papering
阅读(41)
推荐(0)
摘要:
https://leetcode.cn/problems/jian-sheng-zi-ii-lcof/ https://leetcode.cn/problems/integer-break/
阅读全文
posted @ 2022-05-09 21:46
papering
阅读(37)
推荐(0)
摘要:
一套在 Go 中优雅地传递、返回、暴露错误,同时便于回溯翻查的解决方案 - 知乎 https://zhuanlan.zhihu.com/p/414161169 https://mp.weixin.qq.com/s/rn51V4VwXYb46h8_ugafeg 3种方式!Go Error处理最佳实践
阅读全文
posted @ 2022-05-09 21:33
papering
阅读(1853)
推荐(0)
posted @ 2022-05-08 17:38
papering
阅读(32)
推荐(0)
摘要:
第n个数 https://leetcode-cn.com/problems/chou-shu-lcof/
阅读全文
posted @ 2022-05-08 16:08
papering
阅读(32)
推荐(0)
摘要:
https://leetcode-cn.com/problems/nge-tou-zi-de-dian-shu-lcof/solution/jian-zhi-offer-60-n-ge-tou-zi-de-dian-sh-z36d/
阅读全文
posted @ 2022-05-07 22:38
papering
阅读(34)
推荐(0)
摘要:
81页PPT|《2022年中国工业软件研究报告》 https://mp.weixin.qq.com/s/Gf7dcJfsWGDYCTMpwYtxuA
阅读全文
posted @ 2022-05-07 22:32
papering
阅读(84)
推荐(0)
摘要:
收银台前端重构实践 https://mp.weixin.qq.com/s/Ui2PT0Cg_VrPyYYuI0vRxA
阅读全文
posted @ 2022-05-07 22:13
papering
阅读(155)
推荐(0)
摘要:
设计理念 | Kratos https://go-kratos.dev/docs/intro/design/ 为什么v2完全重新设计 以前关注过kratos项目的可能知道,Kratos的v1版本已经开源了很久,也是个较为完善的框架。那么为什么不直接基于v1继续迭代,而是要推倒重来,推出完全重新设计
阅读全文
posted @ 2022-05-07 14:18
papering
阅读(84)
推荐(0)
摘要:
go内存地址 - 简书 https://www.jianshu.com/p/c4dd003b48d7 the-way-to-go_ZH_CN/10.2.md at master · unknwon/the-way-to-go_ZH_CN · GitHub https://github.com/unk
阅读全文
posted @ 2022-05-07 14:17
papering
阅读(67)
推荐(0)
摘要:
the-way-to-go_ZH_CN/10.1.md at master · unknwon/the-way-to-go_ZH_CN · GitHub https://github.com/unknwon/the-way-to-go_ZH_CN/blob/master/eBook/10.1.md
阅读全文
posted @ 2022-05-07 14:17
papering
阅读(72)
推荐(0)
摘要:
A multi-producer, multi-consumer queue. queue.py
阅读全文
posted @ 2022-05-07 09:22
papering
阅读(40)
推荐(0)
摘要:
func reverse(a []byte) { for i, n := 0, len(a); i < n/2; i++ { a[i], a[n-1-i] = a[n-1-i], a[i] } } https://leetcode.cn/problems/rotate-image/
阅读全文
posted @ 2022-05-07 00:12
papering
阅读(53)
推荐(0)
摘要:
https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof/solution/zi-fu-chuan-de-pai-lie-by-leetcode-solut-hhvs/
阅读全文
posted @ 2022-05-07 00:06
papering
阅读(34)
推荐(0)
摘要:
https://leetcode-cn.com/problems/hua-dong-chuang-kou-de-zui-da-zhi-lcof/solution/hua-dong-chuang-kou-de-zui-da-zhi-by-lee-ymyo/
阅读全文
posted @ 2022-05-06 23:49
papering
阅读(46)
推荐(0)
摘要:
原创|X侦探所事件簿|内存到哪里去了 https://mp.weixin.qq.com/s/3ofmJhRwIZD-GV8TYxVLGw 原创|X侦探所事件簿|内存到哪里去了 原创 腾讯数据库技术 腾讯数据库技术 2022-03-29 18:57 收录于合集 #MySQL13个 #内存1个 提示:公
阅读全文
posted @ 2022-05-06 16:51
papering
阅读(202)
推荐(0)
摘要:
https://leetcode-cn.com/problems/ba-zi-fu-chuan-zhuan-huan-cheng-zheng-shu-lcof/ https://leetcode-cn.com/problems/ba-zi-fu-chuan-zhuan-huan-cheng-zhen
阅读全文
posted @ 2022-05-05 22:13
papering
阅读(59)
推荐(0)
摘要:
小结: 1、 t1 := T{} var t5 T t5 = T{} t2 := new(T) var t3 *T = new(T) var t4 *T t4 = new(T) t6 := &T0{} var t7 *T0 t7 = &T0{} t1 t5 : 结构体类型变量给 t 分配内存,并零值
阅读全文
posted @ 2022-05-05 16:18
papering
阅读(57)
推荐(0)
摘要:
type State int type CharType int const ( STATE_INITIAL State = iota STATE_INT_SIGN STATE_INTEGER STATE_POINT STATE_POINT_WITHOUT_INT STATE_FRACTION ST
阅读全文
posted @ 2022-05-05 00:41
papering
阅读(263)
推荐(0)
摘要:
https://leetcode-cn.com/problems/first-unique-character-in-a-string/solution/zi-fu-chuan-zhong-de-di-yi-ge-wei-yi-zi-x9rok/ 思路与算法 我们也可以借助队列找到第一个不重复的字符
阅读全文
posted @ 2022-05-02 23:20
papering
阅读(60)
推荐(0)
摘要:
Boyer-Moore class Solution { public: int majorityElement(vector<int>& nums) { int candidate = -1; int count = 0; for (int num : nums) { if (num == can
阅读全文
posted @ 2022-05-02 22:44
papering
阅读(39)
推荐(0)
摘要:
程序中有个常量,空间超过了1页,有哪些优化思路
阅读全文
posted @ 2022-05-01 23:48
papering
阅读(39)
推荐(0)
摘要:
用mmap 考os不用考虑, 利用 cache 向量化计算 内存对齐 叶大小 都得考虑
阅读全文
posted @ 2022-05-01 23:41
papering
阅读(49)
推荐(0)
摘要:
https://leetcode-cn.com/problems/shu-zu-zhong-shu-zi-chu-xian-de-ci-shu-ii-lcof/
阅读全文
posted @ 2022-05-01 23:06
papering
阅读(28)
推荐(0)