by mappu · 10y ago · 0 comments
>Why creating yet another http package instead of optimizing net/http?
Because net/http API limits many optimization opportunities.
What I think could work is a pure in memory database with server combination. Something like redis for websites.
The selling point of Redis for me has been its simplicity. It has a fairly small set of features in comparison to other databases, yet extremely powerful.
[0] - http://oldblog.antirez.com/post/redis-persistence-demystifie...
https://muut.com/blog/technology/redis-as-primary-datastore-...
Counter point of a real world implementation where they tried to make it the primary data store.
Thanks
That being said, unless you're getting a massive number of requests, using a specialized HTTP library seems like overkill.
According to the README, there are plans for it in the future.