ebarlas / microhttp

Fast, scalable, self-contained, single-threaded Java web server
MIT License
539 stars 54 forks source link

Demo using todobackend #1

Closed paul-hammant closed 11 months ago

paul-hammant commented 2 years ago

https://todobackend.com/ is a an initiative to show that a bunch of REST services can pass a known frontend test suite.

That test suite is a Jasmine suite and runs in the browser. There' a series of requests performed in order. GET, POST and others. It is very cool. Can microhttp stand in the middle and delegate requests to one of the other backends, and still pass the test suite.

Or maybe a native TodoBackend using microhttp. Easiest to fork one of the existing Java ones perhaps - and there's no DB requirement - a HashMap would do.

ebarlas commented 2 years ago

Hi Paul, thanks for mentioning that. I'll take a look.

Somewhat relatedly, I'm currently working on a fork of the https://github.com/TechEmpower/FrameworkBenchmarks repo so that Microhttp will be included in future performance comparisons.

paul-hammant commented 2 years ago

TechEmpower/FrameworkBenchmarks proves speed/load

The Todobackend work proves versatility and crude compatibility with specs :)

bowbahdoe commented 1 year ago

@paul-hammant It is nowhere near done, but I did start making an implementation of the httrealworld.how spec

https://github.com/bowbahdoe/microhttp-realworld

I need to take a break from it to recover mental battery, but if you are still interested this seems to serve the same thematic goal.

bowbahdoe commented 11 months ago

@paul-hammant I got a demo repo for this now, it needs to be documented + cleaned up but all the tests are passing.

https://github.com/bowbahdoe/microhttp-todobackend