Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add caching for the most used public endpoints #2625

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

mnaichuk
Copy link
Member

No description provided.

@martianatwork
Copy link

Hey, I suggest using model caching for common models like Currency, Market, etc. This way we can update cache when the model is updated.

Ex.
https://github.com/GeneaLabs/laravel-model-caching

@mnaichuk mnaichuk force-pushed the enhancement/cache-public-endpoints branch 3 times, most recently from 380af75 to 97b46f8 Compare June 24, 2020 13:02
@mnaichuk
Copy link
Member Author

Hey, I suggest using model caching for common models like Currency, Market, etc. This way we can update cache when the model is updated.

Ex.
https://github.com/GeneaLabs/laravel-model-caching

I will use model callbacks to wipe the cache after commit.

@mnaichuk mnaichuk force-pushed the enhancement/cache-public-endpoints branch from 97b46f8 to d161f61 Compare June 24, 2020 13:06
@mod mod merged commit 8e491b0 into 2-5-stable Jun 24, 2020
@mod mod deleted the enhancement/cache-public-endpoints branch June 24, 2020 14:09
mod pushed a commit that referenced this pull request Aug 1, 2020
* Add caching for the most used public endpoints (#2625)

* Fix format function in TickersJob

* Remove inqury from TradingFee model

* Feature: expose maker & taker fee for order entity (#2627)

* Add rake task for distribution (#2631)

* Add rake task for distribution

* InfluxDB sharding

* Feature: Add redis cluster support

* Fix influxdb spec for 50008 seed

* Rewrite deposit collection flow (#2636)

* Remove amqp publish and add new deposit state

* Remove amqp deposit workers

* Remove rspec stubs for amqp deposit workers

* Improve deposit daemon

* Remove amqp deposit daemons specs

* fee_process! if transactions present

* Improve deposit collection flow

* Improve error handling

* Update wallet search for the deposit

* Add deposit collection flow documentation

* Add support for multiple influxdb hosts in config

* Improve market states for api

Co-authored-by: Valera Petrusenko <villi1511@gmail.com>
mod pushed a commit that referenced this pull request Aug 1, 2020
* Add caching for the most used public endpoints (#2625)

* Remove inqury from TradingFee model

* Fix /currencies and /markets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants