IT 手制品

悠云闲语

摘要:金融系统开发长期面临”快不了”与”好不了”的两难困境。本文提出PACD架构(Product-Ability-Component-DataSet),通过”业务能力组件化、数据行为分离、事务边界明确”三大核心设计,为复杂业务系统提供了一套可落地的架构方法论。实测数据显示,新架构下单元测试覆盖率提升2.3倍,交付周期缩短5倍。

关键词:PACD架构;金融系统;软件架构;业务组件化;事务边界

阅读全文 »

问题

众所周知,zip 在 Windows 下打包时使用了本地编码,但 Linux 下解压却使用 UTF-8 编码,导致中文乱码。

我有 unzipi,可以解决这个问题。但当我要在一台低版本 glibc 环境下运行时,我这用高版本构建的 unzipi 无法运行。

[demo@vmdeb ~]# unzipi
unzipi: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by unzipi)
unzipi: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by unzipi)
阅读全文 »

定义

RSS Ghost:进程 free/delete 了内存,但 RSS(Resident Set Size)不下降的现象。
内存已归还给 malloc 的 free list,但未归还给操作系统,进程看起来仍在”占用”。

阅读全文 »

现象

运行 Java 应用时,可能会遇到 java.net.UnknownHostException 异常,如:

java.net.UnknownHostException: xxx.xxx.xxx.xxx

但是 ping 和 nslookup 能通。

阅读全文 »

XxxApp JVM 崩溃分析报告

1. 崩溃文件统计

共收集 10 个崩溃日志文件:

文件名 失败映射大小 可用物理内存 运行时间
hs_err_pid226688.log 6.4 MB 3517 MB 1h 4m 48s
hs_err_pid167320.log 558 MB 5489 MB -
hs_err_pid182888.log 644 MB 3748 MB -
hs_err_pid244348.log 1121 MB 5413 MB -
hs_err_pid323564.log 1380 MB 3678 MB 3m 5s
hs_err_pid310304.log 1225 MB 3633 MB 9m 8s
hs_err_pid276796.log 1522 MB 3736 MB 1m 31s
hs_err_pid142912.log 1760 MB 5074 MB -
hs_err_pid231664.log 2042 MB 5355 MB -
hs_err_pid295504.log 2135 MB 2720 MB 50m 44s
阅读全文 »
0%