ebean-orm / ebean-orm/ebean

[Enhancement] Possibility for a Lettuce variant of "ebean-redis"?

Open
#3,225 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.5k
Forks
267
Avg merge
3d 20h
Merged PRs (30d)
5

Description

Personally I find Lettuce to be the modern client. Jedis brings in dependencies such as gson, org.json:json, but is also just not a very well made client, whereas both Lettuce and Redisson are arguably much better quality clients.

Proposed naming scheme could be any of the following:

  • Renaming ebean-redis:
    • ebean-jedis
    • ebean-lettuce
    • ebean-redisson
  • Suffix instead:
    • ebean-redis - aggregator/bundle
    • ebean-redis-jedis
    • ebean-redis-lettuce
    • ebean-redis-redisson

In any case, it should be trivial to at least support Lettuce so we have one high-quality implementation to target. I'm unsure what the correct abstraction for a connection would be to support both regular, cluster, etc connections, but I'm thinking instead of providing/injecting our own client connection (and having to deal with the complexity of this), there can instead be connection configuration and ebean connect to the server automatically, using cluster if needed depending on config etc.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing ebean-redis/Jedis integration and its connection configuration first, then compare how regular and cluster connections are represented. Done requires a decided module naming and connection approach that supports Lettuce alongside the existing behavior, with coverage for the supported connection modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, redis
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.