Download the PHP package ryunosuke/hellowo without Composer

On this page you can find all versions of the php package ryunosuke/hellowo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hellowo

hellowo

Description

This package is simple job worker.

Install

This requires pcntl extension. Also, Windows only works minimally.

Feature

Driver

Driver features:

Driver FileSystem Gearman Beanstalk MySql PostgreSql
simply very high high high middle middle
pull or push(*1) pull/push(inotify) push push pull/push(trigger) pull/push(pub/sub)
multi worker server optional(*2) yes yes yes yes
heartbeat other server(*3) no no no yes (kill) yes (pg_terminate_backend)
not lost to sudden death yes (flock) no yes (ttr) yes (FOR UPDATE) yes (FOR UPDATE)
priority job yes yes yes yes yes
delay job yes no yes yes yes
managed retry no no yes no no
unmanaged retry limit yes no no yes yes
clustering no no no optional(*4) optional(*4)

Worker

The recommended process manager is systemd.

work mode

The basic operation is in series. If you want to run multiple jobs in parallel, you need to launch multiple processes. This can be easily achieved using systemd's service-template+target feature.

Each process is completely independent, simple, and highly robust, but it uses high memory usage.

fork mode

It will fork internally as needed. The forked processes will run in parallel. You can simply use type=simple with systemd.

Although it is complex and the various processes work in coordination, but it uses low memory usage.

common

SIGALRM is used to implement the timeout, so it cannot be used by the user. When it receives an SIGTERM or SIGINT, it waits for the currently running job until stopping it. Therefore, in some cases, it may take a long time to stop (see TimeoutStopSec of systemd).

Default logging, operation log is written to STDOUT. php error log is written to STDERR. Operation log can be changed by overriding the logger option. php error log uses system default. This can be changed by php.ini or ini_set.

polling

FileSystem, MySql, PostgreSql are support below polling mode:

mode signal file socket sql(mysql only)
sleep call sleep syscall select local pipe listen UDP socket call SLEEP sql function
awake receive USR1 write to local pipe send to UDP socket kill query
simply high middle middle low
versatility low middle high low
systemd no yes yes yes
inter server no no yes yes
sharing

MySql, PostgreSql are support sharing mode.

Polling executes SELECT statements fired off repeatedly for as many times as there are workers, but Sharing caches in local the results of the SELECT statement.

not sharing:

sharing:

lookahead

FileSystem, MySql, PostgreSql are support lookahead mode.

Polling inevitably causes delays (especially when dealing with future times), but Lookahead prefetchs future job within lookahead seconds.

e.g.

jobA is not prefetched, but jobB is prefetched and next sleep time is set 4 second(12:35:00 - 12:34:56). so jobB run exactly on time.

heartbeat

MySql, PostgreSql are support heartbeat mode.

This is bad practice; if TCP keepalive is available, you should use that instead.

Client

Client is a simple class from which only the request part of the driver is extracted. You can use send or sendBulk for add job.

Demo

execution log

receive data

License

MIT

Release

Versioning is romantic versioning(no semantic versioning).

x.y.z

1.2.11

1.2.10

1.2.9

1.2.8

1.2.7

1.2.6

1.2.5

1.2.4

1.2.3

1.2.2

1.2.1

1.2.0

1.1.13

1.1.12

1.1.11

1.1.10

1.1.9

1.1.8

1.1.7

1.1.6

1.1.5

1.1.4

1.1.3

1.1.2

1.1.1

1.1.0

1.0.1

1.0.0

0.2.0

0.1.0

0.0.0


All versions of hellowo with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
psr/log Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ryunosuke/hellowo contains the following files

Loading the files please wait ...