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.

Version 2.0 Roadmap

See original GitHub issue

Just thought I’d provide some context on the things I hoping to accomplish for a version 2 of express-brute, which I’d like to get out for beta in June:

Major Changes

  • New storage adapter layer
    • Should allow for atomic updates to storage to resolve #46
    • Ideally should generalize the storage adapter layer so that it can be used by other projects as well (not tied directly to express-brute).
    • This will unfortunately require the existing express-brute storage adapters to be updated or replaced, I’m still on the fence on whether it makes sense to create a small “migration” adapter that allows existing storage adapters to be used (without fixing the vulnerability described in #46 fixed) until suitable replacements/updates can be developed. May be better to protect people from themselves there.
  • Separate out the core code from the code that interacts with express.
    • This enables me to develop a koa version as well (which would be nice because I rarely use express for new projects at this point)
    • This should also let people use the underlying rate-limiting functionality in more customized ways if they need to (#28, #22)

Minor Improvements

  • Optimize hash calculation and allow it to be bypassed/overwritten (#70)
  • Add the option to attach the number of remaining requests to the request object (#73)
  • Look at standardizing the options between the constructor and getMiddleware() (#64, #20)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:7
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

AdamPflugcommented, Jul 3, 2019

@AnandChowdhary I ran into some unexpected delays because of offline stuff, but I’m actively working on this now and targeting a beta release next week.

AdamPflugcommented, Jul 12, 2019

@animir I’ve been considering it, but I have a few reservations:

  1. rate-limiter-flexible doesn’t have a pluggable backend architecture, so it requires updates to the core to add new store options (e.g. amazon dynamodb).
  2. rate-limiter-flexible doesn’t work with sliding timeout windows and requires you to jump through some hoops with multiple gets/sets per request to do exponential backoffs.
  3. I’ve got a bit of a bad taste in my mouth from my previous interactions with you around this project. One the bright side it’s clear you’re dedicated to making your project the best that you can.

I haven’t made a final decision either way yet though (but it does look like work on this may continue out another week).

Read more comments on GitHub >

github_iconTop Results From Across the Web

FEMA COVID-19 Education Resource Roadmap (Version 2.0)
This COVID-19 Education Resource Roadmap (Roadmap) was developed to assist state, local, tribal, and territorial (SLTT) leaders and other ...
Read more >
Alternative Learning System Version 2.0 Strategic Roadmap
With it as a guide for our ALS teachers, implementers, and partners in crafting better programs and learning opportunities for our out-of- school...
Read more >
Roadmap 2.0 - Apps on Google Play
Roadmap 2.0 is a mobile application for delivering a positive psychological intervention program for caregivers and patients undergoing a ...
Read more >
Analyst Professional Development Road Map, Version 2.0
The resource creates a sustainable, professional career path for analysts operating within federal, state, local, tribal, and territorial organizations.
Read more >
Implemented through the acquisition and contracting process. • Requires compliance with CMMC as a condition of contract award.
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 Post

No results found

github_iconTop Related Hashnode Post

No results found