Code Monkey home page Code Monkey logo

Comments (14)

anonrig avatar anonrig commented on August 28, 2024 1

Ben uzerine calisiyorum

from deprem-io-backend.

naugtur avatar naugtur commented on August 28, 2024 1

Got redis cache working, now need to solve the flush.

from deprem-io-backend.

berkanium avatar berkanium commented on August 28, 2024

Kurulum yapılıp tüm yerlere uygulanacak mıdır ?

from deprem-io-backend.

izzetemredemir avatar izzetemredemir commented on August 28, 2024

Tek docker imajı var

from deprem-io-backend.

anonrig avatar anonrig commented on August 28, 2024

fargate'e redis kurulup erisim bilgilerini paylasirsaniz ekleyeyim ben

from deprem-io-backend.

dogukanturan avatar dogukanturan commented on August 28, 2024

Redis tarafini hazirlayan varsa kullanilacak env iletirse docker compose tarafini konfigure edebilirim.

from deprem-io-backend.

naugtur avatar naugtur commented on August 28, 2024

@anonrig how is it going? Can I help?

from deprem-io-backend.

anonrig avatar anonrig commented on August 28, 2024

hi @naugtur it would be good if we can replace the in memory caching with redis.

from deprem-io-backend.

naugtur avatar naugtur commented on August 28, 2024

I don't know how this is deployed, but I can add redis to docker-compose and replace cache.js
With Redis flushAll will not make sense.
I saw #111 - after that we can add some more cacheWrite calls and remove flushAll. Is it getting merged soon?

from deprem-io-backend.

anonrig avatar anonrig commented on August 28, 2024

env.example already has a redis key. I think production has redis right now. docker compose is mostly for local development. @izzetemredemir

from deprem-io-backend.

naugtur avatar naugtur commented on August 28, 2024

Ok.
We can go with https://www.npmjs.com/package/@fastify/caching or https://www.npmjs.com/package/@fastify/redis and replace all caching entirely or use redis behind existing interface of #111

Which do you prefer I do?

from deprem-io-backend.

anonrig avatar anonrig commented on August 28, 2024

Don't really have a preference both works fine

from deprem-io-backend.

naugtur avatar naugtur commented on August 28, 2024

#139

from deprem-io-backend.

naugtur avatar naugtur commented on August 28, 2024

@anonrig
Here:
e8b7bb4#diff-574e544af2813d930ff5f28dc8ea94d4e1efcfd8abd35281f03d45ecd5624a9aR94
Use selectifeFlush to avoid flushing individual items. You only need to flush list cache.

from deprem-io-backend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.