Hi, Angus ! You say:
>It should not take you long to write code to try DNS over HTTPS and >find out how many lookups you can manage per second. If it blocks you, >then you are correct. But you also say: >Each async UDP or TCP connection causes windows to start a thread, >and this is an overhead probably causing your slow down after 200 instances. So, if I create more than 200 http instances (with TCP sockets inside) I will have same limit like with UDP, right ? And no see any speed difference ! If (as you say before) both UDP and TCP sockets have same limits in non-server Windows - I will have same speed no matter dns lookup (udp) or http (tcp) ? Or I misunderstand something ? --- With best regards, Max Terentiev. Business Software Products. AMS Development Team. supp...@bspdev.com -----Original Message----- From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: Tuesday, August 14, 2018 6:52 PM To: twsocket@lists.elists.org Subject: Re: [twsocket] Efficient bulk dns lookup > I think Cloudflare not allow me millions dns lookups for free )) You can search their terms and conditions, but 1.1.1.1 is free. It should not take you long to write code to try DNS over HTTPS and find out how many lookups you can manage per second. If it blocks you, then you are correct. > >is this a server or workstation? > Workstation. Windows 10 x64. Workstation versions of Windows are not designed for this/ > I will have same slowdown/limits if I create several hundreds > TSmtpClient instances ? It's not the total number of sockets that is an issue, it's how many new ones you can open per second. It's even fewer with SSL, which many SMTP servers prefer. > How to avoid it ? Use IOCP ? Windows Server? But Microsoft writes IIS as a kernel driver for performance. And I simply don't have experience of testing massive load applications, only light load with a couple of thousand connections. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be