question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2.x -- group by, custom map variant

See original GitHub issue

We are using release 2.1.7.

As is noted in the “What’s Different” page, the variant of groupBy that accepts a custom map factory is not currently part of the 2.x API. We were relying on this to implement “eviction” of groups that haven’t been seen for a “long time” (where “long” is user specified). Our system maintains Flowable instances for its entire lifetime (which is hopefully weeks/months), so it is important to be able to reclaim resources as we go.

Anyway – my questions are – are the plans to bring this back? Is there a suggested alternative for implementing the disposal of groups after a period of inactivity? Any guidance would be appreciated.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
davidmotencommented, Dec 15, 2017

I was author of that contribution to 1.x #3931. Using timeout was discussed but it had problems. In particular you can lose emissions. If @akarnokd is in favour I can investigate adapting the groupBy operator to use a Map factory again.

0reactions
davidmotencommented, Apr 3, 2018

Woohoo! Slow compilation of RxJava 2.x is fixed in Eclipse 4.7.3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't name or rename custom game variants on MCC Xbox one
''In the main menu, click your name/profile. Go to player details, then click file share. There you will see 3 boxes labeled Game...
Read more >
Applying Custom Functions to Groups of Data in Pandas
Here, I will share with you two different methods for applying custom functions to groups of data in pandas. There are many out-of-the-box ......
Read more >
Phasmophobia Apocalypse Update Brings In-Depth Custom ...
With the 'Apocalypse' update, you can expect: in-depth custom difficulty settings, new map variants, a new main menu, new lobby room, ...
Read more >
To honor the last week of Halo 3 and Halo Reach multiplayer ...
(**NOTE: You will need to spread custom map and game type files across multiple USB drives - Halo 3 classic can only support...
Read more >
Map over multiple inputs simultaneously. — map2 • purrr
These functions are variants of map() that iterate over multiple arguments simultaneously. ... If a formula, e.g. ~ .x + 2 , it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found