Tag Archives: localhost

Cloudflare 推出的 Wrap 讓你不用在本地端開對外的 Port 80/443

Cloudflare 推出了 Wrap 服務:「Want to try Warp? We just enabled the beta for you」。 本地端的 web server 可以只開 127.0.0.1:{80,443},然後 Wrap 的程式會連到 Cloudflare 上面接 web request 回來打到你本地端的電腦上,官方舉的例子用 port 8080: $ cloudflare-warp --hostname warp.example.com http://localhost:8080 然後也支援多台機器接同一個 hostname (load balancing,順便做 high availability): $ … Continue reading

Posted in CDN, Cloud, Computer, Murmuring, Network, Security, Service, WWW|Tagged , , , , , , , , , , , , |Leave a comment

curl 的 refactor 減少 malloc() 的次數

curl 的作者 Daniel Stenberg 寫了一篇關於他 refactor 大幅改善了 curl 的效能:「Fewer mallocs in curl」。 藉由大幅減少 malloc() 次數,在抓大檔案時會有明顯的改善: 7.54.1-DEV repeatedly performed 30% faster! The 2200MB/sec in my build of the earlier release increased to over 2900 MB/sec with the current version. 另外如果對 localhost … Continue reading

Posted in Computer, Murmuring, Network, Programming, Software, WWW|Tagged , , , , , , , |Leave a comment