The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DBIx::Sharding::Strategy::RoundRobin - Label based round robin strategy.

SYNOPSIS

  use DBIx::Sharding;

  DBIx::Sharding->load('/path/to/config.yaml');

  my $conn_info  = DBIx::Sharding->connect_info('SLAVE', +{ strategy => 'RoundRobin' });

DESCRIPTION

DBIx::Sharding::Strategy::RoundRobin is label based round robin strategy depends on the node that takes it out from nodes.

AUTHOR

Kosuke Arisawa <arisawa@gmail.com>

SEE ALSO

DBIx::Sharding
DBI

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.