Giter Club home page Giter Club logo

Comments (1)

ncreated avatar ncreated commented on June 3, 2024

Hello @samueleperricone indeed the StoragePerformancePreset and PerformancePresetOverride protocols are responsible for determining limits and timings in SDK core that impact batching and upload system. These values are managed internally and differ between products (Logs, Trace, RUM, Session Replay). The way we manage these values internally is however quite complex. It depends on anticipated usage of each product, the average size of its events, expected frequency of events and required rate for sending network requests to achieve reliable data transmission.

That said, we are skeptical about exposing these interfaces in public configuration, because SDK users do not have enough detail on each product requirements. Accepting arbitrary configurations will lead to misconfiguration problems and some SDK instances will no longer work efficiently, causing delays in digesting and uploading all data on time.

Instead, the SDK offers 3 different APIs for configuring its performance using following options:

  • batchSize: .small, .medium, .large
  • uploadFrequency: .rare, .average, .frequent
  • batchProcessingLevel - added recently in #1531 to configure how many network requests the SDK can perform in each upload.

@samueleperricone it might be best to know what problem you try to solve exactly and if above options will work for you 🙂.

Because this issue is about exposing these interfaces, I'm going to close it as this isn't something we consider in our backlog. Feel free to provide more context.

from dd-sdk-ios.

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.