V
V
vily2017-02-16 16:36:06
ASP.NET
vily, 2017-02-16 16:36:06

Which caching mechanism to choose for multiple NET applications working with the same database?

Good afternoon
There is a fairly large table in the database and several NET applications running on the same server (MVC, 4 x Web API, 3 x Windows Service) that can read, insert and modify data in this table. Data can change quite often (new ones are added). I would like to speed up the fetch time from this table (there are indexes), so the idea arose to use the cache.
Which cache option would be preferable? The built-in SqlDependency should solve the problem, but as far as I understand it will be a separate cache for each domain (8 domains in total). Is it possible to use a shared cache for all applications to save server memory?
PS the data in the table does not depend on the user

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Maxim Grekhov, 2017-02-23
@Sterk

Here is the CacheManager library . It can be configured to work with one or another caching service/server.

A
Alexander Alexandrov, 2017-10-14
@Mark54

jsfiddle.net/yu3ver/4rvqk6de

P
Pavel Gogolinsky, 2017-10-14
@gogolinsky

Normal frame.
And with the title text - absolute positioning, lift up, add padding, add a white background.

4
4mobile, 2017-10-14
@4mobile

If the background is homogeneous, make the title the same background and lift it up to the line.
If the background is a picture, here is an example, peakauto.ru/about

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question