by zinxq · 8y ago · 0 comments
Needless to say, this is incredibly out of date. Mailinator now runs across several servers with a real-time websocket system tied to Redis channels for incoming emails. The multiple server system is more for fault-tolerance than scaling issues.
The Websocket-to-redis connection allows incoming emails to be available the instant they arrive (fully) at Mailinator. Instantly - no polling front-end or otherwise. Public email storage is still in-memory with a system that chunks emails into common parts and reuses them. A reference counting garbage collector cleans them up once no email in the system is still using that part. I tried compression a million different ways but nothing beat reusing parts of emails.
http://mailinator.blogspot.com/2012/02/how-mailinator-compre...
The 2007 article is a valid picture of things then, but the system has come a long, long way since that time.
Actually, like you, I've also hand-rolled most of it myself, replacing the previous guy's architecture. It's been a lot of fun. No frameworks, no bootstrap, just a few dependencies here and there. Started with PHP, but now prefer to use Go for anything new. Also hand-rolled the SMTP server which turned in to a project on its own, https://github.com/flashmob/go-guerrilla
Screenshot on the left: https://nat64check.ipv6-lab.net/v6score/measurement-30830/
However, I find that quite a few of the providers have wised up to the domains and more often than not I am now unable to use mailinator address for signups (even with the alternate domains)
But Mailinator's use case has morphed over the years. It's now used as a tool for QA and UAT testing now a great deal. That use case has spawned private domains and API access.
Same thought process goes toward services that wish to ban it, if they really want to, that's their business.
(You can of course sign-up for a Mailinator account using a Mailinator email)
That sounds really cool. Any chance you'll write a blog post about it ?
At Ronomon, we use https://github.com/ronomon/deduplication
Stayed away from frameworks. Mailinator suffers from "do it yourself" syndrome where I wanted write most things myself for the educational value. No Spring, no web frameworks, straight servlets. Custom SMTP server.
(It does use Redis pub/sub but I did write my own first, Redis was just too easy not to rely on)
I love when popular services are written in Java, PHP, or even something crazier like ColdFusion. Just to spite the naysayers.
https://news.ycombinator.com/item?id=11938405
Now, we need a useful app in Unlambda that people actually paid for. Then, you show them the code and tutorials when they're interested in doing extensions. Observe, record, and share their reactions. (villainous laughter)