Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-18 Thread Tommi Reiman
Looks good. Would be interesting to see the JVM Json perf tested also with https://github.com/metosin/jsonista. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-18 Thread Gerard Klijs
The big penalty for the smaller size is that you need the scheme in order to deserialize the message. This can make some uses much more complex. For example when sending multiple types of messages, the client somehow needs to know which schema is used. How Avro is used with the Confluent Schema

Re: [Question] How to properly start up refs in web applications?

2018-11-18 Thread Matching Socks
The ref is a good step, but it seems that accessing it via a global variable causes a problem. So don't use a global variable. Pass everything into the Ring handlers via the formal parameters. Compojure-style Ring handlers have only one formal parameter, the request map, but you can put

Re: [ANN] Lancaster 0.6.0 - Avro Schema Creation / Serialization / Deserialization

2018-11-18 Thread Matching Socks
"Faster than JSON" sounds reasonable -- in the JVM -- inasmuch as Avro uses a binary data format. But what about in Javascript? I ask because the motivation for Transit-JSON was an observation that the Javascript interpreters' built-in JSON parsers made binary formats uncompetitive. Has the