Searching txt.sour.is

Twts matching #reading
Sort by: Newest, Oldest, Most Relevant

漏桶限流库 — uber-go/ratelimit
编辑推荐:Bazinga

上次有同学分享了 单机限流器 time/rate 库,讲了 Golang 标准库中基于令牌桶实现限流组件的 time/rate 使用,同时也讲了一些限流算法原理。

这里分享一个 uber 开源的一套基于漏桶实现的用于服务限流的 golang 库 ratelimit

漏洞算法的理解起来,相较于令牌桶,没有那么直观。因为令牌桶是限�� … ⌘ Read more

⤋ Read More

TiDB 故障诊断与性能排查:发生即看见,一切可回溯,Continuous Profiling 应用实践
在企业遭遇的 IT 故障中,约有 30% 与数据库相关。当这些故障涉及到应用系统、网络环境、硬件设备时,恢复时间可能达到数小时,对业务连续性造成破坏,影响用户体验甚至营收。在复杂分布式系统场景下,如何提高数据库的可观测性,帮助运维人员快速诊断问题,优化故障处理流程一直是困扰着企业的一大难题。

一次� … ⌘ Read more

⤋ Read More

The Grace Period for the Docker Subscription Service Agreement Ends Soon – Here’s What You Need to Know
Remember the updates to our product subscription tiers we announced on August 31? You may recall we also announced a grace period for those that need to transition from a free to a paid subscription to use Docker Desktop. This is a friendly reminder that that grace period is ending on January 31, 2022. Docker […]

The post [T … ⌘ Read more

⤋ Read More

蚂蚁 - 可信原生技术部 - 专用编程语言设计研发 (杭州 P7-8)

工作内容
  1. 从事云原生配置策略语言的设计研发工作,服务云原生基础设施管理场景
  2. 从事区块链智能合约专用编程语言的设计及研发工作,服务区块链链智能合约场景
  3. 深度参与开源社区项目
招聘要求
  1. 熟练掌握 rust、golang、c/c++、java、python 中的一种或多种
  2. 熟悉现代编程语言设计理念、技术及研发体系,熟悉编译技术�� … ⌘ Read more

⤋ Read More

用 Go + Redis 实现分布式锁

为什么需要分布式锁
  1. 用户下单

锁住 uid,防止重复下单。

  1. 库存扣减

锁住库存,防止超卖。

  1. 余额扣减

锁住账户,防止并发操作。
分布式系统中共享同一个资源时往往需要分布式锁来保证变更资源一致性。

分布式锁需要具备特性
  1. 排他性

锁的基本特性,并且只能被第一个持有者持有。

  1. 防死锁

高并发场景下临界 … ⌘ Read more

⤋ Read More

封装 zap 日志注入 trace 信息 Trace Id(内含 gin 例子)

hlog (源码地址)
  • 实现自动切割文件 (基于 lumberjack 实现)
  • 实现可传递 trace 信息(基于 Context 实现)
配置
  • Development bool // 是否开发模式
  • LogFileDir string // 日志路径
  • AppName string // APP 名字
  • MaxSize int //文件多大开始切分
  • MaxBackups int //保留文件个数
  • MaxAge int //文件保留最大实际
  • … ⌘ Read more

⤋ Read More

Erlang Solutions: Aleksander Lisiecki’s prize-winning eArangoDB at SpawnFest 2021

Image

What is SpawnFest?

It’s tempting to say that SpawnFest is an event that doesn’t need an introduction, but we’ll give it one anyway. SpawnFest is an annual remote hackathon, where teams have exactly one weekend (48 hours to be exact) to create the best BEAM-related application … ⌘ Read more

⤋ Read More

GoCN 每日新闻(2021-12-13)
GoCN 每日新闻(2021-12-13)

  1. 尝鲜 Go 1.18 范型版本的 map 和 slice!https://juejin.cn/post/7040800455349239822
  2. Go 实现可序列化的 Roaring Bitmapshttps://dgraph.io/blog/post/serialized-roaring-bitmaps-golang/
  3. Go 使用 Github Actions 做 CI[https://www.alexedwards.net/blog/ci-with-go-and-github-actions](https://www.alexedwards.net/blog/ci-with-go-and-github … ⌘ Read more

⤋ Read More

Isode: Successfully Managing HF Radio Networks
With the potential for new technologies to cause interference to traditional communications networks and even space itself at the risk of becoming weaponised, it is important to make sure that you always have a backup plan for your communications ready and waiting.

Should the worst happen and your primary network, typically SatCom, go down you need to ensure that you can still communicate with your forces wherever they are, and that c … ⌘ Read more

⤋ Read More

BigCache 针对 Go 垃圾回收的设计优化

为什么有这篇文章

某一天在群里摸鱼的时候,看到群里有人问 go map 的空间回收问题,把截图贴上吧:

Image

其实一位群友发出的问题引起了我注意,他的问题是: gomap 的值调用了 delete 函数是不是不会立即删除?当然这个问题如果研究过或者深入 go 的内存分� … ⌘ Read more

⤋ Read More

How I checked the battery health of my Android phone 🔋
My smartphone, a Samsung Galaxy S10 Lite, which has been my daily driver for a year and a few months, has a 4500mAh Li-Po battery (“lithium-ion polymer” – like lithium-ion, but with solid or gel-like electrolytes that allow a thinner design). My smartphone can be charged with a maximum of 45 watts. The included charger, which I always use for charging, delivers a maximum of 25 watts. ⌘ Read more

⤋ Read More
⤋ Read More

Apache Log4j 2 CVE-2021-44228
We know that many of you are working hard on fixing the new and serious Log4j 2 vulnerability CVE-2021-44228, which has a 10.0 CVSS score. We send our #hugops and best wishes to all of you working on this vulnerability, now going by the name Log4Shell. This vulnerability in Log4j 2, a very common Java […]

The post Apache Log4j 2 CVE-2021-44228 appeared first on Docker Blog. ⌘ Read more

⤋ Read More

Ignite Realtime Blog: Openfire 4.6.5 released
Although we’re preparing for the Openfire 4.7.0 release, the recently discovered vulnerability in the Apache Log4j utility prompted us to push an immediate release of Openfire to address that issue. This release, Openfire 4.6.5, is available now.

We urge you to update as soon as possible. If that’s not feasible, then we advise you to apply the documented workaround (in the form o … ⌘ Read more

⤋ Read More

快速搭建私有云服务 go-btfs

快速搭建私有云服务 go-btfs 1. go-btfs 是什么?

go-btfs go-btfs 是一个去中心化的文件存储平台,无论图片、文件、视频等等各类文件。
每个人都可以在自己电脑上安装部署 BTFS 节点,然后大家的节点相互连接,构成一个整体网络,
网络中某一个节点上传文件,其他节点就像访问本地一样直接下载使用。同时,它还支持冗余备份,使用 reed-solomn … ⌘ Read more

⤋ Read More

【上海】【米哈游】Golang 研发工程师
职位描述:

1、负责米哈游游戏的官网、活动的开发;

2、负责线上活动和游戏工具的维护和迭代;

3、归纳和封装活动的通用组件和基础服务;

岗位要求:

1、计算机相关专业本科及以上学历,有两年以上后台开发经验;

2、熟悉 Go 语言,有实际使用 Go 语言项目开发经验;

3、对微服务架构有一定程度的研究并有开发经验,在服务治理,服务监 … ⌘ Read more

⤋ Read More

Video: C Programming on System 6 - User Authentication and Telnet Negotiation
I review some recent commits covering user authentication and telnet negotiation, then write some ANSI output code and a broken function for returning a number’s ordinal string. ⌘ Read more

⤋ Read More

招聘 [上海] SAP SuccessFactors 招聘后端工程师. — 金科路 (2 号线)
部门简介

SAP SuccessFactors 是面向不同规模组织的基于云的 HXM SaaS 解决方案的领先提供商,在全球 168 个国家拥有使用 34 种语言的 6500 多家客户,我们的解决方案侧重于业务协调(员工从事正确的工作)和员工绩效(充分发挥潜力)。能帮助公司更快、更智能地落地 HR 相关业务。2011 年底,SuccessFactors 成为 SAP 的一部分,是 SAP 在全球推动云业 … ⌘ Read more

⤋ Read More

GoCN 每日新闻 (2021-12-10)
GoCN 每日新闻 (2021-12-10)

  1. bob 一个从天上掉下来的构建工具https://github.com/benchkram/bob
  2. hackgo 编译器让 go 添加一个新的关键字https://avi.im/blag/2021/rc-day-24/
  3. 一个” 自由 “解析 xml 而不是预定义 struct 的工具https://github.com/xrfang/fxml
  4. 一个真开源的 mongodb 的替代者[https://github.com/FerretDB/FerretDB](https://gi … ⌘ Read more

⤋ Read More

Explore the Sky 丨来 TiDB Hackathon 2021 探索无限可能
—— 从 Ti 星球出发,Explore the Sky,这个世界还有多少种可能?

Image

一年一度 TiDB Hackathon 又来啦!

本届 Hackathon 主题为「Explore the Sky」,将在 2022.1.8 - 9 两个比赛日进行开发,线上线下联动。 从 Ti 星球到宇宙苍穹,我们用 Hacking 连接更广泛的生态,给予参赛者尽情�� … ⌘ Read more

⤋ Read More

ProcessOne: ejabberd 21.12
This new ejabberd 21.12 release comes after five months of work, contains more than one hundred changes, many of them are major improvements or features, and several bug fixes.

Image

When upgrading from previous versions, please notice: there’s a change in mod_register_web behaviour, and PosgreSQL database, please take a look if they affect your installation.

A more detailed expla … ⌘ Read more

⤋ Read More

ProcessOne: ejabberd 21.12
This new ejabberd 21.12 release comes after five months of work, contains more than one hundred changes, many of them are major improvements or features, and several bug fixes.

Image

When upgrading from previous versions, please notice: there’s a change in mod_register_web behaviour, and PosgreSQL database, please take a look if they affect your installation.

A more detailed expla … ⌘ Read more

⤋ Read More

ProcessOne: ejabberd 21.12
This new ejabberd 21.12 release comes after five months of work, contains more than one hundred changes, many of them are major improvements or features, and several bug fixes.

Image

When upgrading from previous versions, please notice: there’s a change in mod_register_web behaviour, and PosgreSQL database, please take a look if they affect your installation.

A more detailed expla … ⌘ Read more

⤋ Read More

Docker Secure Images: What Are They and How Do I Use Them?
One of the major challenges in today’s development environments is balancing innovation with security. Focusing on both is never a small effort and might seem tedious or constraining at times, but when security is implemented from the start, it can shorten development time and prevent exposure to vulnerabilities. This is why Docker rolled out Docker […]

The post [Docker Secure Images: What Are They and How Do I Us … ⌘ Read more

⤋ Read More

详解布隆过滤器的原理和实现

为什么需要布隆过滤器

想象一下遇到下面的场景你会如何处理:

  1. 手机号是否重复注册
  2. 用户是否参与过某秒杀活动
  3. 伪造请求大量 id 查询不存在的记录,此时缓存未命中,如何避免缓存穿透

针对以上问题常规做法是:查询数据库,数据库硬扛,如果压力并不大可以使用此方法,保持简单即可。

改进做法:用 list/set/tree 维护一个元素集合,判断元素是否� … ⌘ Read more

⤋ Read More

Do the New Terms of Docker Desktop Apply If You Don’t Use the Docker Desktop UI?
Even if you’re not taking advantage of the user interface that Docker provides with Docker Desktop and are simply using the CLI, you may still need a paid subscription to use Docker Desktop. Much of the value of Docker Desktop comes from making it easy to develop with containers locally on Windows and Mac. We […]

The post [Do the New Terms of Docker Desktop Apply If Yo … ⌘ Read more

⤋ Read More

曹大实战营二期大家收获到吗?
曹大实战营二期,已接近尾声了,各位感觉收获到吗?
我个人初学者听下来,收获不大,可能属于高级工程师课程吧;
有些后悔购买课程,还不便宜呢;不过成年人只能为自己的选择负责了。。。。

Image

Read more

⤋ Read More

Defeat Street
Some of the sincerity slimed up on me

Cards wrote themselves and rifled me

Rigging the blast door to explore didn’t pan out this time

Rushed in, gobbled up and left me bottled up, that monstrous cub

To tell you the truth, I snort mousse

Rust seeps into cereals I produce

Rum may run rampantly down the drain, so let me think

I’ll leave a limb in the pipes to entice a drink ⌘ Read more

⤋ Read More

使用 KubeSphere 快速部署 Chaos Mesh

Chaos Mesh 简介

Chaos Mesh 是一个开源的云原生混沌工程平台,提供丰富的故障模拟类型,具有强大的故障场景编排能力,方便用户在开发测试中以及生产环境中模拟现实世界中可能出现的各类异常,帮助用户发现系统潜在的问题。

Image

KubeS … ⌘ Read more

⤋ Read More

硅谷科技公司招全职后端工程师
我们是 base 在湾区的一家区块链科技公司,以数千万美元估值完成了本轮初期的融资,目前资金充沛。我们的技术团队已经做出来了基本的 MVP, 深得投资人看好。我们想招一名后端工程师全职加入,加快正式产品的迭代。

重点!!!我们对工作年限没有硬性要求,只要你是牛人,就欢迎加入

关于我们的团队
  1. 我们团队非常年轻,成员毕业于清北、常春藤,都有 … ⌘ Read more

⤋ Read More

Docker Verified Publisher: Trusted Sources, Trusted Content
Six months since its launch at DockerCon, the Docker Verified Publisher program delivers on its promise to developers and partners alike The Docker Verified Publisher program means trusted content and trusted sources for the millions of Docker users. At the May 2021 DockerCon, Docker announced its Secure Software Supply Chain initiative, highlighting Docker Verified Publisher […]

The post [Docker Verified Publishe … ⌘ Read more

⤋ Read More

Enrolling all npm publishers in enhanced login verification and next steps for two-factor authentication enforcement
Today we’re introducing enhanced login verification to the npm registry, and we will begin a staged rollout to maintainers beginning Dec 7. ⌘ Read more

⤋ Read More

An imaginary conversation with Peter Schiff
Before I get to the conversation I find it necessary to note that I have been listening to Peter Schiff’s podcast on and off, and find his inside to be agreeable most of the time. He knows his stuff, and is explaining it very well. Me Why invest in Gold rather then diamonds? What makes […] ⌘ Read more

⤋ Read More

蚂蚁招聘云原生运维专家 (杭州 P7-8)
蚂蚁招聘云原生运维专家 (杭州 P7-8)

联系方式: chaishushan{TA}gmail.com, shushan.css{TA}alibaba-inc.com

职位描述
1、负责蚂蚁集团代码化技术引擎 Kusion 的建设,打造蚂蚁集团开放协同运维能力底盘,并深度参与应用生命周期代码化、基础设施代码化、策略代码化等落地场景
2、参与打造蚂蚁集团规模化运维产品,构建完整的规模化运维功能
3、深度参与 CNCF、 K8S、基础设�� … ⌘ Read more

⤋ Read More