Skip to content

JSON serialization/deserialization performance #254

Closed
@olivere

Description

@olivere

JSON serialization/deserialization seems to be an issue with many users, especially running Bulk / Search operations at scale.

Things we could do:

  1. Use ffjson for the hot paths like Search/Bulk.
  2. Re-using buffers via sync.Pool to reduce GC pressure. Something like this.
  3. Keep an eye on #317 and/or use go-drainclose before this gets fixed in Go. Of course, we need to check if this has an impact for Elastic as well.

Related issues #253, #208.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions