Status: Accepted
Owner: pekka.klarck
Labels: Type-Defect Priority-Medium Target-2.8.4
New issue 1607 by pekka.klarck: Remote library should use `127.0.0.1`, not
`localhost`, as default address to avoid potentially slow name resolution
http://code.google.com/p/robotframework/issues/detail?id=1607
Remote library's tests were extremely slow on Windows. It turned out to be
caused by the need to resolve localhost to 127.0.0.1 in every request:
http://stackoverflow.com/questions/14504450/pythons-xmlrpc-extremely-slow-one-second-per-call
After changing localhost -> 127.0.0.1 tests that used to take about 90s
were run in less than 5s.
Need to change both Remote library and robotremoteserver.py to use
127.0.0.1 instead of localhost. This is more important on the client side
because the server need to resolve the address only once, but better change
this on both sides for consistency. Need to also check what documentation
says about this and perhaps add a note about localhost being potentially
slow.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.