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

Expiring anonymous genesets? #67

Open
ravila4 opened this issue Nov 11, 2022 · 3 comments
Open

Expiring anonymous genesets? #67

ravila4 opened this issue Nov 11, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@ravila4
Copy link
Contributor

ravila4 commented Nov 11, 2022

Anonymous genesets are intended to allow quick sharing or user testing of the application, but we want to encourage users to associate their genesets to an account for long-term storage. Therefore, we could set anonymous genesets to have a default expiration date of, say, 1 week or 1 month (but we could allow customization for shorter or slightly longer expiries).

This could also help us discourage abuse and creation of spam or low quality genesets.

@ravila4
Copy link
Contributor Author

ravila4 commented Nov 11, 2022

The simplest implementation option might be to use Elasticsearch's index lifecycle management (ILM) to delete indices when they reach a certain size or age. We would need to create a separate index for anonymous genesets. Edit: or possibly two indices, and have them rotate.

https://www.elastic.co/guide/en/elasticsearch/reference/8.5/index-lifecycle-management.html

@vincerubinetti
Copy link

Let me know if you do this, because we'll want to have a big warning about this, and also list it as a "pro" for signing up.

I'd recommend being very lenient though. Maybe 3-6 months. Maybe someone wants to have a geneset ready for a conference they are attending later in the year, and creates one anonymously because they are too busy to create an account.

@ravila4 ravila4 added the enhancement New feature or request label Nov 13, 2022
@ravila4
Copy link
Contributor Author

ravila4 commented Nov 13, 2022

Yes, probably not soon, I think this would be considered an enhancement. If we get a lot of anonymous genesets being created, we can reconsider.

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

No branches or pull requests

2 participants