Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Support for AWS ElastiCache "config" command (needed to support cluster configuration)

Open
#87 8 comments 6 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
aws, memcached, python
Domain
backend, databases

Research direction

Start by reading the client's _misc_cmd and _fetch_cmd methods and the existing command tests; the issue says _misc_cmd reads only one line, while AWS config get cluster returns two lines ending with END. Compare the proposed generic low-level command with adding CONFIG handling, then check the AWS Auto Discovery documentation linked in the issue. Done means pymemcache can retrieve the complete cluster configuration response.

Written by the indexing model from the issue text.

Description

enhancement Hacktoberfest

The AWS implementation of memcached adds a new command "config" (for now only "config get cluster") that returns the list of hosts in the cluster, for auto-discovery. I would like to be able to use pymemcache on AWS and get the cluster configuration:

http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/AutoDiscovery.AddingToYourClientLibrary.html

A couple of ways:

  • a low level command (like "_misc_cmd") that can return multiple lines for the result (_misc_cmd currently reads just one line). The "config" command currently returns 2 lines terminated with "END")
  • update _fetch_cmd to add support for CONFIG (but if AWS adds more subcommands, the format may change).

I would be fine with the first way (and then expose either a "config" or "aws_config" command or add a generic high-level command that would allow to send more "non-standard" requests. I have hacked something together that implement this (with a new "aws_config" method on the base client class) and I can submit a pull request.

Dominant language
Python
Stars
842
Forks
190
Avg merge
3h 17m
Merged PRs (30d)
4

Getting set up

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.

More from pinterest/pymemcache

All issues in pinterest/pymemcache

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.