Re:Migrating Millions of Concurrent WebSockets to Envoy
by dilyevsky on Thursday March 18, 2021 @12:14AM
(#26499624)
If you’re looking at other solutions check out https://github.com/stripe/skycfg It works with Envoy and lots of other things that support protobuf configs
[ Parent
| on HN ]
Re:Migrating Millions of Concurrent WebSockets to Envoy
by yawaramin on Thursday March 18, 2021 @06:48PM
(#26508360)
For the time being I'm targeting YAML and JSON, so satisfied with the feature set that Dhall is offering.
Re:Migrating Millions of Concurrent WebSockets to Envoy
by dilyevsky on Thursday March 18, 2021 @08:10PM
(#26508950)
Easy to render output as either and bonus is if you know Python, Starlark is very similar
Re:Migrating Millions of Concurrent WebSockets to Envoy
by yawaramin on Sunday March 21, 2021 @09:06PM
(#26535720)
I checked it out, but it's not obvious to me how to target YAML or JSON using it. In contrast, the first use case the Dhall homepage is how to convert to YAML. There are other things Dhall makes obvious, like how to create a record type to target specific YAML/JSON constructs, with type-checking.
Also I prefer Dhall's evaluation model (all values are at collapsed at compile time into a single output value with no side effects) to Starlark's full-fledged 'runnable' model, e.g. with the 'print' function I can print out anything I like, including possibly secrets and passwords. This is impossible with Dhall.
That said, I do wish that Dhall had something closer to Starlark's syntax and better type inference :-)