This is the architecture I designed for service “Managed Service for Alibaba Cloud” of company production. It’s also my common architecture that can be used to deploy distributed Python applications or service based on workers or MQ. This is a easy to upgrade architecture. You can simply add other service or make it becoming microservices.
Continue reading整理了自己对开源软件做的一些修改、提交或者错误报告
Continue reading之前在这篇blog中介绍过使用Azure Client az
来部署生成到网站. 使用az
很方便,但是也有些缺点,例如会把整个网站全部重新上传一遍,速度慢不说,还浪费多次blob
的操作。后来找到了另外一个工具rclone
(下载、安装、文档,或使用各平台包管理器安装),它可以像rsync
一样同步本地和远端文件,只更新变化过的文件。
_所有静态网站都可用采用此方法_
之前,个人博客一直都是用 Hexo 生成并部署为 GitHub Pages。最近知道,因为百度的爬虫太频繁而被 GitHub 屏蔽了,所以所有部署在 GitHub 上的网站都没有收录。不深究这个理由是否靠谱,得给博客换个地方了。
手头有 Azure 和 Vultr 的 VPS,但考虑到部署静态网站到 VPS 有点大材小用,而且需要部署 HTTPServer 防火墙
Continue reading
We are encrypting sensitive content with AES algorithm and storing them in DB. Now we plan to leverage HashiCorp Vault to do this.
Continue readingIn “Managed Service for Alibaba Cloud” service project, we have some sensitive data such as secret key, vm password and so on stored in database. To avoid store plain text, we need a solution to encrypt and decrypt sensitive data.
Continue readingFabio is a HTTP router app written by Go language. It is Zero-configuration and simple to deploy. As official document mentioned, “It delivers 23.000 req/sec every day since Sep 2015 without problems”. It’s written and maintained by Frank Schroeder at eBay in Amsterdam.
Continue reading
现在的互联网,以及所谓的物联网,争的是两块,一块是服务端,也就是云端,另一块是终端。
云端现在是Amazon, Google暂时领先于基础架构领域,MS, Apple 处于追赶之中,Facebook/Twitter则领先于SNS(此SNS含义相当广,包括身份,信用,关系,服务,应用等等)方面。传统厂商如IBM, HP基于其固有的优势,大力推广所谓私有云,实质是企业cluster,在下一代互联网中已
Continue reading