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

oc_filecache brainstorming #18771

Closed
MorrisJobke opened this issue Sep 2, 2015 · 7 comments
Closed

oc_filecache brainstorming #18771

MorrisJobke opened this issue Sep 2, 2015 · 7 comments

Comments

@MorrisJobke
Copy link
Contributor

MorrisJobke commented Sep 2, 2015

img_20150902_150144

7 minutes:

Queries:

SELECT              2.475.603
oc_appconfig          739.828
oc_share_external     323.974
oc_filecache          239.205
oc_storages           156.746
oc_share              146.976
oc_group_user         144.276
oc_preferences         89.914
oc_users               80.953
oc_properties          69.598
oc_mimetypes           51.215
oc_share_external           0
oc_ldap_user_mapping        0
UPDATE                 30.847
DELETE                  2.088
INSERT                  1.084
Connect                52.458

Full log see s3/engineering/DB-queries

@PVince81
Copy link
Contributor

@cmonteroluque @icewind1991 @Xenopathic @blizzz @nickvergessen @schiesbn

@PVince81
Copy link
Contributor

and @DeepDiver1975

@karlitschek
Copy link
Contributor

Let me summarize what we want to do here from my point of view.

  • Remove the joins between sharing and file cache tables.
  • Improve the storage API so that a storage plugin can provide all data and metadata like etags, fileids and more.
  • Transform our current file_cache implementation into a storage plugin. Other storage plugins can then be implemented by us or others.
  • Implement a plugin API for different backends for versioning
  • Implement a plugin API for different backends for trashbin
  • Implement a plugin API for different backends for sharing
  • Use flysystem for some external storages as 'connector/driver'

@PVince81
Copy link
Contributor

Mount points table will be required soon to be able to properly resolve fileid to owner from a cron job.
Ticket here #15166

@PVince81
Copy link
Contributor

PVince81 commented Mar 1, 2016

I suppose we'll want to continue this for 9.1.
We already have abstraction for sharing, comments, system tags.

We could continue by abstracting versions and trashbin.

@PVince81 PVince81 added this to the 9.1-next milestone Mar 1, 2016
@PVince81 PVince81 modified the milestones: 9.2, 9.1 Jul 4, 2016
@PVince81
Copy link
Contributor

PVince81 commented Dec 8, 2016

Do we have time to continue this in 10.0 ? Else move to backlog.
The discussion can continue nevertheless.

The ticket itself is unclear as it contains too many suggestions, we need a focus. AFAIK there are already other tickets for individual items

@butonic @DeepDiver1975 @mrow4a

@PVince81
Copy link
Contributor

PVince81 commented Apr 6, 2017

ongoing discussion, backlog

@PVince81 PVince81 modified the milestones: backlog, 10.0 Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants