Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 22 00:47
    jimbonator opened #547
  • Jan 22 00:37
    jimbonator commented #540
  • Jan 16 09:53
    WCNMB opened #546
  • Jan 05 07:43
    rahulspnd closed #544
  • Jan 05 07:43
    rahulspnd commented #544
  • Jan 03 11:52
    rahulspnd opened #544
  • Dec 24 2018 03:51
    YQSYZE commented on 111d100
  • Dec 20 2018 15:06
    Daaarkling opened #543
  • Dec 10 2018 13:04
    nickdnk commented #374
  • Dec 10 2018 11:29
    zeshan77 commented #374
  • Dec 06 2018 15:11
    itbdw commented #469
  • Dec 04 2018 07:47
    tomas7777 opened #542
  • Nov 20 2018 13:18
    pawansgi92 edited #541
  • Nov 20 2018 13:17
    pawansgi92 edited #541
  • Nov 20 2018 13:16
    pawansgi92 opened #541
  • Nov 19 2018 21:18
    Camilo517 opened #540
  • Nov 13 2018 02:16
    alefalves commented #61
  • Nov 12 2018 23:54
    dkrieger commented #539
  • Nov 09 2018 21:49
    dkrieger opened #539
  • Nov 02 2018 15:21
    ViniH commented #538
imabasghar
@imabasghar
Hey there fellow members.
Kabir Hossain
@kabircse
hi...
is there any php redis project development video?
vinodjoshi
@vinodjoshi
HI
Paulo Victor Leite Lima Gomes
@pvgomes
Hi
Anyone using Predis on PHP7 ?
Daniele Alessandri
@nrk
Just released Predis v1.0.4, see the release notes.
v1.1.0 will be released in a few more days! And after that, it's time to start working on v2.0-dev :-)
Andrea Coiutti
@ACXgit
:+1:
Daniele Alessandri
@nrk
Speaking about v2.0-dev, please read nrk/predis#335 about the proposed bump of the minimum required version of PHP to 5.5.9 and if you have anything to say on the matter well, just comment there :smile:
Daniele Alessandri
@nrk
Predis v1.1.0 is now available, see the release notes.
We have built-in support for redis-sentinel at last :-)
plamen-paskov
@plamen-paskov
hi guys
how does predis performs in the sense of speed comparing to the native redis extension ?
any benchmarks ?
(on PHP 7.0 the overhead of Predis is lower due to the improvements of the Zend Engine)
Cy Rossignol
@cyrossignol
@nrk Many thanks for working on the Sentinel support! The timing of the release was perfect for us.
I just wrote a package for configuring Laravel for Sentinel using the new features in Predis. If anyone uses this framework, I'd appreciate any feedback about bugs or usage experience!
pleqtron
@pleqtron

Hey there … i am currently testing the predis libary to communicate from my php backend with a new nodejs chat system. I am able to publish commands to a specific channel but when observing this channel on node side, the data is stripped. For example:

$redis->publish("mychannel", "123456“);

// Result on observer (nodejs):
3456

Any suggestions? Not sure if I am doing something wrong, or it has to do with my node setup.

pleqtron
@pleqtron
Nevermind, bug was found on redis adapter for my node cluster.
diegotez
@diegotez
Hello guys, is this chat room still in use?
Zaid Daba'een
@zaiddabaeen
Seems not. Anyway, does anybody have any figures on the performance increase if phpiredis is used?
Daniele Alessandri
@nrk
@zaiddabaeen see https://github.com/nrk/predis/blob/master/FAQ.md#speaking-about-performances there's a section about phpiredis, absolute numbers will be most likely different with updated hardware and PHP 7.0 but for the most part they are still valid in relative terms.
Zaid Daba'een
@zaiddabaeen
Perfect. Many thanks @nrk
jayakrishnanl
@jayakrishnanl
Guys, is there any 'noob' guides for predis.. ?
Sorry for asking here though..
Owen Morgan
@owenmorgan
hey all. just checking if anyone is able to help us out
were using Predis with a redis cluster on Elasticache
this gives you one endpoint to communicate with the cluster.
but out testing is seeing that one node is getting all the hits unevenly
just wondering if there is a command we need to run to sync slots to predis before we communicate with it?
Owen Morgan
@owenmorgan
such as this example for a different library
pleqtron
@pleqtron
@owenmorgan "Redis Cluster does not use consistent hashing, but a different form of sharding where every key is conceptually part of what we call an hash slot.
There are 16384 hash slots in Redis Cluster, and to compute what is the hash slot of a given key, we simply take the CRC16 of the key modulo 16384.
Every node in a Redis Cluster is responsible for a subset of the hash slots[...]" - sound for me like it is normal, that the load will not be spreaded evenly over each node?!
Matt Humphrey
@m4tthumphrey
is this room active?
Richard Hodgson
@Rohaq
Doesn't look very active
shame, I was going to ask if there's any easy way to check that Phpiredis is being used when using Sentinel
Specifying connections in the client properties seems to screw sentinel up pretty royally :)
Richard Hodgson
@Rohaq
@nrk if you have any idea how to best figure this out I'm all ears :)