Chapter 4. 胖客戶與精簡客戶的比較

Table 4-1. 胖客戶與精簡客戶的比較

項目胖客戶精簡客戶
運算的元件fat.exe直接連接到PostgreSQL資料庫tc.exe連接到server.exeserver.exe連接到PostgreSQL資料庫
安全性很低。資料庫對機構內部的電腦完全不設防。詳見pg_hba.conf高。詳見pg_hba.conf
PostgreSQL連接的數量(見本表下面備註)等於運行中的fat.exe個數Server.exePostgreSQL開啟固定數量的連接。這個數量在[MzF2]畫面指定。
分發客戶程式的方便性低。

每一個fat.exe必須搭配libpq.dll,一起分發給每一部電腦,並且置於該電腦的同一目錄之下,才能使用。

高。

tc.exe是獨立使用的程式。只需分發它給每一部電腦,然後直接執行它,開始使用PostERP

網路頻寬的耗用多。

資料傳輸之前,不壓縮。

少。

資料傳輸之前,先壓縮。

遠程使用的安全性低。

傳輸資料之前,沒有加密資料。

高。

傳輸資料之前,有加密資料。

多方線上文字會談不支援支援
定期執行指定的功能(類似Unix的cron),並通知特定人其執行結果不支援支援

以下片段取自Linux OOM Killer

"For every connection, PostgreSQL makes a child process, which shares memory with the parent; and if it is a big postgres instance, that can be a significant amount of memory. But the badness function counts the same shared memory against the parent 1+N/2 times, where N is the number of connections open! For example, if you have shared_buffers set to 1GB on an 8GB machine, and have 20 connections open, then the linux badness function thinks that PostgreSQL is using about 11GB of memory, when it is actually using 1GB!

It gets worse: killing a process does not free shared memory."

Tip

線上文字會談每一位ERP使用人都能開闢會談室,邀請其他人加入對話。每一位ERP使用人都能受邀加入別人的會談。