Best practices for unit testing methods that use cache heavily?
I have a number of business logic methods that store and retrieve (with filtering) objects and lists of objects from cache.
Senior team members want to move query-relevant persistent data from DB to cache. Does this make sense?
I am a young engineer recently employed at a small company that sells products to the general public. We use Ruby On Rails and MySQL. Our database has a lot of customer data, but a great deal more of “static” persistent data. This data is so rarely changed that some of the more senior engineers have begun to talk about moving it to a cache data store. One of the touted benefits of this plan is that it would make deployments easier, since we would no longer have to bootstrap the database; instead, a lot of data would have permanent IDs, and we could just backup the cache and deploy the backup.
When to apply corrections on data gathered from a server
I have an program that collects data from other servers. I don’t have access to these servers so I can’t change anything. The servers can give incorrect data, I can solve the problem but I’m a little bit stuck on “when to do the correction”.
How cache works in ServiceStack web services
I am new to caching and trying to understand how it works in general. Below is code snippet from ServiceStack website.
What are best practices for caching paginated results whose ordering/properties can change?
What is the best practice for caching paginated search results whose ordering/properties can be changed?
Invalidate cache over multiple applications
We have a suite of applications including a website, a client application and multiple windows services. All these applications work on the same dataset and use an in-memory cache. Of course, this setup fails when one of the applications does something that invalidates the cache. I’m looking for a solution that will allow me to invalidate the cache across the applications. We have some ideas, but I’m sure the collective minds of the internet can give us a better solution.
Delivering and caching files in asp.net
The question is – what is an effective way to deliver files to users? Consider an asp.net application which gives an ability to view various files. A kind of image library or web file directory. Key points are:
Running entire frontend of a system on a flatfile cache
I’m in the middle of moving away from PyroCMS to a custom solution built on Laravel. Wont go into the details as to why here, but it is a necessity.
Multiple orders in a single list
I have a problem with a ranking system I am using.
How do I handle 3rd party search result data (via cache)
I have a search function on my site and it is taking data from 6 different 3rd party resources. The problem is, it takes too long requesting the data over and over again on the results page.