# |
Jul 11th 2018, 10:43 |
josbeir |
and what do you mean 'not in php7' ? |
# |
Jul 11th 2018, 10:43 |
josbeir |
@dereuromark and its no problem that these workers run simultaneously |
# |
Jul 11th 2018, 10:36 |
dereuromark |
but I tend to use 5-10 min frames to start new workers, and let them run for about twice as long. |
# |
Jul 11th 2018, 10:35 |
dereuromark |
no, not in php7 |
# |
Jul 11th 2018, 10:35 |
cjquinn |
I’ve used your plugin in production @dereuromark. Its very good, so tyvm! |
# |
Jul 11th 2018, 10:34 |
josbeir |
@dereuromark i'm guessing that if a job in the worker crashes, the whole worker crashes with it ? |
# |
Jul 11th 2018, 10:32 |
josbeir |
i do like the aproach of that plugin and it is actively maintained |
# |
Jul 11th 2018, 10:32 |
neon1024 |
At least you know where to find @dereuromark to get support! :,) |
# |
Jul 11th 2018, 10:31 |
josbeir |
hmm :slightly_smiling_face: |
# |
Jul 11th 2018, 10:31 |
dereuromark |
And it works better on real servers rather than heroku I discovered :P |
# |
Jul 11th 2018, 10:31 |
neon1024 |
https://github.com/FriendsOfCake/awesome-cakephp#queue |
# |
Jul 11th 2018, 10:31 |
dereuromark |
We use it in production actually :slightly_smiling_face: But not for critical systems. |
# |
Jul 11th 2018, 10:31 |
josbeir |
? |
# |
Jul 11th 2018, 10:31 |
josbeir |
yeah was looking to the one from @dereuromark but the readme states thats its made for demo purposes |
# |
Jul 11th 2018, 10:31 |
neon1024 |
Don’t use queues very often though, twice actually, if I remember |
# |
Jul 11th 2018, 10:30 |
neon1024 |
I tend to use either MySQL with either of @dereuromark or @savant plugins. Or RabbitMQ |
# |
Jul 11th 2018, 10:29 |
josbeir |
is amqp still a thing ? |
# |
Jul 11th 2018, 10:29 |
josbeir |
general question: what are good job queue systems these days |
# |
Jul 11th 2018, 10:25 |
joopm |
thank you really much your help |
# |
Jul 11th 2018, 10:24 |
neon1024 |
The TL;DR is that `use` just means import this class, it doesn’t include the file or load it. You need an autoloader for that, which is what PSR4 does, and Composer implements for you. |
# |
Jul 11th 2018, 10:23 |
neon1024 |
Also, https://www.php-fig.org/psr/psr-4/ |
# |
Jul 11th 2018, 10:20 |
joopm |
yes probably you are right i am not aware what use does |
# |
Jul 11th 2018, 10:20 |
neon1024 |
http://php.net/manual/en/language.namespaces.importing.php |
# |
Jul 11th 2018, 10:19 |
neon1024 |
If you think that, then you do not know what “use” does. |
# |
Jul 11th 2018, 10:19 |
joopm |
so thhere is no inbuilt solution to use "use" to import vendor file? |
# |
Jul 11th 2018, 10:17 |
joopm |
but this does not load it |
# |
Jul 11th 2018, 10:17 |
joopm |
like use App\Vendor\recaptcha\recaptchalib; |
# |
Jul 11th 2018, 10:17 |
joopm |
just thought it is a simple using of "use" command with the location |
# |
Jul 11th 2018, 10:16 |
joopm |
the require |
# |
Jul 11th 2018, 10:16 |
joopm |
okey i know the core php way |
# |
Jul 11th 2018, 10:16 |
joopm |
i know the "use" command |
# |
Jul 11th 2018, 10:16 |
neon1024 |
Use `require()` |
# |
Jul 11th 2018, 10:16 |
joopm |
i've just would like to "import" a simple external php file(which is recaptcha in my case) |
# |
Jul 11th 2018, 10:15 |
joopm |
hello neon1024 |
# |
Jul 11th 2018, 10:12 |
neon1024 |
7) Can you share some code with us? |
# |
Jul 11th 2018, 10:12 |
neon1024 |
6) How are you asserting “this seems does not work” |
# |
Jul 11th 2018, 10:12 |
neon1024 |
5) Is this the correct class to implement? |
# |
Jul 11th 2018, 10:11 |
neon1024 |
1) Loaded in your composer.json? 2) Have you done `composer dumpautoload` 3) Is that the correct namespace? 4) Does the package support autoloading? PSR4 |
# |
Jul 11th 2018, 10:11 |
neon1024 |
We’ll chase the usage of `use` |
# |
Jul 11th 2018, 10:11 |
neon1024 |
There are so many things here |
# |
Jul 11th 2018, 10:10 |
joopm |
or should i use include |