spring-cloud / spring-cloud-function

Apache License 2.0
1.04k stars 618 forks source link

Remove dependency on Jackson #143

Closed dsyer closed 6 years ago

dsyer commented 6 years ago

Jackson sucks in startup benchmarks. The gRPC experience in Riff tends to suggest that Gson would be faster, and it's quite lightweight (no transitive dependencies).

dsyer commented 6 years ago

Currently blocked by this: https://jira.spring.io/browse/SPR-16529 (Gson doesn't work in an SseEmitter).

dsyer commented 6 years ago

Worked around the SPR issue by copying the source code for GsonHttpMessageConverter.