Coder Social home page Coder Social logo

splitio / .net-client Goto Github PK

View Code? Open in Web Editor NEW
4.0 24.0 4.0 16.86 MB

.NET SDK client for Split Software

Home Page: https://split.io

License: Other

C# 99.18% Smalltalk 0.82%
split feature-toggles feature-toggle splitsoftware feature-flags control-rollout ab-testing dot-net

.net-client's People

Contributors

facundocabrera avatar goldensun8891 avatar hjewkes avatar jwaimann avatar mredolatti avatar mssplitio avatar nicozelaya avatar patricioe avatar sanzmauro avatar senhorcastor avatar tinchoignacio avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

.net-client's Issues

Issue upgrading from 4.1.1 -> 4.1.2 or greater

It looks like upgrading beyond 4.1.1 is pulling in a dependency that we can't currently resolve:
Unable to resolve dependencies. 'System.IdentityModel.Tokens.Jwt 4.0.4.403061554' is not compatible with 'Microsoft.IdentityModel.Protocols 2.1.5 constraint: System.IdentityModel.Tokens.Jwt (>= 5.1.5)'. due to other dependencies in our code and our version of .Net.

Invalid Api key causes high CPU usage

Following code causes high CPU usage in splitio-net-core 3.3.1

var factory = new SplitFactory("REPLACEME", new ConfigurationOptions
{
  FeaturesRefreshRate = 60,
});
var splitClient = factory.Client();

Cannot get Splits if Redis db != 0 is used

I am not able to get Splits when I try to fetch it from Redis DB different than 0. I decompiled the code. And it seems that always default DB instance 0 is used by RedisAdapter.

image

I checked source code and it looks that no parameter is passed (so default one is used):
https://github.com/splitio/.net-client/blob/development/Splitio.Redis/Services/Cache/Classes/RedisAdapter.cs#L103

Steps to reproduce:

  1. Run synchronizer to put data to Redis DB different than 0.
  2. Set up some splits.
  3. Set up client SDK in Mode.Consumer to point to DB from point 1,
  4. Call SplitClient.GetSplitManager().SplitNames() or SplitClient.GetSplitManager().Splits().

Expected result:
Splits from point 2

Current result:
Empty list

Used libraries:
Splitio 6.1.3
Splitio.Redis 6.1.3

Performance

Hi,

We are using this .NET SDK and we notice a lot of traffic and latency issues within our New Relic reports.

What optimizations do you recommend to improve performance with this SDK?

Thanks.

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.