What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
hi, technical question, are there any plans to implement a cache mechanism in glue?
Comments
-
i would guess no, where would you suggest to add caches?
0 -
was thinking...everywhere
0 -
like a global/general thing
0 -
I don't think you would really want to cache API responses
0 -
but we do, because catalog-search takes 6 seconds
0 -
π€ wasn't that Elasticsearch-based search? that was glue?
0 -
ah, you're right, there's glue endpoint for that. but I wouldn't cache that.
0 -
the point of the API is to serve you the current state
0 -
a lot of events would have to be added around glue and update events to cache the response in a stable way. more work than it's worth to be honest. varnish would work here if you still want to cache it anyway
0 -
well, we just have ~45k products, and 5-6 seconds fetching the first page in catalog search is not acceptable...by far. we'll profile soon to check exactly what's causing it
0 -
i agree
0 -
but that sounds like a lot of other things that might be addressed first
0 -
because 45k is by no means a lot
0 -
what are your clusterβs specs? how is it configured?
0 -
more nodes? different nodes? cpu? memory? more shards?
0 -
is the time really lost during the roundtrip to elasticsearch?
0 -
just by the numbers i see, a fairly modest setup should provide 2 digit ms response times
0 -
maybe + latency
0 -
surely we'll profile
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random