Group
Extension

Matches 2

Object-Remote ( H/HA/HAARG/Object-Remote-0.004004.tar.gz, HAARG, 2024; MetaCPAN )
Object-Remote/lib/Object/Remote.pm ( view source; MetaCPAN )
N ISSUES

=over 4

=item Large data structures

Object::Remote communication is encapsalated with JSON and values passed to remote objects
will be serialized with it. When sending large data structure
Object-Remote ( H/HA/HAARG/Object-Remote-0.004004.tar.gz, HAARG, 2024; MetaCPAN )
Object-Remote/lib/Object/Remote/Connection.pm ( view source; MetaCPAN )
ule::Runtime qw(use_module);
use Scalar::Util qw(weaken blessed refaddr openhandle);
use JSON::PP qw(encode_json);
use Future;
use Carp qw(croak);
use Moo;

BEGIN { router()->exclude_forwarding }

END
low clone on the way in
);

has outstanding_futures => (is => 'ro', default => sub { {} });

has _json => (
  is => 'lazy',
  handles => {
    _deserialize => 'decode',
    _encode => 'encode',
  },
)

sub _build__json {
  weaken(my $self = shift);
  JSON::PP->new->filter_json_single_key_object(
    __remote_object__ => sub {
      $self->_id_to_remote_object(@_);
    }
  )->filter_json_single_key_

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.