sqlalchemy/awaitlet

Comparison with greenback

Closed this issue · 4 comments

Hello, and thanks for open sourcing this. Would it be possible to have a paragraph in the docs mentioning how this project differs from greenback? From a cursory glance, it appears to do exactly the same thing. Thank you!

wow I had no idea this existed. it looks like greenback's first release was in May, 2020 and SQLAlchemy 1.4's with this approach was in November, 2020.

Sure I can add a paragraph referring to this, I would say the key practical difference for now is that awaitlet is linked to SQLAlchemy's await approach in that they are explicitly interoperable.

Hello, and thanks for open sourcing this.

Just fyi, it's open source since ~ summer 2020 as part of sqlalchemy. Current version is here https://github.com/sqlalchemy/sqlalchemy/blob/main/lib/sqlalchemy/util/concurrency.py, but very similar implementation are also in 1.4 and 2.0 branches

Thanks for the prominent mention of greenback in the README!

For the record, I did bring this to your attention right after your initial proof-of-concept, and you knew about in July 2020: https://gist.github.com/zzzeek/2a8d94b03e46b8676a063a32f78140f1

you're right, I did see this, although my recollection was at the time it didn't seem to have exactly the same patterns. the documentation now makes it very clear its exactly the same patterns offered.