Hello!

I'm new to both Swift and OpenStack, I hope you can help me.

Considering statsd is enabled, each time something is logged, a new socket
is being opened.

At least, this is what I understood from the implementation and usage of
StatsdClient at:
- swift/common/utils.py
- swift/common/middleware/proxy_logging.py

If this analysis is correct: is there any special reason for this behavior
(open a new socket each request)?

We could significantly improve performance reusing the same socket.

Would you be interested in a patch in this regard?

Best,
-- 
Tatiana Al-Chueyr
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to