pmlopes / yoke

Yoke is a middleware framework for Vert.x
http://pmlopes.github.io/yoke/
Apache License 2.0
157 stars 44 forks source link

investigate how to lazy bind to vertx object #137

Closed pmlopes closed 9 years ago

pmlopes commented 10 years ago

If we use vertx with multiple instances yoke objects are created for each thread which can be a waste of memory and might break if there is a exclusive access say to a locked file where passwords are...

It would be nice to see how can one remove Vertx from the constructor and only bind to it later on after middleware has been added, however the dependency on Vertx is very intricate in the code itself...

pmlopes commented 9 years ago

With the upcoming release of Vertx 3 the focus on this project is to support Vertx 2 but not build new functionality. For new features look for vertx-web.