opencache icon indicating copy to clipboard operation
opencache copied to clipboard

It looks like a traffic server is already good enough. We do not need another cache server

Open drmingdrmer opened this issue 3 years ago • 5 comments

Since there is a powerful opendal as a cache client that deals with object fragmentation and object metadata interpretation. The server side of the cache becomes a simple key-value-like store.

Thus there is no need to build another service. There is already plenty of software that meets such a need. traffic server is a mature cache server and supports pushing an object to it.

We can just deploy a traffic server cluster as a cache service backend. Thus this project will be hanging unless any requirements can not be implemented with the traffic server.

@Xuanwo @BohuTANG @flaneur2020 @lichuang @ariesdevil

drmingdrmer avatar Aug 02 '22 04:08 drmingdrmer

  • For pushing: https://docs.trafficserver.apache.org/en/latest/admin-guide/storage/index.en.html#pushing-an-object-into-the-cache
  • For removing: https://docs.trafficserver.apache.org/en/latest/admin-guide/storage/index.en.html#pushing-an-object-into-the-cache
  • For pulling: of course, I can use GET.

Seems enough for now.

Xuanwo avatar Aug 02 '22 04:08 Xuanwo

is there any equivant service in aws? q.q

flaneur2020 avatar Aug 03 '22 04:08 flaneur2020

Squid Proxy Cache Server? https://aws.amazon.com/marketplace/pp/prodview-3mzfrlmzpad5i

BohuTANG avatar Aug 03 '22 06:08 BohuTANG

I understand about cache another thing is that it's a cache for writes. traffic server can't do it.

wubx avatar Aug 29 '22 09:08 wubx

I understand about cache another thing is that it's a cache for writes. traffic server can't do it.

It supports active push/remove:

For pushing: https://docs.trafficserver.apache.org/en/latest/admin- guide/storage/index.en.html#pushing-an-object-into-the-cache For removing: https://docs.trafficserver.apache.org/en/latest/admin- guide/storage/index.en.html#pushing-an-object-into-the-cache

drmingdrmer avatar Aug 30 '22 01:08 drmingdrmer