stingbo / mengine Goto Github PK
View Code? Open in Web Editor NEWMatching Engine For Laravel,Based on Redis,High-Performance
License: MIT License
Matching Engine For Laravel,Based on Redis,High-Performance
License: MIT License
if (!$this->isHashDeleted) {
Redis::hdel($order->order_hash_key, $order->order_hash_field);
}
应该是
if (!$this->isHashDeleted($order)) {
Redis::hdel($order->order_hash_key, $order->order_hash_field);
}
吧
比如示例中的:php artisan queue:work --queue=abc2usdt
业务中肯定是还有其他交易对,是不是就启动多个队列?
php artisan queue:work --queue=xx2xx
php artisan queue:work --queue=hh2hh
感谢回复。
有没有独立的,我想用swoole改,但是对Laravel不熟悉
我自己这段时间也在做,用laravel原生写了一个撮合,挂单后进入队列撮合,但是我遇到一个问题,并发的情况如何保证队列一个顺序进,一个顺序消费?
local.ERROR: Undefined variable: node {"exception":"[object] (ErrorException(code: 0): Undefined variable: node at /www/wwwroot/test.com/blog/vendor/sting_bo/mengine/src/Services/CommissionPoolService.php:53
Hello
I need an open source maching engine that can process sales orders that are placed in the database through the app, that is, I can finally create something like a binance.
Please advise that this engine of yours can run alongside my app? For example, the membership and wallet sections should be deposited or withdrawn in the my app, and only the trading section should be run in this maching engine?
aslo please show diagram with english
https://raw.githubusercontent.com/stingbo/image/master/%E6%95%B0%E5%AD%97%E8%B4%A7%E5%B8%81%E4%BA%A4%E6%98%93%E6%89%80-%E5%9F%BA%E4%BA%8Eredis%E7%9A%84%E7%AE%80%E5%8D%95%E6%92%AE%E5%8D%95%E5%BC%95%E6%93%8E.png
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.