Download the PHP
package vend/chunky without Composer
On this page you can find all versions of the php package
vend/chunky. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
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.
A small library for dynamic chunking of large operations against an external
system, like a database.
A 'chunk' is a unit of work with a target execution time. If each chunk in an
iteration begins to take more time than the target to process, the size of future
chunks is reduced.
This library also includes utilities for monitoring slave lag on a set of Doctrine2
connections, and can pause chunk processing to wait for replication to catch up.
This sort of strategy is taken by tools like pt-online-schema-change in order
to complete a process as fast as possible, but without impacting systems under
production load.
Usage
Basic Usage
Options
int min: The minimum chunk size to ever return (default 2 * initial estimate)
int max: The maximum estimated size to ever return (default 0.01 * initial estimate)
float smoothing: The exponential smoothing factor, 0 < s < 1 (default 0.3)
Monitoring Replication Lag
A Chunk class is provided for monitoring MySQL slave lag on a set of slave
database servers: ReplicatedChunk. This class is MySQL-specific (because getting
the current slave lag is not implemented for other drivers).
Options
int max_lag: When replication lag reaches this many seconds, the slave is considered lagged
int pause: The number of microseconds to pause for when slave lag is detected (before rechecking lag)
int max_pause: The total number of microseconds the chunk will pause for before continuing or throwing an exception
boolean continue: Whether to continue if max_pause is reached; default is to throw an exception and not continue
Installation
This library can be loaded yourself with PSR4, but you'd usually just install it with
Composer. The package name is vend/chunky.
Requiresphp Version
>=5.4.0 psr/log Version
~1.0.0
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 vend/chunky contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.