user/dev discussion of public-inbox itself
 help / color / Atom feed
* [PATCH 0/9] ds: Diet Socket
@ 2019-06-10  5:18 Eric Wong
  2019-06-10  5:18 ` [PATCH 1/9] ds: simplify write buffer accounting Eric Wong
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Eric Wong @ 2019-06-10  5:18 UTC (permalink / raw)
  To: meta

Getting more aggressive with changes to PublicInbox::DS.

I'm thinking patches 8-9 will be important to make TLS
support easier.

On a side note: while reading the code to IO::KQueue;
I've noticed it doesn't take advantage at all of the
syscall reduction kevent() can potentially provide over
over the use of epoll_ctl+epoll_wait :<

Eric Wong (9):
  ds: simplify write buffer accounting
  ds: cleanup Errno imports and favor constant comparisons
  ds: reduce Errno imports and drop ->close reason
  ds: remove {fd} field
  ds: remove steal_socket method
  nntp: use sysread to append to existing buffer
  ds: remove read method, here, too
  ds: do not distinguish between POLLHUP and POLLERR
  ds: stop caring about event flags set by epoll/poll/kqueue

 lib/PublicInbox/DS.pm          | 235 +++++++++------------------------
 lib/PublicInbox/EvCleanup.pm   |   8 +-
 lib/PublicInbox/HTTP.pm        |  11 +-
 lib/PublicInbox/HTTPD/Async.pm |   4 +-
 lib/PublicInbox/NNTP.pm        |  44 +++---
 5 files changed, 93 insertions(+), 209 deletions(-)

-- 
EW


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, back to index

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10  5:18 [PATCH 0/9] ds: Diet Socket Eric Wong
2019-06-10  5:18 ` [PATCH 1/9] ds: simplify write buffer accounting Eric Wong
2019-06-10  5:18 ` [PATCH 2/9] ds: cleanup Errno imports and favor constant comparisons Eric Wong
2019-06-10  5:18 ` [PATCH 3/9] ds: reduce Errno imports and drop ->close reason Eric Wong
2019-06-10  5:18 ` [PATCH 4/9] ds: remove {fd} field Eric Wong
2019-06-10  5:18 ` [PATCH 5/9] ds: remove steal_socket method Eric Wong
2019-06-10  5:18 ` [PATCH 6/9] nntp: use sysread to append to existing buffer Eric Wong
2019-06-10  5:18 ` [PATCH 7/9] ds: remove read method, here, too Eric Wong
2019-06-10  5:18 ` [PATCH 8/9] ds: do not distinguish between POLLHUP and POLLERR Eric Wong
2019-06-10  5:18 ` [PATCH 9/9] ds: stop caring about event flags set by epoll/poll/kqueue Eric Wong

user/dev discussion of public-inbox itself

Archives are clonable:
	git clone --mirror http://public-inbox.org/meta
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
	nntp://ou63pmih66umazou.onion/inbox.comp.mail.public-inbox.meta
	nntp://czquwvybam4bgbro.onion/inbox.comp.mail.public-inbox.meta
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.mail.public-inbox.meta
	nntp://news.gmane.org/gmane.mail.public-inbox.general

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git