github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

victori / smemcached

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 9
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Memcached server written in Scala — Read more

  cancel

http://letsgetdugg.com/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added a default timeout and expanded the read buffer. 
victori (author)
Tue Dec 29 11:13:58 -0800 2009
commit  7d9e98487c25e7cdd0d7d7b12a57c52f9fcbce32
tree    8f30c20d9925f26ed0217132631e39d9c8c85649
parent  1e5623495aacb1825a70aafa6d9e4051c8586bb3
smemcached /
name age
history
message
file LICENSE Wed Jun 24 12:23:48 -0700 2009 initial import [victori]
file README Wed Jun 24 14:18:00 -0700 2009 readme update. [victori]
file build.xml Sun Dec 27 17:49:29 -0800 2009 Updated to the newest libraries. [victori]
file genlibs.rb Wed Jun 24 12:23:48 -0700 2009 initial import [victori]
directory libs/ Mon Dec 28 00:26:30 -0800 2009 Updated memcached statistics Upgraded to scala-... [victori]
directory src/ Tue Dec 29 11:13:58 -0800 2009 Added a default timeout and expanded the read b... [victori]
README
SMemcached
==========

SMemcached is a port of Brad Fitzpatrick's "memcached" distributed memory 
object caching system from C to Scala

SMemcached unlike memcached is optimized for varied cache sizes . Data of 
varied sizes is more efficiently cached which translates to less memory
waste. Scalability and performance is offered by the JVM's garbage collector 
and async IO via NIO.

Features
--------

SMemcached is:

- fast

  It runs on the JVM so it can take advantage of the hard work people have
  put into java performance.
  
- small

  Currently about 800 lines of scala code, including comments, because it relies
  on Apache Mina and Ehcache.

- memory efficient

  Memcached's slab allocator stores data in fixed sized buckets for cpu optimization at the cost 
  of memory. This leads to excessive memory consumption when the data is varied in size. SMemcached 
  avoids this scenario by storing the data efficiently using the JVM's Ehcache/HashMap cache at the 
  cost of some CPU overhead.

SMemcached has:
  
- no limitations

  Since SMemcached stores memory efficiently there is no point in having a 1MB cache store size limit. 
  
- no external runtime dependencies
  
  The JAR that is provided will run on any java 5 JVM as-is. Just deploy and run, all dependencies
  are included in a single JAR file.
  
Use
---

SMemcached requires java 5 and ant 1.7.

Building from source is easy:

    $ ant jar
    
Scala libraries and dependencies are included.

Running SMemcached is also simple:

    $ java -jar target/smemcached.jar -h

Configuration
-------------

- TODO

Victor Igumnov <victori@fabulously40.com>
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server