BLOG - ISAYME

    Dockerfile CMD: exec form vs shell form

    Dockerfile CMD 的两种格式 CMD ["executable","param1","param2"] (exec form, this is the preferred form) CMD command param1 param2 (shell form) 官方推荐 exec form.

    Read More
     Jan 18, 2019

    Koa/Express 定义含有冒号(:)的路由

    在 Koa/Express 等 Node Web 框架中, 可以通过冒号(:)定义路由参数.

    Read More
     Jan 17, 2019

    MongoDB oplog(operations log)

    MongoDB 开启复制集后会记录数据的写操作, 即为 oplog.

    Read More
     Jan 11, 2019

    TCP "粘包" 备忘

    TCP 属于流式(stream)连接, 协议中并没有粘包的定义.

    Read More
     Dec 20, 2018

    Golang: mgo SetBSON/GetBSON 自定义数据库存储

    Go 语言本身是强类型, 这不利于处理联合体(union).

    Read More
     Dec 4, 2018

    Go: HTTP API 部分(Partial)更新

    背景 Golang HTTP 开发中, 解析客户端传入的数据可以使用 json.

    Read More
     Nov 19, 2018

    Go: empty slice vs nil slice

    Go Playgroud: https://play.

    Read More
     Nov 14, 2018

    权限系统及模型

    主要介绍当前主流的权限系统及适用的场景. 理解错误的地方麻烦之处.

    Read More
     Nov 2, 2018

    数据库中树状数据模型存储

    数据库中树状数据模型存储 背景 典型的树状结构的场景有:

    Read More
     Oct 31, 2018

    dataloader 体验

    背景 系统有 任务, 每个任务有一个执行者.

    Read More
     Oct 31, 2018
    • ← Newer
    • Older →

     © 2024  /  BLOG - ISAYME  – 

    Powered By Hugo  Theme Harbor