Ar

Arnie SMTP buffer server in 100 lines of async Python

Hacker News

Arnie SMTP buffer server in 100 lines of async Python

Here's the 100 lines of code: https://github.com/bootrino/arniesmtpbufferserver/blob/master/arniesmtpbufferserver.py Here's the github repo: https://github.com/bootrino/arniesmtpbufferserver It's MIT licensed. Arnie is a server that has the single purpose of buffering outbound SMTP emails. I wrote Arnie because I got frustrated using complex queueing systems simply to buffer outbound SMTP emails. I'd rather spend time writing this than spend the same time debugging Celery configuration. A typical web SAAS needs to send emails such as signup/signin/forgot password etc. The web page code itself should not directly write this to an SMTP server. Instead they should be decoupled. There's a few reasons for this. One is, if there is an error in sending the email, then the whole thing simply falls over if that send was executed by the web page code - there's no chance to resend because the web request has completed. Also, execution of an SMTP request by a web page slows the response time down of that page, whilst the code goes through the process of connecting to the server and sending the email. So when you send SMTP email from your web application, the most performant and safest way to do it is to buffer them for sending. The buffering server will then queue them and send them and handle things like retries if the target SMTP server is down or throttled.

Share card

Actual performance

3points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
75%75% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: email, single, using · Missing: mac, agents, macos
65%65% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
62%62% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
37%37% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: saas · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Qu
Querying 50k Gameservers in 100 lines of Python46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Querying 50k Gameservers in 100 lines of Python

Hacker News1
Ma
MaryJane – Mjpeg server in 30 lines of async Python56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MaryJane – Mjpeg server in 30 lines of async Python

Hacker News104
Se
Sentiment Analysis in 100 lines of Python52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sentiment Analysis in 100 lines of Python

Hacker News4
Ha
Hangman in 3 lines of Python57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hangman in 3 lines of Python

Hacker News58
Ba
Backwards automatic differentiation in ~100 lines of Python44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Backwards automatic differentiation in ~100 lines of Python

Hacker News2
Mi
Mini-swe-agent achieves 65% on SWE-bench in 100 lines of python50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Mini-swe-agent achieves 65% on SWE-bench in 100 lines of python

Hacker News7
Fr
From-Scratch MLP Classifier in 100 Lines [Python]62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

From-Scratch MLP Classifier in 100 Lines [Python]

Hacker News1
A
A Brainfuck interpreter in 100 lines of C58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Brainfuck interpreter in 100 lines of C

Hacker News1
A
A very simple Lisp interpreter in 250 lines of literate Python70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A very simple Lisp interpreter in 250 lines of literate Python

Hacker News5
A
A Reddit clone in 100 lines of Python60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Reddit clone in 100 lines of Python

Hacker News4