473,569 Members | 2,984 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

distributed caching for .NET ?

hi,
is anybody familiar with production-ready distributed/clustered cache
solution for .net ?
Google helped me to found some (like ncache and
scale-out-state-server), but they are over-priced

thanks anyway for your time reading that

Jan 6 '07 #1
7 1600
ask ksa wrote:
hi,
is anybody familiar with production-ready distributed/clustered cache
solution for .net ?
Google helped me to found some (like ncache and
scale-out-state-server), but they are over-priced

thanks anyway for your time reading that
'Distributed' caching is a red-herring: you can't access a remote
object without some sort of remoting/services layer, which makes the
whole process rather 'slow' compared to utilizing caching features in
the RDBMS and re-loading the data: the data transfer protocols for for
example sqlserver are much more optimal than for example remoting or
webservices will ever be.

Add to that that you need security in your cache server, and you have
a 'solution' which isn't really bringing anything to the table.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Jan 7 '07 #2
Thanks for replay
sometimes you just need to save frequently -used some query results in
cache, that's all
in open-source word many solution exists for distributed caching :
memcached, EhCache and many more. they all solve existing problem
and most of scalable application utilize the use of clustered caching
(see the flickr architecture for example )

just wanted to hear about port for .Net
i agree with you that it always be more slow than database
but when you db run on 100% cpu, selective caching can solve the day
with no price

Thanks much
Frans Bouma [C# MVP] wrote:
ask ksa wrote:
hi,
is anybody familiar with production-ready distributed/clustered cache
solution for .net ?
Google helped me to found some (like ncache and
scale-out-state-server), but they are over-priced

thanks anyway for your time reading that

'Distributed' caching is a red-herring: you can't access a remote
object without some sort of remoting/services layer, which makes the
whole process rather 'slow' compared to utilizing caching features in
the RDBMS and re-loading the data: the data transfer protocols for for
example sqlserver are much more optimal than for example remoting or
webservices will ever be.

Add to that that you need security in your cache server, and you have
a 'solution' which isn't really bringing anything to the table.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Jan 7 '07 #3
Frans Bouma [C# MVP] wrote:
ask ksa wrote:
>is anybody familiar with production-ready distributed/clustered cache
solution for .net ?
Google helped me to found some (like ncache and
scale-out-state-server), but they are over-priced

'Distributed' caching is a red-herring: you can't access a remote
object without some sort of remoting/services layer, which makes the
whole process rather 'slow' compared to utilizing caching features in
the RDBMS and re-loading the data: the data transfer protocols for for
example sqlserver are much more optimal than for example remoting or
webservices will ever be.
That argumentation assumes that:
1) the database server is as cost efficient to scale as the web servers
2) the cache product only support what they call "partioned" cache
not what they call "replicated " cache
3) there are no benefits for cache management by doing it in the
application that understands the data instead of in the database
4) there are no benefits from notification

#1 and #2 are not true.

#3 and #4 are not true in most cases.

Arne

Jan 8 '07 #4
"ask ksa" <Sh********@gma il.comwrote
is anybody familiar with production-ready distributed/clustered cache
solution for .net ?
MemCacheD is something I know has been used by some big sites and people
have been happy with. I would imagine it would run on Windows if you setup
CygWin. There's also a Windows port at:
http://jehiah.cz/projects/memcached-win32/

There's a .Net API for it at:
https://sourceforge.net/projects/memcacheddotnet/

--
Chris Mullins, MCSD.NET, MCPD:Enterprise , MVP C#
http://www.coversant.net/blogs/cmullins
Jan 9 '07 #5
That's a great explanation, clears up questions I had a couple years ago
concerning caching data in a singleton remote server.

Ron

"Frans Bouma [C# MVP]" <pe************ ******@xs4all.n lwrote in message
news:xn******** *******@news.mi crosoft.com...
ask ksa wrote:
>hi,
is anybody familiar with production-ready distributed/clustered cache
solution for .net ?
Google helped me to found some (like ncache and
scale-out-state-server), but they are over-priced

thanks anyway for your time reading that

'Distributed' caching is a red-herring: you can't access a remote
object without some sort of remoting/services layer, which makes the
whole process rather 'slow' compared to utilizing caching features in
the RDBMS and re-loading the data: the data transfer protocols for for
example sqlserver are much more optimal than for example remoting or
webservices will ever be.

Add to that that you need security in your cache server, and you have
a 'solution' which isn't really bringing anything to the table.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------

Jan 9 '07 #6
Hello ask,

Read this http://www-128.ibm.com/developerwork...x.html?ca=drs-
and
http://www-128.ibm.com/developerwork...x.html?ca=drs-

This tho patterns (Data Federation and Data Consolidation) are the first
steps and the base of the Distributed Cache.
BTW, these whitepapers will give u some new patterns for the cache http://www.tangosol.com/white-papers.jsp

Also read my post there http://laflour.spaces. live.com/blog/cns!7575E2FFC19 135B4!561.entry
about DataGrid (we discuss this point with Nick Malik - MS Enterprise Architect)

PS: Soon I'll post a UML diagram in my blog describiring the schema of distributed
cache

'akhi,
akis anybody familiar with production-ready distributed/clustered
akcache
aksolution for .net ?
akGoogle helped me to found some (like ncache and
akscale-out-state-server), but they are over-priced
akthanks anyway for your time reading that
ak>
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
Jan 9 '07 #7

Chris Mullins [MVP] wrote:
"ask ksa" <Sh********@gma il.comwrote
is anybody familiar with production-ready distributed/clustered cache
solution for .net ?

MemCacheD is something I know has been used by some big sites and people
have been happy with. I would imagine it would run on Windows if you setup
CygWin. There's also a Windows port at:
http://jehiah.cz/projects/memcached-win32/

There's a .Net API for it at:
https://sourceforge.net/projects/memcacheddotnet/

--
Chris Mullins, MCSD.NET, MCPD:Enterprise , MVP C#
http://www.coversant.net/blogs/cmullins
Thanks for reply, Chris
Memcached is really ready-to-go solution for linux,
the problem is that win32 port is buggy ( and the project home page
warning about not using it for production )
anyway, i gave a try for win32 memcached and fixed some bugs myself ,
but still, sometimes it is just crushes

I'll try CygWin , not familiar with it and i expect some problems (note
from CygWin homepage : "Cygwin is not a way to run native linux apps on
Windows. You have to rebuild your application from source if you want
it to run on Windows." ), but i still cant find good distributed cache
solution for .net

Thanks again
Yevgeniy

Jan 17 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2266
by: Constandinos Mavromoustakis | last post by:
CFP: CLADE 2004-Challenges of Large Applications in Distributed Environments ------------------------------------------------- PhD student - Dept.Informatics at Aristotle University of Thessaloniki URL-> http://agent.csd.auth.gr/~cmavrom -------------------------------------------------- -------------------------CLADE...
3
1978
by: ken.faulkner | last post by:
Does anyone know if a "distributed caching system" has been developed for use with Python? I've seen mention of memcached, but was really after something natively python. Yes, "distributed caching system" is a bit of a general term, but am really just talking about something as simple as key + value (arbitrary class) which can be split over...
1
2997
by: Rhino | last post by:
Is there any way to install the IBM Distributed Debugger V9.2 on Windows XP without first uninstalling DB2? I installed the IBM Distributed Debugger V9.2 on my Windows XP box in the hopes of debugging a Java stored procedure. Well, I never got the debugger to work despite my best efforts - see posts earlier this week - so now I'd like to...
2
3883
by: John Lee | last post by:
Hi, I have few questions related to .NET 2.0 TransactionScope class behavior: 1. Check Transaction.Current.TransactionInformation.DistributedIdentifier to identify if distributed transaction is used - is it accurate way? 2. I have the following code blocks - In code block 1, the first check the DistributedIdentifier is ALL 0s so it
0
1730
by: Troy Simpson | last post by:
Hi, I have a website which is made up of dynamic pages. Each page that's loaded has some code which looks at which template to load amongst other things, which causes the page to take a little while to be processed. At the moment I have programmatic page caching in the "loader" using paramater caching to send a cached version of every...
5
7838
by: Raj | last post by:
What is the purpose of file system caching while creating a tablespace? Memory on the test server gets used up pretty quickly after a user executes a complex query(database is already activated), after some investgation i found out that most of it being consumed by filesystem caching... thanks to Liam and Phil Sherman for their valuable...
0
1347
by: Dilan A | last post by:
Hi, I am doing some research on performance testing a distributed .net application at the Microsoft performance labs. This is a "n" tier application that will be centrally deployed with about 1000 clients connecting over a WAN. I have been trying to gather information on best practices used to deploy .net applications in areas of importance...
4
2972
by: Hermann | last post by:
My site is a bit slow showing the main page so I thought caching query result in PHP will improve performace. Then I read MySQL documentation and saw that MySQL does have a caching feature. So... now I dont know if doing the PHP caching is worth the pain. Would there be any noticed performace improvement if I cache query results in PHP,...
5
2009
by: ask ksa | last post by:
hi, is anybody familiar with production-ready distributed/clustered cache solution for .net ? Google helped me to found some (like ncache and scale-out-state-server), but they are over-priced thanks anyway for your time reading that
2
3350
by: adigunpalmer | last post by:
Synopsis: Need a .Net cache solution in which the cache can be synchronized across multiple hosts on our server farm. My company is investigating caching as a means to improve performance, by reducing the database as a bottleneck. However due to constraints imposed by our integration with business partners, we need a solution that does not...
0
7930
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3662
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.