Questions tagged [hey]

3 questions
1
vote
0 answers

Golang net-based HttpServer reads EOF for incoming connection before actual request content

I have the following net Connection read logic inside a simple handler of HTTP connections I've written: func (r RequestReader) ReadHttpRequest(reader io.Reader) (string, error) { var request []byte var buffer = make([]byte, 1024) for…
Miguel Pais
  • 73
  • 1
  • 5
1
vote
2 answers

How to illustrate concurrency benefits using an OpenFaas function?

I am experimenting with OpenFaas and trying to evaluate the performance benefit of having more than workers serve the same function (the default shasum function available from the store). I have a cluster of three 'small'(1vcpu 2gb ram) one 'medium'…
atsag
  • 93
  • 11
0
votes
1 answer

Basic authentication with hey tool fails

I have an elasticsearch cluster which I can hit as follows: ▶ curl -k https://localhost:9200 -u username:password { "name" : "elasticsearch-sample-es-master-1", "cluster_name" : "elasticsearch-sample", "cluster_uuid" : "XXXXXXXXXXXXXXXXXXX", …
pkaramol
  • 16,451
  • 43
  • 149
  • 324