All Projects → Trendyol → sidecache

Trendyol / sidecache

Licence: MIT license
Sidecar cache for kubernetes applications.

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to sidecache

CouchDraw
A synchronized drawing app that utilizes Couchbase Sync Gateway and Xamarin to enable shared canvases.
Stars: ✭ 22 (-42.11%)
Mutual labels:  couchbase
service-mesh-patterns
Templates of service mesh configurations imbued with best practices.
Stars: ✭ 68 (+78.95%)
Mutual labels:  istio
cloud-native-notes
☁️ 云原生技术面试必备基础知识
Stars: ✭ 48 (+26.32%)
Mutual labels:  istio
neo4j-couchbase-connector
Neo4j - Couchbase Connection API
Stars: ✭ 14 (-63.16%)
Mutual labels:  couchbase
grpc-lb
Kubernetes 中的 gRPC 负载均衡
Stars: ✭ 15 (-60.53%)
Mutual labels:  istio
advanced-istio-service-mesh-workshop
Advanced Istio Service Mesh Workshop
Stars: ✭ 28 (-26.32%)
Mutual labels:  istio
Jdempotent
Make your consumer, API, etc. idempotent easily.
Stars: ✭ 62 (+63.16%)
Mutual labels:  couchbase
mongoproxy
Lightweight proxy to collect MongoDb client metrics
Stars: ✭ 26 (-31.58%)
Mutual labels:  sidecar
opentracing-istio-troubleshooting
Tackle the challenge of observability in a Kubernetes application that consists of multiple microservices running in the Open Liberty application server.
Stars: ✭ 16 (-57.89%)
Mutual labels:  istio
istio-talk
A talk on Istio and related demos
Stars: ✭ 11 (-71.05%)
Mutual labels:  istio
doc2graph
Convert JSON from document-oriented DB to neo4j graph
Stars: ✭ 17 (-55.26%)
Mutual labels:  couchbase
Phpfastcache
A high-performance backend cache system. It is intended for use in speeding up dynamic web applications by alleviating database load. Well implemented, it can drops the database load to almost nothing, yielding faster page load times for users, better resource utilization. It is simple yet powerful.
Stars: ✭ 2,171 (+5613.16%)
Mutual labels:  couchbase
couchbase-java-importer
This is a pluggable importer for Couchbase
Stars: ✭ 13 (-65.79%)
Mutual labels:  couchbase
php-couchbase
Couchbase PHP Client Library (Official)
Stars: ✭ 80 (+110.53%)
Mutual labels:  couchbase
secret-sidecar
A Kubernetes init container that retrieves a secret from AWS Secrets Manager
Stars: ✭ 24 (-36.84%)
Mutual labels:  sidecar
couchbase-index-manager
Command-line interface to manage Couchbase indexes, synchronizing them to index definitions.
Stars: ✭ 14 (-63.16%)
Mutual labels:  couchbase
examples
Examples to demonstrate how to use PipeCD
Stars: ✭ 21 (-44.74%)
Mutual labels:  istio
pilot-load
Deploys many lightweight XDS clients to generate load on an XDS server (Pilot)
Stars: ✭ 30 (-21.05%)
Mutual labels:  istio
book-source-code
Accompanying source code for Istio in Action (Manning)
Stars: ✭ 175 (+360.53%)
Mutual labels:  istio
istio-weekly
Demos, slides, resources and other stuff from Istio Weekly and Istio Big Talk episodes
Stars: ✭ 61 (+60.53%)
Mutual labels:  istio

sidecache

Sidecar cache for kubernetes applications. It acts as a proxy sidecar between application and client, routes incoming requests to cache storage or application according to Istio VirtualService routing rules.

Medium article: https://medium.com/trendyol-tech/trendyol-platform-team-caching-service-to-service-communications-on-kubernetes-istio-82327589b935

License: MIT

Table Of Contents

Istio Configuration for Routing Http Requests to Sidecar Container

Below VirtualService is responsible for routing all get requests to port 9191 on your pod, other http requests goes to port 8080.

apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: foo
spec:
  gateways:
  - foo-gateway
  hosts:
  - foo
  http:
  - match:
    - method:
        exact: GET
    route:
    - destination:
        host: foo
        port:
          number: 9191
  - route:
    - destination:
        host: foo
        port:
          number: 8080

Environment Variables

Environment variables for sidecar container.

  • MAIN_CONTAINER_PORT: The port of main application to proxy.
  • COUCHBASE_HOST: Couchbase host addr.
  • COUCHBASE_USERNAME: Couchbase username.
  • COUCHBASE_PASSWORD: Couchbase password.
  • BUCKET_NAME: Couchbase cache bucket name.
  • CACHE_KEY_PREFIX: Cache key prefix to prevent url conflicts between different applications.
  • SIDE_CACHE_PORT: Sidecar container port to listen.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].