cosmo
jsonparser
cosmo | jsonparser | |
---|---|---|
9 | 15 | |
530 | 5,349 | |
8.0% | - | |
9.9 | 0.0 | |
about 5 hours ago | about 2 months ago | |
TypeScript | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cosmo
-
Ask HN: Startup founders, How did you get your first customer?
At the very beginning, I was a solo founder and put my project WunderGraph (https://github.com/wundergraph/cosmo) on GitHub.
After a while, a CTO contacted me and asked if I could "support" his team and add some features that he wanted. After a month of sweating, we agreed that they'd pay me a monthly support subscription of $2k.
I learned a lot from the use cases, improved the software, and got some more users, which ultimately was enough of a story for VCs to raise a $3M seed round, which I think is quite cool as a first-time founder from Germany with zero connections, no YC friends, etc...
I quickly realized that I could not pull this off alone, so I teamed up with 3 fantastic Co-Founders who are responsible for the business side, marketing, sales, and engineering.
Fast forward two years and we're growing our customer base at a great pace and are slowly looking towards a Series A. I can tell though that the way from our first customer to where we are now was extremely tough. We're in enterprise sales, we had to switch our strategy at some point. Lots of learning, lots of pain.
In retrospect, I wouldn't say that the first customer is the hardest. Building a repeatable sales motion is much harder. Building a product, marketing, and sales process that all aligns well for repeatable sales is a lot of work.
Whoever tries this, good luck and please connect if you need help as a founder or want some advice. I love to help others to start their own business. It's hard, but it's also a life that I don't want to miss.
-
GraphQL Federation Field-level Metrics 101
👉 Cosmo on GitHub: The code
-
Introducing astjson: Transform and Merge JSON Objects with Unmatched Speed in Go
By leveraging the astjson package, we were able to speed up our GraphQL API Gateway (Cosmo Router) while reducing the memory footprint. At the macro level, we were able to increase requests per second by 23% and reduced p99 latency by 44% over the previous version of Cosmo Router. At the micro level, we reduced the memory usage of a benchmark by 60%.
-
A Blazingly Fast Open-Source Federation V1/V2 Gateway
To learn more, go check out their docs here. Also, the WunderGraph Discord can be found here, if you have questions or issues you want to discuss.
-
Cosmo Router: High Performance Federation v1 & v2 Router / Gateway
For the future, we're working hard on adding compatibility with Federation 2.x features, If you find any bugs or have feature requests, please open an issue on GitHub.
-
WunderGraph Cosmo: a open source alternative to Apollo Federation, GraphOS, Studio, etc...
If you want to learn more about Cosmo, check out the documentation.
- Show HN: Cosmo – OSS Alternative to Apollo Federation / GraphOS
jsonparser
-
Introducing astjson: Transform and Merge JSON Objects with Unmatched Speed in Go
In this article, I will introduce you to a new package called astjson that I have been working on for the last couple of weeks. It is a Go package that allows you to transform and merge JSON objects with unmatched speed. It is based on the jsonparser package by buger aka Leonid Bugaev and extends it with the ability to transform and merge JSON objects at unparalleled performance.
-
What's the best way to unmarshall this nested JSON?
Use this to extract the data value, and handle/unmarshal it accordingly.
- Modification of json string without deserialisation into map/struct
- Christmas giveaway: 10 copies of my book Domain-driven Design with Golang book, also AMA
-
Wasm difficulties in Rust, Haskell, and Go
jsonparser can decode, but can't encode
-
Is there a way to parse unstructured data?
Best I've found is this: https://github.com/buger/jsonparser
-
Why the heck am I getting an empty byte array trying to read a simple json file?
I was actually just trying to get it into a []byte to use this package which claims it works well for unknown data structures.
-
Zq: An Easier (and Faster) Alternative to Jq
`jj` is a little tool I wrote that uses https://github.com/buger/jsonparser
-
Whats the fastest JSON unmarshaling package as of right now?
If you don't know the schema or you only need to access one or two fields in a much larger JSON object, I would recommend https://github.com/buger/jsonparser as it provides an easy API to access specific values without fully unmarshaling. This is an unusual use case though, 9 times out of 10 I would tend to use easyjson.
-
map[string]interface{} decoder
Reading and navigating arbitrary JSON: I've used https://github.com/tidwall/gjson, many others like https://github.com/buger/jsonparser are also out there.
What are some alternatives?
federation-benchmarks - Comparison of a different federation gateways, e.g. supergraphs implementations
fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection
polyglot-persistence-postgresql-mysql-graphql - This repo demonstrates how to achieve polyglot persistence for PostgreSQL & MySQL using GraphQL as the layer of abstraction.
ej - Write and read JSON from different sources in one line
graphql-transform-federation - Convert your existing GraphQL schema into a federated schema
mapslice-json - Go MapSlice for ordered marshal/ unmarshal of maps in JSON
xcaddy - Build Caddy with plugins
ojg - Optimized JSON for Go
graphql-go-tools - GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.
json-to-proto.github.io - convert JSON to Protocol Buffers online in your browser instantly
prometheus - The Prometheus monitoring system and time series database.
GJSON - Get JSON values quickly - JSON parser for Go