sunshineinwater
sunshineinwater
+1 Sanic needs
**Use Sanic+SQLalchmey, with default sqlalchemy setting:** **the performance even higher than gino ?** ``` .... # sqlalchemy engine = create_engine("postgresql://postgres:postgres@localhost:5432/zhangxuewei", echo=False) Base = declarative_base(engine) session = sessionmaker(engine)() .... @app.route('/testdb', methods=['GET'])...
**The newest test of Sanic+asyncpg :** 5300 Requests/Sec it obviously gino have performance bottle neck? /
I guess that Gino use the pool of SQLalchemy instead of asyncpg's pool ?
Find out the reason block the thread: 1、generate query statement in sqlalchemy Core 2、generate sql command from sqlalchemy query statement.
> > Find out the reason block the thread: > > 1、generate query statement in sqlalchemy Core > > 2、generate sql command from sqlalchemy query statement. > > Yeah, that's...
> > It doesn't work or I misunderstand your point? > > The baked-query-like caching feature is not implemented yet. As my test result, the main influence to permanence is...
> @sunshineinwater and @capsian, there's a solution available to address this issue and re-establish the WebSocket connection. Let me demonstrate one approach for you. > > ```python > while True:...
---------------- run under MACBOOK M1 ----------------- 传入地址: [https://live.douyin.com/866109185699](https://live.douyin.com/866109185699) 序号1 半笙魔兽 正在直播中... 半笙魔兽 准备开始录制视频: /app/downloads/抖音直播/半笙魔兽/半笙魔兽_2025-11-18_20-10-36.ts 同一时间访问网络的线程数动态改为 3 共监测1个直播中 | 同一时间访问网络的线程数: 3 | 是否开启代理录制: 是 | 录制分段开启: 1800秒 | 录制视频质量为: 原画 |...