38 / plumber

The General-Purpose Cross-Language Dataflow Programming
http://plumberserver.com
BSD 2-Clause "Simplified" License
27 stars 2 forks source link

Merge some of the servlet #57

Closed 38 closed 6 years ago

38 commented 6 years ago

Spliting too many servlet actually makes the server runs slow and graph be more complicated. So we need to some of them, here's the candidate:

  1. filesystem/mimetype and filesystem/readfile: Actually we could have one servlet which read the file and guess the mime-type, since there's no reason to split them.

  2. network/http/encoder and network/http/render(Purposed): Since encoding a HTTP body has no other use than render a HTTP response.