Rainbows! Rack HTTP server user/dev discussion
 help / color / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
						download: 
* Re: Waiting for deferred actions to finish
      [irrelevant] <CAKwvcL-VH3we4qA1pkNAstTmWvqNA=Rir2N_YiWztV_qbaLQvA@mail.gmail.com>
@ 2017-01-09 19:43 ` Eric Wong
  2017-01-09 19:45   ` [PATCH 1/2] tests: re-enable EventMachine tests, again Eric Wong
  2017-01-10  7:31   ` Waiting for deferred actions to finish alex0375
  0 siblings, 2 replies; 4+ results
From: Eric Wong @ 2017-01-09 19:43 UTC (permalink / raw)
  To: alex0375; +Cc: rainbows-public

alex0375@gmail.com wrote:
> Am I missing something? Can this be a part of Rainbows?

Nope, you're not missing anything :)
Rainbows! was missing an EM feature introduced in 2012 :x

I'll make a 5.1.0 release with following patches
(coming in-reply-to this email) soon.

There's also rack 2.x compatibility sitting in rainbows.git.
https://bogomips.org/rainbows-public/20161117033531.GA4454@dcvr/T/

The following changes since commit bd7596e50bd094edf5e5842afb8239c158fe2491:

  Revert "t/t0044-autopush.sh: remove test" (2016-12-24 21:42:06 +0000)

are available in the git repository at:

  git://bogomips.org/rainbows em-deferred

for you to fetch changes up to f385ed423e11ad40822f688bc592eaa78efa5b34:

  eventmachine: wait for deferred actions to finish (2017-01-09 18:59:00 +0000)

----------------------------------------------------------------
Eric Wong (2):
      tests: re-enable EventMachine tests, again
      eventmachine: wait for deferred actions to finish

 SIGNALS                       |  6 +++---
 lib/rainbows/event_machine.rb | 10 +++++++++-
 t/GNUmakefile                 |  2 +-
 t/app_deferred.ru             |  8 +++++++-
 t/t0700-app-deferred.sh       | 18 +++++++++++++++---
 5 files changed, 35 insertions(+), 9 deletions(-)

^ permalink raw reply	[relevance 4%]

* [PATCH 1/2] tests: re-enable EventMachine tests, again
  2017-01-09 19:43 ` Waiting for deferred actions to finish Eric Wong
@ 2017-01-09 19:45   ` Eric Wong
  2017-01-10  7:31   ` Waiting for deferred actions to finish alex0375
  1 sibling, 0 replies; 4+ results
From: Eric Wong @ 2017-01-09 19:45 UTC (permalink / raw)
  To: rainbows-public; +Cc: alex0375

Based on activity in <git://github.com/eventmachine/eventmachine>,
EventMachine seems to be maintained, again, so resume testing our
integration tests.
---
 t/GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/GNUmakefile b/t/GNUmakefile
index 97b1985..9ead6ee 100644
--- a/t/GNUmakefile
+++ b/t/GNUmakefile
@@ -41,6 +41,7 @@ ifeq ($(RUBY_ENGINE),ruby)
     endif
     models += FiberSpawn
     models += FiberPool
+    models += EventMachine
 
     RUBY_LE_2_1 := $(shell $(RUBY) -e 'puts(RUBY_VERSION.to_f <= 2.1)')
     ifeq ($(RUBY_LE_2_1), true)
@@ -48,7 +49,6 @@ ifeq ($(RUBY_ENGINE),ruby)
       models += CoolioThreadPool
       models += CoolioThreadSpawn
       models += CoolioFiberSpawn
-      models += EventMachine
       models += NeverBlock
     endif
   endif
-- 
EW

^ permalink raw reply	[relevance 7%]

* Re: Waiting for deferred actions to finish
  2017-01-09 19:43 ` Waiting for deferred actions to finish Eric Wong
  2017-01-09 19:45   ` [PATCH 1/2] tests: re-enable EventMachine tests, again Eric Wong
@ 2017-01-10  7:31   ` alex0375
  1 sibling, 0 replies; 4+ results
From: alex0375 @ 2017-01-10  7:31 UTC (permalink / raw)
  To: Eric Wong; +Cc: rainbows-public

Hi, Eric

I have tried the new revision (rainbows-5.0.0.8.gf385) and it works
great for me.

Thanks!

On Mon, Jan 9, 2017 at 10:43 PM, Eric Wong <e@80x24.org> wrote:
> alex0375@gmail.com wrote:
>> Am I missing something? Can this be a part of Rainbows?
>
> Nope, you're not missing anything :)
> Rainbows! was missing an EM feature introduced in 2012 :x
>
> I'll make a 5.1.0 release with following patches
> (coming in-reply-to this email) soon.
>
> There's also rack 2.x compatibility sitting in rainbows.git.
> https://bogomips.org/rainbows-public/20161117033531.GA4454@dcvr/T/
>
> The following changes since commit bd7596e50bd094edf5e5842afb8239c158fe2491:
>
>   Revert "t/t0044-autopush.sh: remove test" (2016-12-24 21:42:06 +0000)
>
> are available in the git repository at:
>
>   git://bogomips.org/rainbows em-deferred
>
> for you to fetch changes up to f385ed423e11ad40822f688bc592eaa78efa5b34:
>
>   eventmachine: wait for deferred actions to finish (2017-01-09 18:59:00 +0000)
>
> ----------------------------------------------------------------
> Eric Wong (2):
>       tests: re-enable EventMachine tests, again
>       eventmachine: wait for deferred actions to finish
>
>  SIGNALS                       |  6 +++---
>  lib/rainbows/event_machine.rb | 10 +++++++++-
>  t/GNUmakefile                 |  2 +-
>  t/app_deferred.ru             |  8 +++++++-
>  t/t0700-app-deferred.sh       | 18 +++++++++++++++---
>  5 files changed, 35 insertions(+), 9 deletions(-)

^ permalink raw reply	[relevance 0%]

* [ANN] Rainbows! 5.1.0 - rack 2.x compat, EM fixes
@ 2017-01-12 22:48 Eric Wong
  0 siblings, 0 replies; 4+ results
From: Eric Wong @ 2017-01-12 22:48 UTC (permalink / raw)
  To: rainbows-public; +Cc: Julia López Aladro, alex0375

This release now supports rack 2.x along with existing rack 1.x
applications.  Additionally, we now wait for deferred actions
for EventMachine users on graceful shutdown.

Thanks to Julia López Aladro and <alex0375@gmail.com> for
bringing up these changes in the open-to-all
rainbows-public@bogomips.org mailing list:

  https://bogomips.org/rainbows-public/CAPhSs6OAU+motd+MF=WOSek9==StLjEQJsNwAO3-aRWCZzhs=g@mail.gmail.com/T/

  https://bogomips.org/rainbows-public/CAKwvcL-VH3we4qA1pkNAstTmWvqNA=Rir2N_YiWztV_qbaLQvA@mail.gmail.com/T/

There's also a few documentation and test fixes.

9 changes since Rainbows! 5.0.0:

      doc: bump olddoc to ~> 1.2 for extra NNTP URLs
      doc: move homepage and update URLs to HTTPS
      doc: Static_Files: remove Future section
      tests: use correct file:// URL for random_blob path
      support rack 2.x
      Revert "t/t0044-autopush.sh: remove test"
      tests: re-enable EventMachine tests, again
      eventmachine: wait for deferred actions to finish
      doc: additional disclaimers

Rainbows! is maintained as long as anybody uses it,
but I don't recommend using it for new apps:

  https://bogomips.org/rainbows-public/20151020095934.GA19114@dcvr.yhbt.net/

* https://bogomips.org/rainbows/
* rainbows-public@bogomips.org
* https://bogomips.org/rainbows-public/
* git clone git://bogomips.org/rainbows.git
* https://bogomips.org/rainbows/NEWS.atom.xml
* nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
* nntp://news.gmane.org/gmane.comp.lang.ruby.rainbows.general

*zzz*

^ permalink raw reply	[relevance 4%]

Results 1-4 of 4 | reverse results
    [irrelevant] <CAKwvcL-VH3we4qA1pkNAstTmWvqNA=Rir2N_YiWztV_qbaLQvA@mail.gmail.com>
2017-01-09 19:43 ` Waiting for deferred actions to finish Eric Wong
2017-01-09 19:45   ` [PATCH 1/2] tests: re-enable EventMachine tests, again Eric Wong
2017-01-10  7:31   ` Waiting for deferred actions to finish alex0375
2017-01-12 22:48 [ANN] Rainbows! 5.1.0 - rack 2.x compat, EM fixes Eric Wong


Rainbows! Rack HTTP server user/dev discussion

Archives are clonable:
	git clone --mirror https://bogomips.org/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-public

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows

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

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