开发者

What is the ASP.NET equivalent to memcached in PHP?

Is there an equivalent in ASP.NET to memcached usage in PHP? Is there eve开发者_运维技巧n a way I could use memcached from the VB code behind, or something like it?


That would be Microsoft Velocity which has now been rolled into Windows Server AppFabric Caching It's not supported officially yet, but it's there. It's essentially (from what I can figure the same concept as Memcached. It's written as a native Windows Serivce, and you can use it as a state server for session. As an easy example of how it plugs nicely into Asp.Net

Also check this post for discussions on getting Memcached binding from C#.

aside? You might also want to look at the all new and shiny NoSql stuff, depending on what you're trying to accomplish obviously. I'm currently playing with RavenDb but I'm not talking about running my enterprise on it... yet


Memcached works well with .net too, but equivalent would be Velocity


memcached is a daemon, totally independant from PHP -- must be writtent in C/C++

It can be used from any language -- only condition is you'll need a library to communicate with it (and there are some in lots of languages)

For libraries, you can take a look at this page of memcached's wiki : Clients.


Yes, it's often associated with PHP, but PHP is absolutly not a necessity -- I would say that association is often made for at least those reasons :

  • Same technical background, at least at first : Linux
  • Same philosophy : open source, free
  • Easy inter-connection (existence of libraries that are well-known)
  • Fits well with one of the most important idea of PHP : it's a glue language, that's great for inter-connecting distinct components, that are all great at what they do, and build an application using those.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜