cache for get_question or show_question_details #1
		Reference in New Issue
	
	Block a user
	
	No description provided.
		
		Delete Branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
using https://lib.rs/crates/lru for example
https://rocket.rs/v0.4/guide/state/#managed-state
may be managed-state using Arc + RwLock
or Arc+RwLock for reading and thread task with mpsc::channel for cache writing without lock wait (managed-state <= tx)
or https://github.com/moka-rs/moka
lru cache for get_question or show_question_detailsto cache for get_question or show_question_detailsall ok