TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

In Defense of Simple Architectures

2 pointsby mikecarltonover 1 year ago

1 comment

mattbillensteinover 1 year ago
Good stuff - too many people focus on the wizz-bang of new tech they forget how effective a well-designed monolith can be across a lot of very important dimensions.<p>I&#x27;ve been doing LEPP stack (Linux &#x2F; Nginx, Python, Postgres) stuff for awhile now without an ORM; which makes you really consider how you&#x27;re handling transactions ahead of time. So requests have become idempotent and transactional - the default of many frameworks to run in auto-commit really defeats the purpose of having a good transactional database imo - ymmv.<p>Also re concurrency, I&#x27;ve been using gevent for a long time - it&#x27;s a nice framework and lets you write blocking code while being async behind the scenes. And it&#x27;s nice for writing little backend http or tcp services. But, I think for what I do I could mostly just use OS threads - thread per request in gunicorn - and that&#x27;d work just fine. Request context is stored in thread-locals anyway, so there isn&#x27;t really shared state across requests to worry about the GIL much. And I&#x27;d run a process per vcore anyway behind gunicorn.