Please submit a "Short, Self Contained, Correct (Compilable), Example" 
along with any potential bug reports.

http://sscce.org/
On Wednesday, December 15, 2021 at 11:29:30 AM UTC-5 Ramin Farajpour Cami 
wrote:

> Hi, 
>
> I'm was testing the project by fastapi + sqlalchemy, i write golang code 
> for sending thread parallelism to the my API endpoint, I found a problem, 
> in the sqlalchemy many requests fail, 
>
> this is my config : 
>
> SQLALCHEMY_DATABASE_URL = config("DATABASE_URL")
> engine = create_engine(SQLALCHEMY_DATABASE_URL)
> SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
>
> I took a video of this problem,
>
>
>
> https://drive.google.com/file/d/1rgd_GBwRQHmiv-C-26luFfESKIByQP4U/view?usp=sharing
>
>
> We do not know exactly how to solve the problem. sqlalchemy must cover 
> many requests connection.
>
> Thanks,
> Ramin
>
>

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/9c629ccc-66fc-481a-989f-f45689c4056dn%40googlegroups.com.

Reply via email to