Best Way to loop through huge mongodb collection every minute?

I need to loop through mongodb collection EVERY MINUTE which will be huge in future, I have to loop through each object and then use some if else conditions and then perform an http post request inside IF condition. I am planning to use https://www.npmjs.com/package/node-cron this library for the purpose that will run a task every minute. In this task, i will get a mongodb collection, loop through all the objects using ForEach loop and then do some actions using if else conditions. Is this approach okay or there is better/efficient way?

How many Dex saves does a creature make if it’s affected by 2 separate explosions from the Melf’s Minute Meteors spells?

The description of the Melf’s Minute Meteors spell (EEPC, p. 20; XGtE, p. 161) states:

You create six tiny meteors in your space. They float in the air and orbit you for the spell’s duration. When you cast the spell—and as a bonus action on each of your turns thereafter—you can expend one or two of the meteors, sending them streaking toward a point or points you choose within 120 feet of you. Once a meteor reaches its destination or impacts against a solid surface, the meteor explodes. Each creature within 5 feet of the point where the meteor explodes must make a Dexterity saving throw. A creature takes 2d6 fire damage on a failed save, or half as much damage on a successful one.

How many saves does the creature(s) make if affected by 2 separate meteor explosions?

To better clarify. If a wizard sends 2 meteors towards a creature and causes an explosion on both sides of it, does that creature make 1 or 2 Dex Saves?

I’ve looked on reddit and Sage Advice for an official ruling.

Residential Proxies – Autoraotate every 5th minute – 30M+ IPs pool all over the world.

Hello Friends,
Are you looking for the best anonymous residential rotating backconnect proxy service, check out https://proxyvoxy.com
– More than 30 Million IPs pool
– Superfast residential proxy
– No Bandwidth Limitations
– Very reasonable Pricing
– Proxy Rotates every 5th minute
– IPs available in all the countries
– 99.9% uptime guaranteed
– 3 Days money-back guarantee
– Fast support
P.S. Get flat 50% discount on Special Backconnect proxies if you order above 
2000 Ports. Contact on skype: bmsoftwares to get the discount.

Does Beacon of Hope cast during the last minute of a short rest maximize the healing received from rolling hit dice?

The spell Beacon of Hope lasts for one minute and states:

For the duration, each target … regains the maximum number of hit points possible from any healing.

If a party is taking a short rest, can the party Cleric cast this spell during the last minute of the rest to ensure that the party regains the maximum possible hit points on their hit dice rolls?

If casting the spell interrupts the rest for the Cleric, can they still use Beacon of Hope to maximize the hit dice healing for the rest of the party?

A Monk threw three coloured darts, then spends one minute searching the battlefield, how many darts does the Monk recover?

A Monk PC has three ordinary darts. He’s very creative and painted the darts different colours, the primary colours. One dart is red, one dart is yellow, one dart is blue.

The monk throws the three coloured darts at an opponent. He then spends one minute searching the battlefield, what is the monk able to recover?

Each coloured dart has a different but equal sentimental value to the monk PC.

A crossbowman fires three coloured bolts, then spends one minute searching the battlefield, which bolt(s) does he recover?


At the end of the battle, you can recover half your expended ammunition by taking a minute to search the battlefield. PHB.146

A ranger PC with a crossbow has three ordinary bolts. He’s very creative and painted the bolts different colours, the primary colours. One bolt is red, one bolt is yellow, one bolt is blue.

The ranger fires the three bolts at an opponent. He then spends one minute searching the battlefield, what is the ranger able to recover?

Each coloured bolt has a different but equal sentimental value to the ranger PC.

Can Guidance give a bonus to activity that takes more than 1 minute?

Can the spell Guidance give a 1d4 bonus to an activity that takes more than 1 minute to complete?

For example, a character may have to find its way through a frozen wastelands. The activity may take several hours, and its success depend on a Wisdom(Survival) check.

Can the character cast Guidance to get a +1d4 to the check?

For completeness, the guidance spell has a duration of 1 minute and states:

You touch one willing creature. Once before the spell ends, the target can roll a d4 and add the number rolled to one ability check of its choice. It can roll the die before or after making the ability check. The spell then ends.

Under what circumstances does a phantom steed take a minute to disappear


Phantom Steed
3rd level illusion
Casting Time: 1 minute
Range: 30 feet
Components: V S
Duration: 1 hour
Classes: Wizard
A Large quasi-real, horselike creature appears on the ground in an unoccupied space of your choice within range. You decide the creature’s appearance, but it is equipped with a saddle, bit, and bridle. Any of the equipment created by the spell vanishes in a puff of smoke if it is carried more than 10 feet away from the steed. For the duration, you or a creature you choose can ride the steed. The creature uses the statistics for a riding horse, except it has a speed of 100 feet and can travel 10 miles in an hour, or 13 miles at a fast pace. When the spell ends, the steed gradually fades, giving the rider 1 minute to dismount. The spell ends if you use an action to dismiss it or if the steed takes any damage.

Looking at the wording of this spell, it appears that because “when the spell ends, the steed gradually fades” and “the spell ends if you use an action to dismiss it or if the steed takes any damage,” is it correct to interpret this as meaning that even if a steed is attacked in combat, it is still a fully-functional mount for the next minute?

If so, to what extent does this apply? Would a steed targeted by Dispel Magic or one inside an Antimagic Field also take a minute to fade away as the spell ends? Is there any circumstance in which it would immediately disappear?

What is a good way to keep track of time between encounters with an ability that regenerates at a rate of 1 per minute?

What is a good way to keep track of time between encounters with an ability that regenerates at a rate of 1 per minute?

Force Ward

You constantly surround yourself with a ward of force. You gain a number of temporary hit points equal to your kineticist level. You always lose these temporary hit points first, even before other temporary hit points. If an attack deals less damage than you still have as temporary hit points from force ward, it still reduces those temporary hit points but otherwise counts as a miss for the purpose of abilities that trigger on a hit or a miss. These temporary hit points regenerate at a rate of 1 per minute. …

This gives you a pool of temporary Hit Points that regenerate at the rate of 1 THP per minute. How do would you keep track of THP gained during the session?

Example with multiple encounters, how you keep track of time between random and predetermined encounters to know how much THP you regenerate in between?