deepziyu / yii2-swoole Goto Github PK
View Code? Open in Web Editor NEWfull solutions making yii2-framework run on swoole with coroutine.
License: BSD 3-Clause "New" or "Revised" License
full solutions making yii2-framework run on swoole with coroutine.
License: BSD 3-Clause "New" or "Revised" License
非常漂亮的工作,目前各种swoole结合yii/laravel的框架有个致命的问题就是io还是同步的,这会导致qps比php-fpm还低,swoole中的业务不允许任何阻塞调用。这是第一个做到了的,可以兼容yii2成熟丰富的组建,还有性能加成,很棒。
httpclient的话swoft有一个,swoole的那个goroutine的原生client似乎没法用tcp连接池,能基于协程tcp的client包装一个带tcp池的么
1,mysql的事务swoole那边刚merge,新版本放出了可以考虑加上
2,文件操作可以考虑一下aio
3,可以考虑带上个dockerfile
大佬,这个插件我只能通过你的demo跑起来,但是由于我的项目用的是nginx服务器,感觉是把你的demo跑起来就是多跑了一个服务器的感觉,对我原先的YII2的项目没有什么帮助,我希望是不影响我原先的项目,并且能够做到redis有连接池,我想是不是我的打开方式不对?也感受不到redis连接池的作用。
大佬,我的目的是为了解决yii2-redis没有连接池的问题,所以搜到了你这个组件,我不知道适不适合,如果合适的话恳请帮忙解决一下,谢谢啦。
希望大佬方便留个QQ或者微信。我QQ是271687219
in db wrapper class the escape method should call swoole mysql escape instead of replace some string
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.