Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for redis client side caching #2436

Open
3 tasks done
aspark21 opened this issue Jan 20, 2024 · 2 comments
Open
3 tasks done

Implement support for redis client side caching #2436

aspark21 opened this issue Jan 20, 2024 · 2 comments

Comments

@aspark21
Copy link

Redis 6 implemented client side caching
https://redis.io/docs/manual/client-side-caching/

I can’t see any mention of phpredis supporting this.

I only found an alternative to phpredis that seemed to offer this https://relay.so/

Can this be added?

I've checked

  • There is no similar issue from other users
  • Issue isn't fixed in develop branch
  • No mention of this in code or docs
@tillkruss
Copy link
Member

Relay is actually built by @michael-grunder and @yatsukhnenko and it has the same API as PhpRedis.

@osevan
Copy link

osevan commented Jun 18, 2024

Can someone implant client side micro cache solution with specific time period for example 1s 2s 3s changeable by user?

Or additionaly with transparent huge pages using and retry get after specific time period 1s 2s 3s?

But i have here fastest in memory database in the world as library without any stream or datagram sockets overhead .
Everything running inside C function library lockless and scale to millions hits per seconds - even on old hardware like on sandybridge notebooks.
https://github.com/priitj/whitedb

Whitedb domain are reowned by others, here is old homepage backup:

https://web.archive.org/web/20230523181134/http://whitedb.org/speed.html

When someone could try whitedb and phpredis amalgamation, this will improve it further and outperform even relay.so

Whitedb will reduce network overhead and bottleneck will be php coroutine itself.

Thanks and

Best Regards

Nginx micro caching working well too, why not phpredis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants