Net::Async::Redis::XS - like Net::Async::Redis but faster
use feature qw(say); use Future::AsyncAwait; use IO::Async::Loop; use Net::Async::Redis::XS; my $loop = IO::Async::Loop->new; $loop->add(my $redis = Net::Async::Redis::XS); await $redis->connect; await $redis->set('some-key', 'some-value'); say await $redis->get('some-key');
This is a wrapper around Net::Async::Redis with faster protocol parsing.
It implements the Net::Async::Redis::Protocol protocol code in XS for better performance, and will eventually be extended to optimise some other slow paths as well in future.
API and behaviour should be identical to Net::Async::Redis, see there for instructions.
Tom Molesworth <TEAM@cpan.org>
Copyright Tom Molesworth 2022. Licensed under the same terms as Perl itself.
To install Net::Async::Redis::Protocol::XS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::Redis::Protocol::XS
CPAN shell
perl -MCPAN -e shell install Net::Async::Redis::Protocol::XS
For more information on module installation, please visit the detailed CPAN module installation guide.