>>> YieldNull
  • /blog
  • /archives
  • /github
  • /about

Blog Entries all / by tag / by year

  • Haystack: 一种分布式对象存储系统

    2022-06-22 23:38:18 / Storage /22 hits

    假如你维护着一个社交媒体公司的图片服务,每天都会有几十亿张照片、缩略图需要存储,还需要快速响应对所有历史照片的随机查询请求,那么你会怎么进行系统设计呢?

    Read more...


  • 浅析KMP算法

    2022-06-08 23:37:33 / Algorithm /76 hits

    Read more...


  • log4j-rce 复现

    2021-12-11 16:15:26 / Java /508 hits

    Read more...


  • PostgreSQL字段对齐规则

    2021-10-16 20:16:49 / PostgreSQL /883 hits

    PostgreSQL在存储一行数据时,会对各个字段进行对齐。在设计表结构时,需要合理安排字段顺序,减少磁盘空间占用。

    postgres=# select typname, typalign, typlen from pg_type where typname in ('int4', 'int8', 'bool', 'float4', 'float8', 'bytea', 'text', 'timestamptz', 'serial', 'json', 'int8[]');
       typname   | typalign | typlen
    -------------+----------+--------
     bool        | c        |      1
     bytea       | i        |     -1
     int8        | d        |      8
     int4        | i        |      4
     text        | i        |     -1
     json        | i        |     -1
     float4      | i        |      4
     float8      | d        |      8
     timestamptz | d        |      8
    (9 rows)postgres=#
    

    Read more...


  • Java客户端软件破解方法-以KafkaTool为例

    2021-04-11 14:01:10 / Java /1572 hits

    最近在使用kafkatool 作为查看Kafka消息的工具,但是只支持text、json、xml等常见格式。若想支持自定义的消息格式,例如protobuf,则需要自己编写插件。辛辛苦苦写好一个插件后,发现需要付费才能使用。向来都是白嫖的我,想到它既然是用Java写的,那么反编译一下,是不是有希望绕过付费呢?

    Read more...


  • Kafka原理与概念介绍

    2020-12-08 22:26:43 / Kafka /895 hits

    Read more...


  • « Previous
  • Next 2 / 11 »

About this site © YieldNull, . 鄂ICP备16003391号