A high-performance async SMTP client based on Netty.
Note that this project is currently under development. Please do not try to use this in its current form.
This project depends on Java8 and Netty 4.1.8
See http://github.hubspot.com/NioSmtpClient/0.0.1-SNAPSHOT/
Note that we haven't published anything yet since we're in active development. When we do, the first version will be:
<dependency>
<groupId>com.hubspot</groupId>
<artifactId>NioSmtpClient</groupId>
<version>0.0.1</version>
</dependency>
- NEVER execute blocking commands on an eventloop thread (i.e.
CountDownLatch.await
orFuture.get
) - Avoid doing long running tasks on event loop threads
- Use
new
as sparingly as possible:- Share objects when possible
- Use Netty ByteBuf allocators when possible
Apache 2.0