webery icon indicating copy to clipboard operation
webery copied to clipboard

Separate http(2) handlers from the rest of the core module

Open miere opened this issue 6 years ago • 4 comments

I'm developing an application which requires an embedded http(1.1/2) server. As Undertow's footprint seems to skyrocketing since its first version, I've decided to give wizzardo a try. My only concern is its footprint as well. It seems that the core module have more than one functionality along with the Http Server like DI, URL Mapping, Taglibs, Filters and stuff like that.

Is it possible to have a core-functionality-only in a separated dependency? Does it make sense for the future development of your framework?

BTW, great job!

Cheers

miere avatar Nov 20 '18 05:11 miere

hi, what footprint are you talking about? Size of jar with dependencies?

wizzardo avatar Nov 20 '18 08:11 wizzardo

Yeah, a small jar with no dependencies. Since it will be embedded into a small machine/device (memory and disk space) I'm getting rid of any unneeded piece of code. Also, I have a piece of my code base that relies on third party DI's like Dagger.

On Tue, Nov 20, 2018 at 7:28 PM Mikhail Bobrutskov [email protected] wrote:

hi, what footprint are you talking about? Size of jar with dependencies?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wizzardo/http/issues/4#issuecomment-440185811, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf20KIdnRUWAfXR82QCYz6Ol2UlMTYiks5uw700gaJpZM4YqZ4- .

-- /* Miere L. Teixeira */

miere avatar Nov 20 '18 08:11 miere

Right now jar with all dependencies is less than 1mb, but it's a good idea to separate logic to different dependencies, I will do it in a couple of weeks

wizzardo avatar Nov 20 '18 08:11 wizzardo

Awesome!

In this case I'll start the development with the current API and migrate to the new one once we've it finished. On Tue, 20 Nov 2018 at 19:48, Mikhail Bobrutskov [email protected] wrote:

Right now jar with all dependencies is less than 1mb, but it's a good idea to separate logic to different dependencies, I will do it in a couple of weeks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wizzardo/http/issues/4#issuecomment-440191321, or mute the thread https://github.com/notifications/unsubscribe-auth/AAf20DC_PZksZXIff85Nx4Gn_8_7pLyDks5uw8HxgaJpZM4YqZ4- .

--

Miere Teixeira

miere avatar Nov 20 '18 09:11 miere