Giter Club home page Giter Club logo

Comments (7)

MikeGoldsmith avatar MikeGoldsmith commented on June 14, 2024

Hi @marjum - Yeah, this is something I have intended to look at.

I think adding both support for a complete Couchbase config section and be able to split the server parameter would offer the most versatility.

  • Split server parameter to allow providing a list of server URIs (7850e01)
  • Support providing a complete Couchbase config section

from orleanscouchbaseprovider.

ashkan-saeedi-mazdeh avatar ashkan-saeedi-mazdeh commented on June 14, 2024

@MikeGoldsmith Speaking of configuration, another desired config not related to this is the ability to store some state as binary data instead of JSON. Actually this is one nice advantage of Couchbase over many other NoSQL databases so please keep an eye on that too if you think it can be interesting.

The StorageProvider attribute has a property which indicates if the serialization should be to JSON or not and Orleans has a binary serializer SerializationManager which can serialize data to binary in a none-backward compatible manner. That is one option and there are many others as well.

All these said I'm currently not using the provider but I had a plan to support this since it was useful for me back then at least.

from orleanscouchbaseprovider.

MikeGoldsmith avatar MikeGoldsmith commented on June 14, 2024

@ashkan-saeedi-mazdeh The SDK client supports binary storage by either:

  1. use a custom serializer that just converts to byte arrays
  2. convert the value to byte array in app code so the data type is binary[]

I think option 1 would be best as it offers the most options going forward. I've created issue #11 to add binary storage support.

from orleanscouchbaseprovider.

ashkan-saeedi-mazdeh avatar ashkan-saeedi-mazdeh commented on June 14, 2024

@MikeGoldsmith Great! Yes I knew the SDK supports it so it just needs to be added to the provider.
I'm closing this.

from orleanscouchbaseprovider.

MikeGoldsmith avatar MikeGoldsmith commented on June 14, 2024

@ashkan-saeedi-mazdeh please can you re-open this issue so we can track full Couchbase config integration?

from orleanscouchbaseprovider.

ashkan-saeedi-mazdeh avatar ashkan-saeedi-mazdeh commented on June 14, 2024

@MikeGoldsmith sorry for my confusion. Yup

from orleanscouchbaseprovider.

MikeGoldsmith avatar MikeGoldsmith commented on June 14, 2024

@ashkan-saeedi-mazdeh Thanks 👍

from orleanscouchbaseprovider.

Related Issues (17)

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.