mike820324 / microProxy

A http/https interceptor written in pure python.
MIT License
17 stars 3 forks source link

[Performance]: Memory footprint of mptui. #207

Closed mike820324 closed 7 years ago

mike820324 commented 7 years ago

Currently, we store all the viewer context in memory, and as a result the memory usage will become bigger when we view more sites.

If we can add a threshold, and when exceed the threshold, the old viewer context will be store in a database or something.

chhsiao90 commented 7 years ago

It's hard to implement! And I'm not sure that this functionality is useful. Could you provide a use case that we must or should have this? I think user could just clear session they don't need. Thanks!

mike820324 commented 7 years ago

Actually, I does not come up with a use case yet. XD It seems pretty reasonable that the user can just clear the unnecessary sessions and keep the session that they interested in.

Thanks to clarify this, I'll close this one.