Skip to content

@confluentinc/schemaregistry performance optimisations: sync serialise function without fetching of new shema #315

@Dhruv-Garg79

Description

@Dhruv-Garg79

Instead of fetching schema in serialise and using async function for it, it's much better to keep that function sync and fetch schemas separately.

If that is not possible, having a separate sync serialise function with separate function for prefetching schemas will be great.

What we have right now:

serialize(topic: string, msg: any): Promise<Buffer>;

What I am proposing:

serialize(topic: string, msg: any): Buffer;

fetchSchemaFor(topic: string); // even if this method is not provided, we can simply use original method for prefetching

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy