FreeBSD 上的 MySQL 6.0

年初的時候 MySQL 6.0 把 libevent 匯入 source tree 裡,用 libevent 處理 connection pooling (之前似乎是 poll?)。

FreeBSD 剛把 MySQL 6.0 納入 ports 裡 (databases/mysql60-server),可以用 WITH_THREAD_POOL=yes 把這個功能打開。

理論上,使用 libevent 後在 Web 端用 persistent connect 連 MySQL 應該不會影響到效能。

附上年初時看到的資料:MySQL 6.0, Libevent

Leave a Reply

Your email address will not be published. Required fields are marked *