Git Product home page Git Product logo

Comments (4)

maybellineboon avatar maybellineboon commented on August 15, 2024

Hi @dbrito ,

This looks about right. I see that your payload is base64 decoded and converted to a bytestring. And the key_id and shared_info are strings. Converted into the aggregation service report avro schema.

from aggregation-service.

dbrito avatar dbrito commented on August 15, 2024

@maybellineboon thanks!
Just one question, the part where each "aggregation_service_payloads" in the report becomes an .avro file is also correct, right?

In this case, there is no scenario where I will receive more than one "aggregation_service_payloads" per report and I have to store these records in the same .avro file, right?

from aggregation-service.

maybellineboon avatar maybellineboon commented on August 15, 2024

hi @dbrito ,

You can either collect all the json reports and convert them into a single file or you can create separate avro reports. For better performance, it is recommended to split the number of reports to the number of CPUs for your Aggregation Service instance. For example, you have 1,000 reports with 6 CPUs, you will have 6 files and the 1,000 reports will be split into 6 files.

Also, when batching, we do recommend to follow the batching strategies doc.

from aggregation-service.

dbrito avatar dbrito commented on August 15, 2024

Thanks !
I'll take a look

from aggregation-service.

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.