publero / net_gearman Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rrehbein/net_gearman
A PHP interface for Danga's Gearman
Home Page: http://pear.php.net/package/Net_Gearman
License: BSD 2-Clause "Simplified" License
This project forked from rrehbein/net_gearman
A PHP interface for Danga's Gearman
Home Page: http://pear.php.net/package/Net_Gearman
License: BSD 2-Clause "Simplified" License
Connections can be stored in server associative array. This would lead to better readability of the code. It will also help with handling background job response.
An auto loader could be very usefull in case people don't want to use composer's and just load that library.
I got "require(): Failed opening required 'Net/Gearman/Job/Common.php'".
Does your net_gearman require PECL Net_Gearman?
Original PEAR library used singleton to handle connection. This singleton makes it hard
to test actually implemented Client and Worker. In order to make these tests work you need
to run them both at same time.
This issue will be removed when connection will be rewritten as a instance used in Worker and Client.
Let's say I have 10 registered workers on a queue. Is there a way to know with this library how many workers are running a function in that moment? (maybe it's 0 or 1 or 2 or the total number, 10).
Thank you.
Gioia
Currently you can't get result from background tasks.
Creating the exception on
https://github.com/Publero/net_gearman/blob/master/lib/Net/Gearman/Connection.php#L302 failes, the error code can't be text.
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.