Skip to content

开头

我一直信奉的话是大伟哥说的:技术宅拯救世界!

关于我:目前是200+小公司的ops,我不仅在上班的时候去提升自己的运维经验,在私下的时候,我也会很乐意去学习开发

目前主要使用的技术栈为:

下一步的目标学习的语言为(在感悟中有提到为什么准备使用):

  • react

  • react native

  • golang

感悟

公司

在公司层面去设计自动化运维的时候,我们所要做到的是一次搭建,任何人都可以编译和上线测试环境,因此我们让同一个项目都放在同一个git仓库,用文件夹来区分服务/前端。

在编译阶段,使用脚本来判断这个文件夹是使用哪种语言编译,编译成功后,将编译成果上传至统一的地方,并打印版本号(tag名字+git commit hash)

在上线阶段,只需输入版本号和需要上线的服务/前端(服务的机器自动启动服务,nginx目录中替换前端),就可以完成自动化上线

个人

在开源项目/私活的角度,我们得做到快速启动、简易启动

在这种场景下,一般都是1个前端(包括小程序或app)+一个后端

因此,我这里所有的开源项目都是编译出来的前端和后端打包成一个docker,用户只需要一个docker run就可以快速启动了,这样就大大降低了运维成本

未来

react是函数式编程,所以更加灵活的结构和可扩展性,丰富的生态圈和工具链,解决方案多,后期也更方便迭代与维护

golang是未来服务端的趋势,由于golang比java有更好的性能,更好的内存管理,并且不需要jvm,因此可以大大降低容器的大小,现在大公司的服务都往golang重构(如b站)

而我看中的是,react的编程方式可以大大提升我js/ts的技术,golang的性能和占用空间小,因此未来我开源项目的重心可能往这个方向走

Popular repositories Loading

  1. tt_util tt_util Public

    此项目是根据@buyfakett的python使用习惯自己封装打包的包

    Python

  2. fastapi_template fastapi_template Public template

    此项目是根据@buyfakett的fastapi使用习惯的模板仓库

    Python

  3. vue_admin_template vue_admin_template Public template

    此项目是根据@buyfakett的vue使用习惯的模板仓库

    Vue

  4. .github .github Public

  5. pyyaml_util pyyaml_util Public

    Python

  6. pyaes_util pyaes_util Public

    Python

Repositories

Showing 10 of 20 repositories
  • ttutils/pyexec_shell’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 30, 2024
  • ttutils/pyoauth2_util’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 26, 2024
  • ttutils/pyconfig_util’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 25, 2024
  • docker_image_pusher Public Forked from tech-shrimp/docker_image_pusher

    使用Github Action将国外的Docker镜像转存到阿里云私有仓库,供国内服务器使用,免费易用

    ttutils/docker_image_pusher’s past year of commit activity
    0 Apache-2.0 8,832 0 0 Updated Jun 20, 2024
  • ttutils/pyqiniu_util’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 14, 2024
  • ttutils/pyssh_util’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 13, 2024
  • fastapi_template Public template

    此项目是根据@buyfakett的fastapi使用习惯的模板仓库

    ttutils/fastapi_template’s past year of commit activity
    Python 0 0 0 0 Updated Jun 12, 2024
  • tt_util Public

    此项目是根据@buyfakett的python使用习惯自己封装打包的包

    ttutils/tt_util’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 11, 2024
  • ttutils/pykafka_util’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Jun 7, 2024
  • .github Public
    ttutils/.github’s past year of commit activity
    0 0 0 0 Updated Jun 6, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…